#include <LArCoudes.h>
|
| | LArCoudes (const std::string &strDetector="") |
| double | XCentCoude (int stackid, int cellid) const |
| double | YCentCoude (int stackid, int cellid) const |
Definition at line 10 of file LArCoudes.h.
◆ LArCoudes()
| LArCoudes::LArCoudes |
( |
const std::string & | strDetector = "" | ) |
|
Definition at line 22 of file LArCoudes.cxx.
23{
24
26}
static const PhysicalVolumeAccessor & theCoudes(const std::string &strDetector="")
◆ theCoudes()
Definition at line 8 of file LArCoudes.cxx.
9{
10 static const PhysicalVolumeAccessor pva = [&]() {
11 const std::string
prefix = strDetector.empty() ?
"" : strDetector+
"::";
12 PhysicalVolumeAccessor pva(prefix+"LAr::EMB::STAC",
13 prefix+"LAr::EMB::Electrode::CornerDownFold");
15 return pva;
16 }();
17
18 return pva;
19}
void SetPhysicalVolumeList(const std::string &)
◆ XCentCoude()
| double LArCoudes::XCentCoude |
( |
int | stackid, |
|
|
int | cellid ) const |
Definition at line 28 of file LArCoudes.cxx.
29{
30 const int id=cellid+stackid*10000;
32 if (!pv) std::abort();
33 const G4ThreeVector& tv=
pv->GetTranslation();
34 return tv.x();
35}
const G4VPhysicalVolume * GetPhysicalVolume(int) const
◆ YCentCoude()
| double LArCoudes::YCentCoude |
( |
int | stackid, |
|
|
int | cellid ) const |
Definition at line 36 of file LArCoudes.cxx.
37{
38 const int id=cellid+stackid*10000;
40 if (!pv) std::abort();
41 const G4ThreeVector& tv=
pv->GetTranslation();
42 return tv.y();
43}
The documentation for this class was generated from the following files: