WCSim
|
Detector geometry information (also containing PMT information arrays) More...
#include <WCSimRootGeom.hh>
Public Member Functions | |
WCSimRootGeom () | |
WCSimRootGeom (const WCSimRootGeom &in) | |
virtual | ~WCSimRootGeom () |
bool | CompareAllVariables (const WCSimRootGeom *c) const |
void | SetWCCylRadius (Double_t f) |
void | SetWCCylLength (Double_t f) |
void | SetGeo_Type (Int_t f) |
void | SetWCNumPMT (Int_t i, bool hybridsecondtype=false) |
void | SetODWCNumPMT (Int_t i) |
void | SetWCPMTRadius (Double_t f, int hybridsecondtype=false) |
void | SetODWCPMTRadius (Double_t f) |
void | SetWCOffset (Double_t x, Double_t y, Double_t z) |
void | SetODPMT (Int_t i, Int_t tubeno, Int_t cyl_loc, Double_t rot[3], Double_t pos[3], bool expand=true) |
void | SetPMT (Int_t i, Int_t tubeno, Int_t mPMTNo, Int_t mPMT_PMTno, Int_t cyl_loc, Double_t rot[3], Double_t pos[3], bool expand=true, bool hybridsecondtype=false) |
void | SetOrientation (Int_t o) |
Float_t | GetWCCylRadius () const |
Float_t | GetWCCylLength () const |
Int_t | GetGeo_Type () const |
Int_t | GetWCNumPMT (bool hybridsecondtype=false) const |
Int_t | GetODWCNumPMT () const |
Float_t | GetWCPMTRadius (bool hybridsecondtype=false) const |
Float_t | GetODWCPMTRadius () const |
Float_t | GetWCOffset (Int_t i) const |
Int_t | GetOrientation () const |
WCSimRootPMT | GetPMT (Int_t i, bool hybridsecondtype=false) |
const WCSimRootPMT * | GetPMTPtr (Int_t i, bool hybridsecondtype=false) const |
TClonesArray * | GetPMTs (bool hybridsecondtype=false) |
WCSimRootPMT | GetODPMT (Int_t i) |
const WCSimRootPMT * | GetODPMTPtr (Int_t i) const |
TClonesArray * | GetODPMTs () |
Private Attributes | |
Float_t | fWCCylRadius |
Radius of WC tank. Units: cm. More... | |
Float_t | fWCCylLength |
Length of WC tank. Units: cm. More... | |
Int_t | fgeo_type |
UNUSED mailbox or cylinder? More... | |
Float_t | fWCPMTRadius |
Radius of ID PMT of the first type. Units: cm. More... | |
Float_t | fWCPMTRadius2 |
Int_t | fWCNumPMT |
Int_t | fWCNumPMT2 |
Float_t | fODWCPMTRadius |
Int_t | fODWCNumPMT |
Float_t | fWCOffset [3] |
Int_t | fOrientation |
UNUSED Orientation of detector, 0 is 2km horizontal, 1 is Upright. More... | |
TClonesArray * | fPMTArray |
Array of ID PMTs of the first type. More... | |
TClonesArray * | fPMTArray2 |
Array of ID PMTs of the second type. More... | |
TClonesArray * | fODPMTArray |
Array of OD PMTs. More... | |
Detector geometry information (also containing PMT information arrays)
PMT information is stored based on the PMT type
See the macro sample-root-scripts/read_number_of_PMTs.C for an example of using this class
Definition at line 73 of file WCSimRootGeom.hh.
WCSimRootGeom::WCSimRootGeom | ( | ) |
WCSimRootGeom::WCSimRootGeom | ( | const WCSimRootGeom & | in | ) |
Definition at line 35 of file WCSimRootGeom.cc.
|
virtual |
Definition at line 64 of file WCSimRootGeom.cc.
bool WCSimRootGeom::CompareAllVariables | ( | const WCSimRootGeom * | c | ) | const |
Definition at line 74 of file WCSimRootGeom.cc.
|
inline |
Definition at line 129 of file WCSimRootGeom.hh.
|
inline |
Definition at line 167 of file WCSimRootGeom.hh.
|
inline |
Definition at line 168 of file WCSimRootGeom.hh.
|
inline |
Definition at line 169 of file WCSimRootGeom.hh.
|
inline |
Definition at line 137 of file WCSimRootGeom.hh.
|
inline |
Definition at line 145 of file WCSimRootGeom.hh.
|
inline |
Definition at line 147 of file WCSimRootGeom.hh.
|
inline |
Definition at line 149 of file WCSimRootGeom.hh.
|
inline |
Definition at line 155 of file WCSimRootGeom.hh.
|
inline |
Definition at line 161 of file WCSimRootGeom.hh.
|
inline |
Definition at line 127 of file WCSimRootGeom.hh.
|
inline |
Definition at line 126 of file WCSimRootGeom.hh.
|
inline |
Definition at line 131 of file WCSimRootGeom.hh.
|
inline |
Definition at line 146 of file WCSimRootGeom.hh.
|
inline |
Definition at line 139 of file WCSimRootGeom.hh.
|
inline |
Definition at line 108 of file WCSimRootGeom.hh.
void WCSimRootGeom::SetODPMT | ( | Int_t | i, |
Int_t | tubeno, | ||
Int_t | cyl_loc, | ||
Double_t | rot[3], | ||
Double_t | pos[3], | ||
bool | expand = true |
||
) |
Definition at line 145 of file WCSimRootGeom.cc.
|
inline |
Definition at line 116 of file WCSimRootGeom.hh.
|
inline |
Definition at line 118 of file WCSimRootGeom.hh.
|
inline |
Definition at line 124 of file WCSimRootGeom.hh.
void WCSimRootGeom::SetPMT | ( | Int_t | i, |
Int_t | tubeno, | ||
Int_t | mPMTNo, | ||
Int_t | mPMT_PMTno, | ||
Int_t | cyl_loc, | ||
Double_t | rot[3], | ||
Double_t | pos[3], | ||
bool | expand = true , |
||
bool | hybridsecondtype = false |
||
) |
Definition at line 156 of file WCSimRootGeom.cc.
|
inline |
Definition at line 106 of file WCSimRootGeom.hh.
|
inline |
Definition at line 105 of file WCSimRootGeom.hh.
|
inline |
Definition at line 110 of file WCSimRootGeom.hh.
|
inline |
Definition at line 119 of file WCSimRootGeom.hh.
|
inline |
Definition at line 117 of file WCSimRootGeom.hh.
|
private |
UNUSED mailbox or cylinder?
Definition at line 80 of file WCSimRootGeom.hh.
|
private |
Array of OD PMTs.
Definition at line 94 of file WCSimRootGeom.hh.
|
private |
Definition at line 87 of file WCSimRootGeom.hh.
|
private |
Definition at line 86 of file WCSimRootGeom.hh.
|
private |
UNUSED Orientation of detector, 0 is 2km horizontal, 1 is Upright.
Definition at line 90 of file WCSimRootGeom.hh.
|
private |
Array of ID PMTs of the first type.
Definition at line 92 of file WCSimRootGeom.hh.
|
private |
Array of ID PMTs of the second type.
Definition at line 93 of file WCSimRootGeom.hh.
|
private |
Length of WC tank. Units: cm.
Definition at line 78 of file WCSimRootGeom.hh.
|
private |
Radius of WC tank. Units: cm.
Definition at line 77 of file WCSimRootGeom.hh.
|
private |
Definition at line 84 of file WCSimRootGeom.hh.
|
private |
Definition at line 85 of file WCSimRootGeom.hh.
|
private |
Definition at line 88 of file WCSimRootGeom.hh.
|
private |
Radius of ID PMT of the first type. Units: cm.
Definition at line 82 of file WCSimRootGeom.hh.
|
private |
Definition at line 83 of file WCSimRootGeom.hh.