32 const std::vector<int>
jFexSRJetRoI_v1::s_FCAL_EtaPosition = {32,34,35,37,38,40,41,43,44,46,47,49};
60 static const unsigned int RESOLUTION = 40;
61 float tmp =
eta()*RESOLUTION;
63 if ( (abs(tmp)-0.5)/2. == std::round((abs(tmp)-0.5)/2.) ) {
64 if ( tmp>0 ) {
index = std::floor(tmp); }
65 else {
index = std::ceil(tmp); }
67 index = std::round(tmp);
69 return std::abs(
index/4);
184 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.
uint8_t fpgaNumber() const
void setResolution(int value)
int menuEta() const
the eta index to use for looking up thresholds in the menu the current jFex fw only supports symmetri...
jFexSRJetRoI_v1()
Default constructor.
uint8_t tobLocalEta() const
static const std::vector< int > s_FCAL_EtaPosition
static const int s_satMask
void setIsTOB(char value)
Set the isTOB variable (TOB or xTOB)
uint32_t tobWord() const
The "raw" 32-bit word describing the object candidate.
void setTobSat(uint8_t value)
uint8_t jFexNumber() const
void setjFexNumber(uint8_t jFexNumber)
void setTobLocalEta(uint8_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_phiBit
unsigned int et() const
Methods that require combining results or applying scales.
int unpackGlobalEta() const
static const int s_satBit
void setfpgaNumber(uint8_t fpgaNumber)
unsigned int unpackSaturationIndex() const
static const std::vector< int > s_FWD_EtaPosition
void setGlobalEta(int value)
void setTobWord(uint32_t tobWord)
Set the "raw" 32-bit words describing the object candidate.
void setTobLocalPhi(uint8_t value)
void setGlobalPhi(uint value)
uint unpackGlobalPhi() const
unsigned int unpackEtTOB() const
TOB ET (decoded from TOB, stored for convenience)
static const int s_etMask
unsigned int unpackEtaIndex() const
Eta coordinates.
static const int s_etaMask
uint8_t tobLocalPhi() const
void setTobEt(uint16_t value)
static const int s_etaBit
static const int s_phiMask
unsigned int unpackPhiIndex() const
Phi coordinates.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.