PMT geometry information.
More...
#include <WCSimRootGeom.hh>
|
| WCSimRootPMT () |
|
| WCSimRootPMT (Int_t tubeNo, Int_t cylLoc, Double_t orientation[3], Double_t position[3]) |
|
| WCSimRootPMT (Int_t tubeNo, Int_t mPMTNo, Int_t mPMT_PMTno, Int_t cylLoc, Double_t orientation[3], Double_t position[3]) |
|
| WCSimRootPMT (const WCSimRootPMT &in) |
|
virtual | ~WCSimRootPMT () |
|
bool | CompareAllVariables (const WCSimRootPMT *c) const |
|
void | SetTubeNo (Int_t i) |
|
void | SetmPMTNo (Int_t i) |
|
void | SetmPMT_PMTNo (Int_t i) |
|
void | SetCylLoc (Int_t i) |
|
void | SetOrientation (Int_t i, Double_t f) |
|
void | SetPosition (Int_t i, Double_t f) |
|
Int_t | GetTubeNo () const |
|
Int_t | GetmPMTNo () const |
|
Int_t | GetmPMT_PMTNo () const |
|
Int_t | GetCylLoc () const |
|
Float_t | GetOrientation (Int_t i=0) const |
|
Float_t | GetPosition (Int_t i=0) const |
|
|
Int_t | fTubeNo |
| PMT tube ID. Unique number across all PMT types (i.e. runs from 0 to NPMTs, where NPMTs = N20" + NOD + N3"inMPMT) More...
|
|
Int_t | fmPMTNo |
| The mPMT number this 3" PMT is in (Equivalent to fTubeID for 20" & OD PMTs) More...
|
|
Int_t | fmPMT_PMTNo |
| The 3" PMT position ID inside this mPMT (runs from 1-19 for 3" PMTs inside mPMTs. Is 0 for 20" & OD PMTs) More...
|
|
Int_t | fCylLoc |
| Distinguishes between PMT position p (top cap = 0, wall = 1, bottom cap = 2) & PMT type t (20" PMT in FD or 3" in mPMT in IWCD = 0, mPMT in FD = 2 / OD = 1). CylLoc = 3 * t + p. More...
|
|
Float_t | fOrientation [3] |
| PMT direction unit vector pointing out of the glass into the detector volume. More...
|
|
Float_t | fPosition [3] |
| PMT position vector. The position is defined as the ??? part of the PMT. Units: cm. More...
|
|
PMT geometry information.
See the macro sample-root-scripts/read_number_of_PMTs.C for an example of using this class
Definition at line 24 of file WCSimRootGeom.hh.
◆ WCSimRootPMT() [1/4]
WCSimRootPMT::WCSimRootPMT |
( |
| ) |
|
◆ WCSimRootPMT() [2/4]
WCSimRootPMT::WCSimRootPMT |
( |
Int_t |
tubeNo, |
|
|
Int_t |
cylLoc, |
|
|
Double_t |
orientation[3], |
|
|
Double_t |
position[3] |
|
) |
| |
◆ WCSimRootPMT() [3/4]
WCSimRootPMT::WCSimRootPMT |
( |
Int_t |
tubeNo, |
|
|
Int_t |
mPMTNo, |
|
|
Int_t |
mPMT_PMTno, |
|
|
Int_t |
cylLoc, |
|
|
Double_t |
orientation[3], |
|
|
Double_t |
position[3] |
|
) |
| |
◆ WCSimRootPMT() [4/4]
◆ ~WCSimRootPMT()
WCSimRootPMT::~WCSimRootPMT |
( |
| ) |
|
|
virtual |
◆ CompareAllVariables()
bool WCSimRootPMT::CompareAllVariables |
( |
const WCSimRootPMT * |
c | ) |
const |
◆ GetCylLoc()
Int_t WCSimRootPMT::GetCylLoc |
( |
| ) |
const |
|
inline |
◆ GetmPMT_PMTNo()
Int_t WCSimRootPMT::GetmPMT_PMTNo |
( |
| ) |
const |
|
inline |
◆ GetmPMTNo()
Int_t WCSimRootPMT::GetmPMTNo |
( |
| ) |
const |
|
inline |
◆ GetOrientation()
Float_t WCSimRootPMT::GetOrientation |
( |
Int_t |
i = 0 | ) |
const |
|
inline |
◆ GetPosition()
Float_t WCSimRootPMT::GetPosition |
( |
Int_t |
i = 0 | ) |
const |
|
inline |
◆ GetTubeNo()
Int_t WCSimRootPMT::GetTubeNo |
( |
| ) |
const |
|
inline |
◆ SetCylLoc()
void WCSimRootPMT::SetCylLoc |
( |
Int_t |
i | ) |
|
|
inline |
◆ SetmPMT_PMTNo()
void WCSimRootPMT::SetmPMT_PMTNo |
( |
Int_t |
i | ) |
|
|
inline |
◆ SetmPMTNo()
void WCSimRootPMT::SetmPMTNo |
( |
Int_t |
i | ) |
|
|
inline |
◆ SetOrientation()
void WCSimRootPMT::SetOrientation |
( |
Int_t |
i, |
|
|
Double_t |
f |
|
) |
| |
|
inline |
◆ SetPosition()
void WCSimRootPMT::SetPosition |
( |
Int_t |
i, |
|
|
Double_t |
f |
|
) |
| |
|
inline |
◆ SetTubeNo()
void WCSimRootPMT::SetTubeNo |
( |
Int_t |
i | ) |
|
|
inline |
◆ fCylLoc
Int_t WCSimRootPMT::fCylLoc |
|
private |
Distinguishes between PMT position p (top cap = 0, wall = 1, bottom cap = 2) & PMT type t (20" PMT in FD or 3" in mPMT in IWCD = 0, mPMT in FD = 2 / OD = 1). CylLoc = 3 * t + p.
Definition at line 30 of file WCSimRootGeom.hh.
◆ fmPMT_PMTNo
Int_t WCSimRootPMT::fmPMT_PMTNo |
|
private |
The 3" PMT position ID inside this mPMT (runs from 1-19 for 3" PMTs inside mPMTs. Is 0 for 20" & OD PMTs)
Definition at line 29 of file WCSimRootGeom.hh.
◆ fmPMTNo
Int_t WCSimRootPMT::fmPMTNo |
|
private |
The mPMT number this 3" PMT is in (Equivalent to fTubeID for 20" & OD PMTs)
Definition at line 28 of file WCSimRootGeom.hh.
◆ fOrientation
Float_t WCSimRootPMT::fOrientation[3] |
|
private |
PMT direction unit vector pointing out of the glass into the detector volume.
Definition at line 31 of file WCSimRootGeom.hh.
◆ fPosition
Float_t WCSimRootPMT::fPosition[3] |
|
private |
PMT position vector. The position is defined as the ??? part of the PMT. Units: cm.
Definition at line 32 of file WCSimRootGeom.hh.
◆ fTubeNo
Int_t WCSimRootPMT::fTubeNo |
|
private |
PMT tube ID. Unique number across all PMT types (i.e. runs from 0 to NPMTs, where NPMTs = N20" + NOD + N3"inMPMT)
Definition at line 27 of file WCSimRootGeom.hh.
The documentation for this class was generated from the following files: