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