64 return ( ( roiWord0() >> 16 ) & 0xff );
69 return ( (
roiWord1() >> 16 ) & 0xff );
74 return ( (
roiWord2() >> 16 ) & 0xff );
87 return ( (
roiWord0() >> 15 ) & 0x1 );
92 return ( (
roiWord1() >> 15 ) & 0x1 );
97 return ( (
roiWord2() >> 15 ) & 0x1 );
120 names( *this ).clear();
126 return names( *
this );
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
SG::Accessor< T, ALLOC > Accessor
AuxElement()
Default constructor.
Class describing a LVL1 energy-sum "RoI".
void clearThresholds()
Remove all the passed thresholds.
bool overflowT() const
The overflow flag for the ET calculation.
bool overflowY() const
The overflow flag for the EY calculation.
void setEnergyY(float value)
Set the total energy deposited in the Y direction.
float energyX() const
The total energy deposited in the X direction.
void setEnergyT(float value)
Set the deposited total transverse energy.
void setRoIWord1(uint32_t value)
Set the second "raw" RoI word describing the energy-sum RoI.
void setEnergyX(float value)
Set the total energy deposited in the X direction.
void setRoIWord0(uint32_t value)
Set the first "raw" RoI word describing the energy-sum RoI.
uint32_t roiWord2() const
The third RoI word produced by the L1Calo hardware.
void setRoIWord2(uint32_t value)
Set the third "raw" RoI word describing the energy-sum RoI.
void initialize(uint32_t roiword0, uint32_t roiword1, uint32_t roiword2, float energyX, float energyY, float energyT)
Initialise the object with its most important properties.
float energyY() const
The total energy deposited in the Y direction.
uint32_t roiWord1() const
The second RoI word produced by the L1Calo hardware.
float energyT() const
The deposited total transverse energy.
uint32_t thrPatMET() const
The bit-pattern describing the passed missing-ET thresholds.
const std::vector< std::string > & thrNames() const
The names of the thresholds passed.
void addThreshold(const std::string &name)
Add a new threshold that was passed.
bool overflowX() const
The overflow flag for the EX calculation.
uint32_t roiWord0() const
The first RoI word produced by the L1Calo hardware.
uint32_t thrPatMETSig() const
The bit-pattern describing the passed missing-ET significance thresholds.
EnergySumRoI_v1()
Default constructor.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
static const SG::AuxElement::Accessor< std::vector< std::string > > names("thrNames")
Accessor for the names of the passed thresholds.
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1