12#ifndef ClusterProcessorModuleKey_H
13#define ClusterProcessorModuleKey_H
52 unsigned int cpmKey(
unsigned int crate,
unsigned int module);
Used to pass data between the methods of the Key Classes: Returns the Eta and Phi bins,...
double dPhi(const Coordinate &coord) const
height
ClusterProcessorModuleKey()
constructs a ClusterProcessorModuleKey object
virtual ~ClusterProcessorModuleKey()
BinAndCoord * calculateTriggerBin(ICoordinate *iCoord)
converts integer phi, eta coordinates to phi, eta trigger bins, and central coords
unsigned int cpm(const Coordinate &coord) const
returns CPM number within a crate for a TriggerTower or RoI coordinate
void setBins(ICoordinate *iCoord, unsigned int &phiBin, int &etaBin)
sets the eta and phi bins
bool m_debugModuleKey
set to true to turn debugging info on
unsigned int phiQuadrant(const double phi) const
returns the quadrant number associated with the phi coordinate, 0 - 90 = 0 90 - 180 = 1 180-270 = 2 2...
unsigned int cpmKey(unsigned int crate, unsigned int module)
calculates key from crate and module index
double dEta(const Coordinate &coord) const
width
Coordinate class declaration.
Used by Key Classes, returns and integer coorginate for the bin Eta-Phi.
virtual double phi() const
returns phi coordinate of centre of relevant trigger tower.
Coordinate coord() const
return central coords of current key value.
KeyUtilities()
the constructor is protected so a user can never make a KeyUtilities object
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...