Skip to content

Commit f55fd4e

Browse files
committed
Revert unrelated formatting changes
This restores the original formatting of the FT0, FDD and TOF code that the PR does not change functionally. - Only the TrackReference blocks, the new members and their Reset() lines remain.
1 parent 121cb79 commit f55fd4e

4 files changed

Lines changed: 114 additions & 114 deletions

File tree

‎Detectors/FIT/FDD/simulation/src/Detector.cxx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Bool_t Detector::ProcessHits(FairVolume* vol)
145145
// FDA 3 = 12-15
146146

147147
Float_t fFDDLightYield(12.8e6);
148-
// BC420 yield is 0.64 of antracene which is 20k photons/MeV = 12800/MeV = 12.8e6/GeV
148+
//BC420 yield is 0.64 of antracene which is 20k photons/MeV = 12800/MeV = 12.8e6/GeV
149149

150150
Float_t destep_ad = fMC->Edep();
151151
Int_t nPhotonsInStep_ad = Int_t(fFDDLightYield * destep_ad);
@@ -171,7 +171,7 @@ Bool_t Detector::ProcessHits(FairVolume* vol)
171171
if (fMC->IsTrackExiting() || fMC->IsTrackStop() || fMC->IsTrackDisappeared()) {
172172
Int_t trackID = fMC->GetStack()->GetCurrentTrackNumber();
173173

174-
Float_t time = fMC->TrackTime() * 1.0e9; // time from seconds to ns
174+
Float_t time = fMC->TrackTime() * 1.0e9; //time from seconds to ns
175175

176176
addHit(trackID, ADsector, vPos, time, eloss_ad, nPhotons_ad);
177177
return kTRUE;
@@ -183,7 +183,7 @@ Bool_t Detector::ProcessHits(FairVolume* vol)
183183
//_____________________________________________________________________________
184184
Hit* Detector::addHit(int trackID, unsigned short detID, const TVector3& Pos, double Time, double eLoss, int nPhot)
185185
{
186-
// LOG(info) << "FDD hit "<<trackID<<" "<<detID<<" "<<Time<<" "<<eLoss<<" "<<nPhot;
186+
//LOG(info) << "FDD hit "<<trackID<<" "<<detID<<" "<<Time<<" "<<eLoss<<" "<<nPhot;
187187
mHits->emplace_back(trackID, detID, Pos, Time, eLoss, nPhot);
188188
auto stack = (o2::data::Stack*)fMC->GetStack();
189189
stack->addHit(GetDetId());

‎Detectors/FIT/FT0/simulation/include/FT0Simulation/Detector.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ class Detector : public o2::base::DetImpl<Detector>
149149
std::vector<Double_t> mRindexFrontWindow;
150150

151151
// Define the aluminium frame for the detector
152-
TGeoVolume* constructFrameAGeometry(); // A-side
153-
TGeoVolume* constructFrameCGeometry(); // C-side
152+
TGeoVolume* constructFrameAGeometry(); //A-side
153+
TGeoVolume* constructFrameCGeometry(); //C-side
154154
std::string cPlateShapeString();
155155

156156
// BEGIN: Support structure constants

0 commit comments

Comments
 (0)