HighLAND
|
Define the TPC specific identifiers. More...
Functions | |
bool | IsTPC (TGeometryId id) |
Check to see if the id is for a TPC. | |
TGeometryId | Module (int mod) |
int | GetModule (TGeometryId id) |
TGeometryId | TPC1 () |
The geometry identifier for TPC1. | |
TGeometryId | TPC2 () |
The geometry identifier for TPC2. | |
TGeometryId | TPC3 () |
The geometry identifier for TPC3. | |
TGeometryId | MicroMega (int tpc, int half, int mm) |
bool | IsMicroMega (TGeometryId id) |
Check if a TGeometryId is a MicroMega. More... | |
TGeometryId | Pad (int tpc, int half, int mm, int pad) |
bool | IsPad (TGeometryId id) |
Check if a TGeometryId is a PAD. More... | |
bool | IsTPC1 (TGeometryId id) |
Check to see if the id is for a TPCn. | |
bool | IsTPC2 (TGeometryId id) |
bool | IsTPC3 (TGeometryId id) |
int | GetMicroMegaTPC (TGeometryId id) |
int | GetMicroMegaHalf (TGeometryId id) |
int | GetMicroMegaNumber (TGeometryId id) |
int | GetPadTPC (TGeometryId id) |
int | GetPadHalf (TGeometryId id) |
int | GetPadMicroMega (TGeometryId id) |
int | GetPadNumber (TGeometryId id) |
Define the TPC specific identifiers.
int ND::GeomId::TPC::GetMicroMegaTPC | ( | TGeometryId | id | ) |
Get the micromega TPC, half, or number. This returns -1 if the id is invalid.
Definition at line 481 of file ND280GeomId.cxx.
int ND::GeomId::TPC::GetModule | ( | TGeometryId | id | ) |
Get the TPC module number (0 to 2). This returns -1 if the id is invalid.
Definition at line 355 of file ND280GeomId.cxx.
int ND::GeomId::TPC::GetPadTPC | ( | TGeometryId | id | ) |
Get the pad TPC, half, micro-mega or number. This returns -1 if the id is invalid.
Definition at line 485 of file ND280GeomId.cxx.
bool ND::GeomId::TPC::IsMicroMega | ( | ND::TGeometryId | i | ) |
Check if a TGeometryId is a MicroMega.
This may be a pad.
Definition at line 424 of file ND280GeomId.cxx.
bool ND::GeomId::TPC::IsPad | ( | ND::TGeometryId | i | ) |
Check if a TGeometryId is a PAD.
This may be a pad.
Definition at line 543 of file ND280GeomId.cxx.
ND::TGeometryId ND::GeomId::TPC::MicroMega | ( | int | tpc, |
int | half, | ||
int | mm | ||
) |
The geometry identifier for the micromegas. The TPCs are numbered 0 to 2 from upstream to downstream. The half is 0 for -x, and 1 for +x. The micromegas run from 0 to 15;
Definition at line 386 of file ND280GeomId.cxx.
ND::TGeometryId ND::GeomId::TPC::Module | ( | int | mod | ) |
The geometry identifier for the TPC modules. This count starts from zero and runs from upstream to downstream.
Definition at line 334 of file ND280GeomId.cxx.
ND::TGeometryId ND::GeomId::TPC::Pad | ( | int | tpc, |
int | half, | ||
int | mm, | ||
int | pad | ||
) |
The geometry identifier for the micromega pads. The TPCs are numbered 0 to 2 from upstream to downstream. The half is 0 for -x, and 1 for +x. The micromegas run from 0 to 15; The pad runs from 0 to 1727.
Definition at line 439 of file ND280GeomId.cxx.