![]() |
Project
|
#include <Geometry.h>
Public Member Functions | |
Geometry ()=default | |
Default constructor. | |
Geometry (const Geometry &geom) | |
~Geometry ()=default | |
Geometry & | operator= (const Geometry &rvalue) |
ClassDefNV (Geometry, 1) | |
Static Public Member Functions | |
static short | areNeighbours (unsigned short absId1, unsigned short absId2) |
static unsigned short | relToAbsId (short moduleNumber, short iphi, short iz) |
static bool | absToRelNumbering (unsigned short absId, short *relId) |
static short | absIdToModule (unsigned short absId) |
static void | absIdToRelPosInModule (unsigned short absId, float &x, float &z) |
static bool | relToAbsNumbering (const short *relId, unsigned short &absId) |
static bool | hwaddressToAbsId (short ccId, short dil, short gas, short pad, unsigned short &absId) |
static bool | absIdToHWaddress (unsigned short absId, short &ccId, short &dil, short &gas, short &pad) |
static unsigned short | getTotalNPads () |
static bool | IsPadExists (unsigned short absId) |
Static Public Attributes | |
static constexpr short | kNumberOfCPVPadsPhi = 128 |
static constexpr short | kNumberOfCPVPadsZ = 60 |
static constexpr short | kNCHANNELS = kNumberOfCPVPadsPhi * kNumberOfCPVPadsZ * 3 |
static constexpr float | kCPVPadSizePhi = 1.13 |
static constexpr float | kCPVPadSizeZ = 2.1093 |
static constexpr short | kNPAD = 48 |
static constexpr short | kNDilogic = 4 |
static constexpr short | kNGas = 5 |
static constexpr short | kNRow = 16 |
static constexpr short | kNMod = 4 |
static constexpr short | mPadMap [6][8] |
static constexpr short | mPadToZ [48] = {1, 1, 2, 0, 3, 4, 2, 5, 1, 5, 2, 5, 3, 4, 3, 4, 2, 5, 1, 0, 1, 2, 0, 4, 1, 3, 0, 2, 1, 0, 0, 0, 3, 4, 3, 4, 2, 4, 3, 5, 2, 5, 1, 5, 0, 4, 3, 5} |
static constexpr short | mPadToPhi [48] = {2, 1, 2, 0, 2, 2, 1, 2, 0, 1, 0, 0, 1, 1, 0, 0, 5, 3, 6, 6, 5, 4, 5, 3, 4, 3, 4, 3, 3, 3, 2, 1, 7, 7, 6, 6, 7, 5, 5, 7, 6, 6, 7, 5, 7, 4, 4, 4} |
Definition at line 25 of file Geometry.h.
|
default |
Default constructor.
Available numbering schems: relative pad coordinates relId[3]={Module, phi col, z row} where Module=2..4, phi col=0..127, z row=0..59 Absolute pad coordunate absId=0..128*60*3-1=23039 Raw addresses: each module consist of 16 columns of width 8 pads: row=0..15 Each column consists of 10 dilogics (in z direction) dilogic=0...9 Ecah dilogic contains 8*6 pads: hwaddress=0...48
o2::cpv::Geometry::Geometry | ( | const Geometry & | geom | ) |
Copy constructor.
|
default |
Destructor.
|
static |
Definition at line 137 of file Geometry.cxx.
Definition at line 43 of file Geometry.cxx.
Definition at line 89 of file Geometry.cxx.
Definition at line 25 of file Geometry.cxx.
\breif Checks if two channels have common side
absId1 | absId of first channel, order important! |
absId2 | absId of secont channel, order important! |
Definition at line 49 of file Geometry.cxx.
o2::cpv::Geometry::ClassDefNV | ( | Geometry | , |
1 | |||
) |
|
inlinestatic |
Definition at line 94 of file Geometry.h.
|
static |
Definition at line 109 of file Geometry.cxx.
|
inlinestatic |
Definition at line 95 of file Geometry.h.
moduleNumber | module number |
strip | strip number |
Definition at line 19 of file Geometry.cxx.
Definition at line 99 of file Geometry.cxx.
|
staticconstexpr |
Definition at line 31 of file Geometry.h.
|
staticconstexpr |
Definition at line 32 of file Geometry.h.
|
staticconstexpr |
Definition at line 30 of file Geometry.h.
|
staticconstexpr |
Definition at line 35 of file Geometry.h.
|
staticconstexpr |
Definition at line 36 of file Geometry.h.
|
staticconstexpr |
Definition at line 38 of file Geometry.h.
|
staticconstexpr |
Definition at line 34 of file Geometry.h.
|
staticconstexpr |
Definition at line 37 of file Geometry.h.
|
staticconstexpr |
Definition at line 28 of file Geometry.h.
|
staticconstexpr |
Definition at line 29 of file Geometry.h.
|
staticconstexpr |
Definition at line 102 of file Geometry.h.
|
staticconstexpr |
Definition at line 109 of file Geometry.h.
|
staticconstexpr |
Definition at line 108 of file Geometry.h.