34 const std::vector<int>
jFexLRJetRoI_v1::s_FCAL_EtaPosition = {32,34,35,37,38,40,41,43,44,46,47,49};
61 static const unsigned int RESOLUTION = 40;
62 float tmp =
eta()*RESOLUTION;
64 if ( (abs(tmp)-0.5)/2. == std::round((abs(tmp)-0.5)/2.) ) {
65 if ( tmp>0 ) {
index = std::floor(tmp); }
66 else {
index = std::ceil(tmp); }
68 index = std::round(tmp);
160 const unsigned int quadrant = ::getQuadrant(
fpgaNumber());
Scalar eta() const
pseudorapidity method
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
uint16_t tobEt(const T *tob)
AuxElement()
Default constructor.
Class describing properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
void setTobLocalEta(uint8_t value)
static const int s_etaMask
unsigned int et() const
Methods that require combining results or applying scales.
void setIsTOB(char value)
Set the isTOB variable (TOB or xTOB)
static const int s_phiBit
void setfpgaNumber(uint8_t fpgaNumber)
void setGlobalPhi(uint value)
void setTobWord(uint32_t tobWord)
Set the "raw" 32-bit words describing the object candidate.
uint8_t fpgaNumber() const
static const int s_satBit
unsigned int unpackPhiIndex() const
Phi coordinates.
int unpackGlobalEta() const
static const std::vector< int > s_FWD_EtaPosition
void setResolution(int value)
void setTobEt(uint16_t value)
void initialize(uint8_t jFexNumber, uint8_t fpgaNumber, uint32_t tobWord, char istob, int resolution, float_t eta, float_t phi)
In future initialze the EDM.
static const int s_phiMask
void setTobSat(uint8_t value)
jFexLRJetRoI_v1()
Default constructor.
int menuEta() const
the eta index to use for looking up thresholds in the menu
unsigned int unpackEtTOB() const
TOB ET (decoded from TOB, stored for convenience)
uint unpackGlobalPhi() const
uint8_t tobLocalPhi() const
unsigned int unpackSaturationIndex() const
void setGlobalEta(int value)
static const int s_etMask
uint8_t jFexNumber() const
static const std::vector< int > s_FCAL_EtaPosition
void setjFexNumber(uint8_t jFexNumber)
uint8_t tobLocalEta() const
void setTobLocalPhi(uint8_t value)
static const int s_satMask
static const int s_etaBit
unsigned int unpackEtaIndex() const
Eta coordinates.
uint32_t tobWord() const
The "raw" 32-bit word describing the object candidate.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.