|
HighLAND
|
Define the FGD specific geometry identifiers. More...
Functions | |
| bool | IsFGD (TGeometryId id) |
| Check if this is an FGD id. | |
| TGeometryId | FGD (int mod) |
| int | GetFGD (TGeometryId id) |
| Get the FGD number. This returns -1 if the id is invalid. | |
| TGeometryId | FGD1 () |
| The geometry identifier for FGD1. | |
| TGeometryId | FGD2 () |
| The geometry identifier for FGD2. FGD2 has the water targets. | |
| TGeometryId | Target (int i) |
| The geometry identifier for the targets. | |
| int | GetTarget (TGeometryId id) |
| TGeometryId | Layer (int fgd, int module, int layer) |
| int | GetLayerFGD (TGeometryId id) |
| int | GetLayerModule (TGeometryId id) |
| int | GetLayerNumber (TGeometryId id) |
| TGeometryId | Bar (int fgd, int module, int layer, int bar) |
| int | GetBarFGD (TGeometryId id) |
| int | GetBarModule (TGeometryId id) |
| int | GetBarLayer (TGeometryId id) |
| int | GetBarNumber (TGeometryId id) |
| bool | IsFGD1 (TGeometryId id) |
| bool | IsFGD2 (TGeometryId id) |
Define the FGD specific geometry identifiers.
| ND::TGeometryId ND::GeomId::FGD::Bar | ( | int | fgd, |
| int | module, | ||
| int | layer, | ||
| int | bar | ||
| ) |
The geometry identifiers for FGD scintillators. The FGD indicates which FGD the bar is in (0: FGD1, 1: FGD2). The module gives the glued plane of X and Y bars in the FGD. The layer (x or y) indicates which orientation the bars have (0: X, 1: Y). The bar is the number of bar in the layer.
Definition at line 615 of file ND280GeomId.cxx.
| ND::TGeometryId ND::GeomId::FGD::FGD | ( | int | mod | ) |
The geometry identifier for the FGD modules. This count starts from zero and runs from upstream to downstream. 0 is the upstream FGD (FGD1). 1 is the downstream FGD (FGD2 – The water target FGD).
Definition at line 568 of file ND280GeomId.cxx.
| int ND::GeomId::FGD::GetBarFGD | ( | TGeometryId | id | ) |
{@ Get the number of the fgd, module, layer, or bar for a geometry id for a bar. This returns -1 if the id is invalid.
Definition at line 645 of file ND280GeomId.cxx.
| int ND::GeomId::FGD::GetLayerFGD | ( | TGeometryId | id | ) |
{@ Get the number of the fgd, module or layer from a geometry id for a layer. This returns -1 if the id is invalid.
Definition at line 754 of file ND280GeomId.cxx.
| int ND::GeomId::FGD::GetTarget | ( | TGeometryId | id | ) |
Get the FGD target number. This returns -1 if the id is invalid.
Definition at line 710 of file ND280GeomId.cxx.
| bool ND::GeomId::FGD::IsFGD1 | ( | TGeometryId | id | ) |
Check if the id is for FGDn. This returns -1 if the id is invalid.
Definition at line 607 of file ND280GeomId.cxx.
| ND::TGeometryId ND::GeomId::FGD::Layer | ( | int | fgd, |
| int | module, | ||
| int | layer | ||
| ) |
A layer within the FGD. The fgd is either 0 or 1. The module is the glued plane of X and Y scintillator bars. The layer is 0 (x) or 1 (y).
Definition at line 725 of file ND280GeomId.cxx.
1.8.13