29 using std::numbers::pi;
43 float phiVal =
iPhi() *
pi/32. +
pi/64.;
44 if (phiVal >
pi) phiVal = phiVal - 2.*
pi;
58 using std::numbers::pi;
69 float phiVal =
iPhi() *
pi/32. +
pi/64.;
70 if (phiVal >
pi) phiVal = phiVal - 2.*
pi;
Scalar eta() const
pseudorapidity method
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
AuxElement()
Default constructor.
Class describing a LVL1 eFEX tau region of interest.
static const int s_fpgaBit
Constants used in decoding TOB words For TOB word format changes these can be replaced by arrays in t...
unsigned int tobVersion() const
Data decoded from the TOB/RoI word and eFEX number.
static const int s_etaBit
void setWord0(uint32_t value)
Set the "raw" 32-bit words describing the e/gamma candidate.
static const int s_veto2Bit
static const int s_veto2Mask
int iPhi() const
Setter for the above.
uint32_t word0() const
The "raw" 32-bit words describing the e/gamma candidate.
static const int s_bdtScoreBit
static const int s_veto1Bit
ObjectType type() const
Object type (TOB or xTOB)
int iPhiTopo() const
Return phi index in the range used by L1Topo (0->127)
unsigned int shelfNumber() const
static const int s_etBitXTOB
unsigned int eFexNumber() const
eFEX number
static const int s_versionBit
static const int s_etaMask
static const int s_phiBit
static const int s_seedBit
static const int s_seedMask
static const int s_shelfMask
unsigned int bdtThresholds() const
Alternative Tau Condition 1 (BDT) results.
unsigned int rHadThresholds() const
Tau Condition 2 (Had/EM) results.
static const int s_shelfBit
unsigned int bdtScore() const
BDT Score (xTOB only)
static const int s_maxMask
uint16_t rHadNumerator() const
@ Heuristic
This object is generated by the heuristic algorithm.
static const int s_eFexPhiOffset
static const int s_veto3Bit
static const int s_minEta
static const float s_tobEtScale
Constants used in converting to ATLAS units.
eFexTauRoI_v1()
Default constructor.
int iEta() const
setter for the above
unsigned int fpgaEta() const
eta index within FPGA
static const int s_numPhi
unsigned int tauOneThresholds() const
Tau Condition 1 (generic) results.
uint16_t rCoreDenominator() const
static const int s_fpgaEtaWidth
unsigned int seed() const
getter for integer eta index (-25->24)
@ xTOB
This object is an xTOB (2*32 bit words)
@ TOB
This object is a TOB (1*32 bit word)
static const float s_towerEtaWidth
static const int s_etMask
static const float s_xTobEtScale
static const int s_eFexPhiWidth
static const int s_veto1Mask
float rCore() const
Jet Discriminants Derived floating point values (not used in actual algorithm)
uint16_t rCoreNumerator() const
Actual values used in algorithm (setters and getters)
static const int s_updownBit
unsigned int bcn4() const
Last 4 bits of BCN (xTOB only)
void setEta(float value)
Floating point, full precision (0.025)
uint32_t tobWord() const
Return TOB word corresponding to this TOB or xTOB.
unsigned int etTOB() const
Cluster ET (TOB ET scale, 100 MeV/count)
bool seedMax() const
Seed = max flag. Is this really useful?
static const int s_eFexEtaWidth
static const int s_bdtScoreMask
void setWord1(uint32_t value)
unsigned int tauThreeThresholds() const
Tau Condition 3 (unused) results.
static const int s_phiMask
void initialize(unsigned int eFexNumber, unsigned int shelf, uint32_t word0)
Initialise the object with its most important properties.
unsigned int etXTOB() const
Cluster ET (xTOB ET scale, 25 MeV/count)
static const int s_bcn4Mask
static const int s_shelfPhiWidth
unsigned int fpgaPhi() const
phi index within FPGA
static const int s_fpgaMask
static const int s_maxBit
int iEtaTopo() const
Getter for integer phi index (0-63)
static const int s_eFexBit
static const int s_veto3Mask
unsigned int fpga() const
FPGA number.
uint16_t rHadDenominator() const
static const int s_versionMask
float computeEta() const
Compute TOB eta.
static const int s_bcn4Bit
void setIsTOB(char value)
unsigned int tauTwoThresholds() const
Tau Condition 2 (generic) results.
void setPhi(float value)
Floating point, ATLAS phi convention (-pi -> pi)
void setEt(float value)
floating point value (MeV, TOB scale)
static const int s_eFexMask
static const int s_updownMask
bool upNotDown() const
Cluster up/down flag (1 = up, 0 = down)
unsigned int rCoreThresholds() const
Tau Condition 1 (rCore) results.
static const int s_etFullMask
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setWord1 setRCoreDenominator rHadDenominator
setWord1 rCoreDenominator
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1