HighLAND
|
Define the P0D specific geometry identifiers. More...
Functions | |
TGeometryId | Detector () |
Define a geometry identifier to the entire P0D detector. | |
bool | IsP0D (TGeometryId id) |
Check if the id is for the P0D. | |
TGeometryId | SuperP0Dule (int sP0Dule) |
int | GetSuperP0Dule (TGeometryId id) |
TGeometryId | P0Dule (int p0dule) |
int | GetP0Dule (TGeometryId id) |
TGeometryId | Target (int target) |
int | GetTarget (TGeometryId id) |
TGeometryId | ECalRadiator (int radiator) |
int | GetECalRadiator (TGeometryId id) |
TGeometryId | TargetRadiator (int radiator) |
int | GetTargetRadiator (TGeometryId id) |
TGeometryId | Bar (int p0dule, int layer, int bar) |
int | GetBarP0Dule (TGeometryId id) |
int | GetBarLayer (TGeometryId id) |
int | GetBarNumber (TGeometryId id) |
Define the P0D specific geometry identifiers.
ND::TGeometryId ND::GeomId::P0D::Bar | ( | int | p0dule, |
int | layer, | ||
int | bar | ||
) |
The geometry identifiers for p0d scintillators. The P0Dules are numbered from 0 to 39 with 0 as the most upstream. The layer is 0 (X), or 1 (Y), and the bar is from 0 to 125 (X) or 133 (Y). Bar 0 has the most negative coordinate.
Definition at line 262 of file ND280GeomId.cxx.
ND::TGeometryId ND::GeomId::P0D::ECalRadiator | ( | int | radiator | ) |
The geometry identifiers for the P0D lead radiators. The lead radiators are numbered from 0 to 13 from the upstream end of the P0D.
Definition at line 198 of file ND280GeomId.cxx.
int ND::GeomId::P0D::GetBarLayer | ( | TGeometryId | id | ) |
Get the P0D Bar Layer number from an id. If the provided geometry id is not for a P0D bar, then this returns -1. The P0Dule layers are numbered 0 (x) and 1 (y).
Definition at line 299 of file ND280GeomId.cxx.
int ND::GeomId::P0D::GetBarNumber | ( | TGeometryId | id | ) |
Get the P0D Bar Number from an id. If the provided geometry id is not for a P0D bar, then this returns -1. The Bars are numbered between 0 and 126 (or 134). Bar Number zero hs the tip of the triangle facing upstream. You can use
to determine which way a bar is facing.
Definition at line 311 of file ND280GeomId.cxx.
int ND::GeomId::P0D::GetBarP0Dule | ( | TGeometryId | id | ) |
Get the P0Dule number for an id. If the provided geometry is not for a P0D bar, then this returns -1. The P0Dule numbering runs from 0 to 39.
Definition at line 287 of file ND280GeomId.cxx.
int ND::GeomId::P0D::GetECalRadiator | ( | TGeometryId | id | ) |
If this is an ECal radiator, return it's number, otherwise return -1.
Definition at line 215 of file ND280GeomId.cxx.
int ND::GeomId::P0D::GetP0Dule | ( | TGeometryId | id | ) |
If this is a P0Dule id, return the P0Dule number, otherwise return -1.
Definition at line 151 of file ND280GeomId.cxx.
int ND::GeomId::P0D::GetSuperP0Dule | ( | TGeometryId | id | ) |
If this is a super-P0Dule id, return the super-P0Dule number, otherwise return -1.
Definition at line 118 of file ND280GeomId.cxx.
int ND::GeomId::P0D::GetTarget | ( | TGeometryId | id | ) |
If this is a water target, return it's number, otherwise return -1.
Definition at line 183 of file ND280GeomId.cxx.
int ND::GeomId::P0D::GetTargetRadiator | ( | TGeometryId | id | ) |
If this is a target radiator, return it's number, otherwise return -1.
Definition at line 247 of file ND280GeomId.cxx.
ND::TGeometryId ND::GeomId::P0D::P0Dule | ( | int | p0dule | ) |
The geometry identifiers for the P0D scintillator modules. The P0Dules are number 0 to 39 from the upstream end of the P0D.
Definition at line 134 of file ND280GeomId.cxx.
ND::TGeometryId ND::GeomId::P0D::SuperP0Dule | ( | int | sP0Dule | ) |
The geometry identifiers for the P0D super-P0Dules. The super-P0Dules are number 0 to 3 from the upstream end of the P0D.
Definition at line 101 of file ND280GeomId.cxx.
ND::TGeometryId ND::GeomId::P0D::Target | ( | int | target | ) |
The geometry identifiers for the P0D water targets. The targets are numbered from 0 to 24 from the upstream end of the P0D.
Definition at line 166 of file ND280GeomId.cxx.
ND::TGeometryId ND::GeomId::P0D::TargetRadiator | ( | int | radiator | ) |
The geometry identifiers for the P0D brass radiators. The brass radiators are numbered from 0 to 24 from the upstream end of the P0D.
Definition at line 230 of file ND280GeomId.cxx.