Skip to content

Commit

Permalink
Please consider the following formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild committed Oct 14, 2024
1 parent 0e41796 commit a76b371
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Detectors/Upgrades/ALICE3/FVD/simulation/src/Detector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Detector::Detector(bool active)
auto& baseParam = FVDBaseParam::Instance();
mNumberOfSectors = baseParam.nsect;

mDzScint = baseParam.dzscint/2;
mDzScint = baseParam.dzscint / 2;

mRingRadiiA = baseParam.ringsA;
mRingRadiiC = baseParam.ringsC;
Expand Down Expand Up @@ -120,7 +120,7 @@ bool Detector::ProcessHits(FairVolume* vol)

auto stack = (o2::data::Stack*)fMC->GetStack();

//int cellId = vol->getVolumeId();
// int cellId = vol->getVolumeId();

// Check track status to define when hit is started and when it is stopped
bool startHit = false, stopHit = false;
Expand Down Expand Up @@ -278,8 +278,8 @@ void Detector::buildModules()
TGeoVolumeAssembly* vFVDA = buildModuleA();
TGeoVolumeAssembly* vFVDC = buildModuleC();

vCave->AddNode(vFVDA, 1, new TGeoTranslation(0., 0., mZmodA/* - mDzScint/2.*/));
vCave->AddNode(vFVDC, 1, new TGeoTranslation(0., 0., mZmodC/* + mDzScint/2.*/));
vCave->AddNode(vFVDA, 1, new TGeoTranslation(0., 0., mZmodA /* - mDzScint/2.*/));
vCave->AddNode(vFVDC, 1, new TGeoTranslation(0., 0., mZmodC /* + mDzScint/2.*/));
}

TGeoVolumeAssembly* Detector::buildModuleA()
Expand Down Expand Up @@ -355,7 +355,6 @@ void Detector::defineSensitiveVolumes()
LOG(info) << "Adding FVD Sensitive Volume => " << v->GetName();
AddSensitiveVolume(v);
}

}

int Detector::getChannelId(TVector3 vec)
Expand Down

0 comments on commit a76b371

Please sign in to comment.