#include <Geom.h>
Public Types | |
enum | GeomPeriod_t { Undef, Year2003, Spring2004, Automn2004 } |
enum | SMGeom_t { kSModulesInEcal = 36, kModules = 4, kTriggerTowers = 68, kTTandMems = 70, kTowersInPhi = 4, kTowersInEta = 17, kCrystals = 1700, kCrystalsWithMems = 1750, kCrystalsM1 = 500, kCrystalsM2 = 400, kCrystalsM3 = 400, kCrystalsM4 = 400, kCrystalsInPhi = 20, kCrystalsInEta = 85, kCrystalsInEtaM1 = 25, kCrystalsInEtaM2 = 20, kCrystalsInEtaM3 = 20, kCrystalsInEtaM4 = 20, kCrystalsPerTower = 25, kCardsPerTower = 5, kChannelsPerCard = 5, kSamplesInEvent = 10, kSamplesInPNEvent = 50, kPNs = 10 } |
Public Member Functions | |
void | getCrystalCoord (int &eta, int &phi, int smCrystal) const |
GeomPeriod_t | GetGeomPeriod () const |
int | getHalf (int TT) |
int | getLeft (int smCrystal) const |
int | getLower (int smCrystal) const |
int | getRight (int smCrystal) const |
int | getSMCrystalFromCoord (int eta, int phi) const |
int | getSMCrystalNumber (int tower, int crystal) const |
int | getSMCrystalNumber (int tower, int strip_id, int crystal_id) const |
void | getTower (int *tower, int towerNb, std::string order="geom") const |
void | getTowerCrystalNumber (int &tower, int &crystal, int smCrystal) const |
int | getTowerCrystalNumber (int smTowerNb, int crystalNbGeom) const |
void | getTowerStripChannelNumber (int &tower, int &strip_id, int &crystal_id, int sm_num) const |
int | getUpper (int smCrystal) const |
void | getVFE (int *VFE, int smCrystal, std::string order="geom") const |
void | getWindow (int *window, int smCrystal, int width, int height) const |
H4Geom () | |
bool | init () |
bool | isInFirstHalf (int numberInSM) |
bool | leftTower (int tower) const |
void | mvDown (int &eta, int &phi) const |
void | mvLeft (int &eta, int &phi) const |
void | mvRight (int &eta, int &phi) const |
void | mvUp (int &eta, int &phi) const |
bool | rightTower (int tower) const |
virtual | ~H4Geom () |
Static Public Member Functions | |
static void | SetGeomPeriod (GeomPeriod_t geometry) |
Private Member Functions | |
bool | IsGeomPeriodDefined () const |
Static Private Attributes | |
static const int | crystalChannelMap [5][5] |
static const int | crystalMap [25] |
static GeomPeriod_t | geometry_ |
static const int | WhichHalf [69] |
enum H4Geom::GeomPeriod_t |
enum H4Geom::SMGeom_t |
Definition at line 25 of file Geom.h.
H4Geom::H4Geom | ( | ) |
|
virtual |
void H4Geom::getCrystalCoord | ( | int & | eta, |
int & | phi, | ||
int | smCrystal | ||
) | const |
Referenced by isInFirstHalf().
|
inline |
Definition at line 175 of file Geom.h.
References geometry_, getHalf(), IsGeomPeriodDefined(), and SetGeomPeriod().
int H4Geom::getHalf | ( | int | TT | ) |
Referenced by GetGeomPeriod().
int H4Geom::getLeft | ( | int | smCrystal | ) | const |
int H4Geom::getLower | ( | int | smCrystal | ) | const |
int H4Geom::getRight | ( | int | smCrystal | ) | const |
int H4Geom::getSMCrystalFromCoord | ( | int | eta, |
int | phi | ||
) | const |
int H4Geom::getSMCrystalNumber | ( | int | tower, |
int | crystal | ||
) | const |
int H4Geom::getSMCrystalNumber | ( | int | tower, |
int | strip_id, | ||
int | crystal_id | ||
) | const |
void H4Geom::getTower | ( | int * | tower, |
int | towerNb, | ||
std::string | order = "geom" |
||
) | const |
void H4Geom::getTowerCrystalNumber | ( | int & | tower, |
int & | crystal, | ||
int | smCrystal | ||
) | const |
int H4Geom::getTowerCrystalNumber | ( | int | smTowerNb, |
int | crystalNbGeom | ||
) | const |
void H4Geom::getTowerStripChannelNumber | ( | int & | tower, |
int & | strip_id, | ||
int & | crystal_id, | ||
int | sm_num | ||
) | const |
int H4Geom::getUpper | ( | int | smCrystal | ) | const |
void H4Geom::getVFE | ( | int * | VFE, |
int | smCrystal, | ||
std::string | order = "geom" |
||
) | const |
void H4Geom::getWindow | ( | int * | window, |
int | smCrystal, | ||
int | width, | ||
int | height | ||
) | const |
bool H4Geom::init | ( | ) |
|
private |
Referenced by GetGeomPeriod().
|
inline |
Definition at line 164 of file Geom.h.
References PVValHelper::eta, getCrystalCoord(), and phi.
bool H4Geom::leftTower | ( | int | tower | ) | const |
void H4Geom::mvDown | ( | int & | eta, |
int & | phi | ||
) | const |
void H4Geom::mvLeft | ( | int & | eta, |
int & | phi | ||
) | const |
void H4Geom::mvRight | ( | int & | eta, |
int & | phi | ||
) | const |
void H4Geom::mvUp | ( | int & | eta, |
int & | phi | ||
) | const |
bool H4Geom::rightTower | ( | int | tower | ) | const |
|
static |
Referenced by GetGeomPeriod().
|
staticprivate |
Definition at line 186 of file Geom.h.
Referenced by GetGeomPeriod().