24 const std::vector<int>
jFexFwdElRoI_v1::s_FCAL_EtaPosition = {32,34,35,37,38,40,41,43,44,46,47,49};
58 static const unsigned int RESOLUTION = 40;
59 float tmp =
eta()*RESOLUTION;
61 if ( (abs(tmp)-0.5)/2. == std::round((abs(tmp)-0.5)/2.) ) {
62 if ( tmp>0 ) {
index = std::floor(tmp); }
63 else {
index = std::ceil(tmp); }
65 index = std::round(tmp);
206 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 setGlobalPhi(uint value)
static const int s_etMask
unsigned int getEtEM() const
void setGlobalEta(int value)
void setResolution(int value)
void setTobEt(uint16_t value)
void setjFexNumber(uint8_t jFexNumber)
unsigned int getEtHad1() const
static const int s_satMask
uint32_t tobWord() const
The "raw" 32-bit word describing the object candidate, 27 bit-word used at hardware level.
static const int s_emf2Mask
unsigned int unpackEtaIndex() const
Eta coordinates.
static const int s_satBit
void setTobLocalPhi(uint8_t value)
static const int s_emf1Bit
static const int s_isoMask
int globalEta() const
Calculated from Tob.
uint8_t tobLocalPhi() const
void setTobLocalEta(uint8_t value)
static const std::vector< int > s_FCAL_EtaPosition
void setEtHad2(uint16_t value)
unsigned int unpackEMf2TOB() const
static const std::vector< int > s_FWD_EtaPosition
void setEtEMiso(uint16_t value)
void setEtHad1(uint16_t value)
void setIsTOB(char value)
Set the isTOB variable (TOB or xTOB)
unsigned int et() const
Methods that require combining results or applying scales.
unsigned int getEtEMiso() const
jFexFwdElRoI_v1()
Default constructor.
unsigned int unpackPhiIndex() const
Phi coordinates.
static const int s_isoBit
int menuEta() const
the eta index to use for looking up thresholds in the menu
unsigned int unpackEMIsoTOB() const
TOB Isolation bits (decoded from TOB, stored for convenience)
void setTobEMIso(uint8_t value)
uint getGlobalPhi() const
void setfpgaNumber(uint8_t fpgaNumber)
static const int s_etaBit
unsigned int unpackEMf1TOB() const
TOB EM fraction bits (decoded from TOB, stored for convenience)
unsigned int getEtHad2() const
static const int s_phiMask
void setTobEMf1(uint8_t value)
void setTobSat(uint8_t value)
uint16_t tobEt() const
Decoded from Tob (for convenience)
unsigned int unpackEtTOB() const
TOB ET (decoded from TOB, stored for convenience)
static const int s_emf2Bit
void setEtEM(uint16_t value)
unsigned int unpackSaturationIndex() const
uint8_t fpgaNumber() const
static const int s_phiBit
void initialize(uint8_t jFexNumber, uint8_t fpgaNumber, uint32_t tobWord, char istob, int resolution, float_t eta, float_t phi)
initialze the EDM
static const int s_emf1Mask
int getGlobalEta() const
could add iso, emf1 and emf2 calculated from EtEMiso, EtEM, ETHad1 and EtHad2
void setTobWord(uint32_t tobWord)
Set the "raw" words describing the object candidate, need 27/32 bits.
static const int s_etaMask
void setTobEMf2(uint8_t value)
uint8_t tobLocalEta() const
uint8_t jFexNumber() const
Additional info (initialization)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.