Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions Detectors/Upgrades/ALICE3/FD/simulation/src/Detector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Detector::Detector(bool active)
mDzScint = baseParam.dzscint / 2;
mDzPlate = baseParam.dzplate;

mPlateBehindA= baseParam.plateBehindA;
mPlateBehindA = baseParam.plateBehindA;
mFullContainer = baseParam.fullContainer;

mZA = baseParam.zmodA;
Expand Down Expand Up @@ -288,7 +288,6 @@ void Detector::createMaterials()
o2::base::Detector::Material(++matId, "Aluminium", aAlu, zAlu, dAlu, 8.9, 999);
o2::base::Detector::Medium(Aluminium, "Aluminium", matId, unsens, fieldType, maxField,
tmaxfd, stemax, deemax, epsil, stmin);

}

void Detector::buildModules()
Expand Down Expand Up @@ -343,11 +342,11 @@ TGeoVolumeAssembly* Detector::buildModuleA()
auto pnod1 = new TGeoVolume("pnod1_FDA", pvol, pmed);
double dpz = 2. + mDzPlate / 2;
mod->AddNode(pnod1, 1, new TGeoTranslation(0, 0, dpz));

if (mFullContainer) {
auto pnod2 = new TGeoVolume("pnod2_FDA", pvol, pmed);
mod->AddNode(pnod2, 1, new TGeoTranslation(0, 0, -dpz));
}
}
}
return mod;
}
Expand Down Expand Up @@ -389,7 +388,7 @@ TGeoVolumeAssembly* Detector::buildModuleC()
double dpz = mDzScint / 2 + mDzPlate / 2;

mod->AddNode(pnod1, 1, new TGeoTranslation(0, 0, dpz));
mod->AddNode(pnod2, 1, new TGeoTranslation(0, 0, - dpz));
mod->AddNode(pnod2, 1, new TGeoTranslation(0, 0, -dpz));
}

return mod;
Expand Down