|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef JetElementKeyBase_H
15 #define JetElementKeyBase_H
48 class JetElementKeyBase :
public KeyUtilities {
68 virtual unsigned int jeKey(
const double phi,
const double eta);
102 double dPhi(
const double phi,
const double eta)
const ;
108 double dEta(
const double phi,
const double eta)
const ;
110 double dEta()
const ;
virtual double phi() const
returns phi coordinate of centre of relevant trigger tower.
bool isFCAL(double eta) const
returns TRUE if this coordinate is in the FCAL
Coordinate lowerRight(const double phi, const double eta)
bool m_debugKeyBase
set to true to turn debugging info on
virtual unsigned int jeKey(const xAOD::TriggerTower &tower)
returns key of passed tower
unsigned int region(double eta) const
returns region number at eta, where region is:
Description of JetElement_v2.
Coordinate upperRight(const double phi, const double eta)
void analCoordChecking(const Coordinate &coord)
this is a bit over the top, but it looks to see if the calculated coordinate matches a coordinate cen...
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Used by Key Classes, returns and integer coorginate for the bin Eta-Phi.
unsigned int upPhiKey(const double phi, const double eta)
returns key of next JE in +ve phi dir.
Coordinate downPhi(const double phi, const double eta)
returns coord of next JE in -ve phi dir.
virtual double eta() const
returns the centre of the TT at eta_coord:
Coordinate upPhi(const double phi, const double eta)
returns coord of next JE in +ve phi dir.
std::vector< double > m_regionWidth
holds width of JEs in regions:
Coordinate coord() const
return central coords of current key value.
Coordinate class declaration.
void setupJetRegionData()
Does same as setupRegionData, except in FCAL where uses phi granularity appropriate for the jet trigg...
Description of TriggerTower_v2.
Used to pass data between the methods of the Key Classes: Returns the Eta and Phi bins,...
Coordinate lowerLeft(const double phi, const double eta)
std::vector< double > m_regionHeight
holds height of JEs in regions:
double dPhi() const
return height of JE
virtual ~JetElementKeyBase()
std::vector< double > m_regionEtaCentre
holds central coords of JEs in regions: Region Eta 0 <2.2 1 2.2-2.4 2 2.4-2.7 3 2....
BinAndCoord * calculateTriggerBin(ICoordinate *iCoord)
converts integer phi, eta coordinates to phi, eta trigger bins.
Coordinate leftEta(const double phi, const double eta)
returns key of JE in -ve eta dir.
JetElementKeyBase()
constructs a JetElementKeyBase object
unsigned int downPhiKey(const double phi, const double eta)
returns key of next JE in -ve phi dir.
Coordinate getCentre(const double phi, const double eta)
returns the central coordinate of the JE which contains the passed coord
Coordinate rightEta(const double phi, const double eta)
Functions for finding coordinates of neighbouring JEs.
double dEta() const
return width of JE
Coordinate upperLeft(const double phi, const double eta)
unsigned int leftEtaKey(const double phi, const double eta)
returns key of JE in +ve eta dir.
JERegion jeRegion(const Coordinate &coord) const
unsigned int rightEtaKey(const double phi, const double eta)
returns key of JE in -ve eta dir.
void setupRegionData()
get region data from TrigT1CaloDefs and put in more useful format - vectors