20 const std::string
prefix = strDetector.empty() ?
"" : strDetector+
"::";
22 prefix+
"LAr::EMB::ThinAbs::CornerDownFold");
28 for (
int stackid=0; stackid<15; stackid++) {
29 for (
int cellid=0; cellid<1024; cellid++) {
31 const int id=cellid+stackid*10000;
35 const G4ThreeVector& tv=
pv->GetTranslation();
36 m_xcent[cellid][stackid] = tv.x();
37 m_ycent[cellid][stackid] = tv.y();
40 const G4RotationMatrix *rm=
pv->GetRotation();
43 else alpha = rm->phiX();
44 if (
pv->GetName().find(
"DownFold") != std::string::npos) alpha=alpha-3.14159;