12#ifndef JETENERGYMODULEKEY_H
13#define JETENERGYMODULEKEY_H
52 unsigned int jemKey(
unsigned int crate,
unsigned int module);
54 std::vector<unsigned int>
jeKeys(
unsigned int crate,
unsigned int module);
56 std::vector<Coordinate>
jeCoords(
unsigned int crate,
unsigned int module);
Scalar phi() const
phi method
Used to pass data between the methods of the Key Classes: Returns the Eta and Phi bins,...
Coordinate class declaration.
Used by Key Classes, returns and integer coorginate for the bin Eta-Phi.
unsigned int col(const Coordinate &coord)
return row of passed coordinate
BinAndCoord * calculateTriggerBin(ICoordinate *iCoord)
converts integer phi, eta coordinates to phi, eta trigger bins, and central coords
double dPhi(const Coordinate &coord) const
height
virtual ~JetEnergyModuleKey()
void setBins(ICoordinate *iCoord, unsigned int &phiBin, int &etaBin)
sets the eta and phi bins
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...
std::vector< unsigned int > jeKeys(unsigned int crate, unsigned int module)
calculates keys of all JetElements in given crate and module
unsigned int jemKey(const xAOD::JetElement *jetElement)
returns the key of the passed Coordinate
unsigned int midJEMEtaCol(const Coordinate &coord) const
No descriptions.
unsigned int jem(const Coordinate &coord) const
returns ID of JEP module (i.e.
unsigned int leftEndJEMEtaCol(const Coordinate &coord) const
returns eta row of JEMs 0, or 8
JetEnergyModuleKey()
constructs a JetEnergyModuleKey object
std::vector< Coordinate > jeCoords(unsigned int crate, unsigned int module)
returns coordinates of all JetElements in given crate and module
bool m_debugModuleKey
set to true to turn debugging info on
unsigned int row(const Coordinate &coord) const
returns the phi row of a coord within the JEM that contains it.
double rowPhiCoord(unsigned int row, const Coordinate &jemCoord)
returns the phi coord of the row of the JEM at the coordinates passed
unsigned int rightEndJEMEtaCol(const Coordinate &coord) const
returns eta row of JEMs 7 or 15
double dEta(const Coordinate &coord) const
width
JEMRegion region(const Coordinate &coord) const
region
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...
JetElement_v2 JetElement
Define the latest version of the JetElement class.