#include <LArCoudeAbsorbers.h>
Definition at line 10 of file LArCoudeAbsorbers.h.
◆ LArCoudeAbsorbers()
LArCoudeAbsorbers::LArCoudeAbsorbers |
( |
const std::string & |
strDetector = "" | ) |
|
|
private |
Definition at line 16 of file LArCoudeAbsorbers.cxx.
20 const std::string
prefix = strDetector.empty() ?
"" : strDetector+
"::";
22 prefix+
"LAr::EMB::ThinAbs::CornerDownFold");
24 pva.SetPhysicalVolumeList(
prefix+
"LAr::EMB::ThinAbs::CornerUpFold");
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;
◆ GetInstance()
◆ PhiRot()
double LArCoudeAbsorbers::PhiRot |
( |
int |
stackid, |
|
|
int |
cellid |
|
) |
| const |
|
inline |
◆ XCentCoude()
double LArCoudeAbsorbers::XCentCoude |
( |
int |
stackid, |
|
|
int |
cellid |
|
) |
| const |
|
inline |
◆ YCentCoude()
double LArCoudeAbsorbers::YCentCoude |
( |
int |
stackid, |
|
|
int |
cellid |
|
) |
| const |
|
inline |
◆ m_phirot
double LArCoudeAbsorbers::m_phirot[1024][15] {} |
|
private |
◆ m_xcent
double LArCoudeAbsorbers::m_xcent[1024][15] {} |
|
private |
◆ m_ycent
double LArCoudeAbsorbers::m_ycent[1024][15] {} |
|
private |
The documentation for this class was generated from the following files: