19 const std::string
prefix = strDetector.empty() ?
"" : strDetector+
"::";
21 prefix+
"LAr::EMB::Electrode::CornerDownFold");
26 for (
int stackid=0; stackid<15; stackid++) {
27 for (
int cellid=0; cellid<1024; cellid++) {
28 const int id=cellid+stackid*10000;
31 const G4ThreeVector& tv=
pv->GetTranslation();
32 m_xcent[cellid][stackid] = tv.x();
33 m_ycent[cellid][stackid] = tv.y();
36 const G4RotationMatrix *rm=
pv->GetRotation();
39 else alpha = rm->phiX();
41 if (
pv->GetName().find(
"DownFold") != std::string::npos)
alpha=
alpha-3.14159;