#include <LArCoudeAbsorbers.h>
|
| double | XCentCoude (int stackid, int cellid) const |
| double | YCentCoude (int stackid, int cellid) const |
| double | PhiRot (int stackid, int cellid) const |
Definition at line 10 of file LArCoudeAbsorbers.h.
◆ LArCoudeAbsorbers()
| LArCoudeAbsorbers::LArCoudeAbsorbers |
( |
const std::string & | strDetector = "" | ) |
|
|
private |
Definition at line 16 of file LArCoudeAbsorbers.cxx.
17{
18
19 static const PhysicalVolumeAccessor theCoudes = [&]() {
20 const std::string
prefix = strDetector.empty() ?
"" : strDetector+
"::";
21 PhysicalVolumeAccessor pva(prefix+"LAr::EMB::STAC",
22 prefix+"LAr::EMB::ThinAbs::CornerDownFold");
23
24 pva.SetPhysicalVolumeList(prefix+"LAr::EMB::ThinAbs::CornerUpFold");
25 return pva;
26 }();
27
28 for (int stackid=0; stackid<15; stackid++) {
29 for (int cellid=0; cellid<1024; cellid++) {
30
31 const int id=cellid+stackid*10000;
33 if (pv) {
34
35 const G4ThreeVector& tv=
pv->GetTranslation();
36 m_xcent[cellid][stackid] = tv.x();
37 m_ycent[cellid][stackid] = tv.y();
38
39
40 const G4RotationMatrix *rm=
pv->GetRotation();
43 else alpha = rm->phiX();
44 if (
pv->GetName().find(
"DownFold") != std::string::npos)
alpha=
alpha-3.14159;
45
47 }
48 }
49 }
50}
double m_phirot[1024][15]
const G4VPhysicalVolume * GetPhysicalVolume(int) const
◆ GetInstance()
| const LArCoudeAbsorbers * LArCoudeAbsorbers::GetInstance |
( |
const std::string & | strDetector = "" | ) |
|
|
static |
Definition at line 9 of file LArCoudeAbsorbers.cxx.
10{
13}
LArCoudeAbsorbers(const std::string &strDetector="")
◆ 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: