|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef XAODMISSINGET_VERSIONS_MISSINGET_V1_H
8 #define XAODMISSINGET_VERSIONS_MISSINGET_V1_H
59 const std::string&
name()
const;
MissingET_v1 & operator+=(const IParticle *particle)
Add particle kinematics to MET.
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
void setSumet(float value)
Set .
float & f_sumet()
Returns reference to store.
Helper class to provide type-safe access to aux data.
bool operator!=(const MissingET_v1 &met) const
Inequality test.
CxxUtils::CachedValue< std::size_t > m_nameHash
Stores the hash for the current f_name string.
float sumet() const
Returns.
const std::string & f_nameConst() const
Returns const reference to the MET object name store.
Base class for elements of a container that can have aux data.
void setMpy(float value)
Set the component.
float phi() const
Returns .
~MissingET_v1()
Implementation class destructor.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setRcore setEtHad setFside pt
uint64_t bitmask_t
Type for status word bit mask.
static const SG::AuxElement::Accessor< float > m_acc_mpy
Class providing the definition of the 4-vector interface.
void setSource(MissingETBase::Types::bitmask_t src)
Set the source of the MET object.
MissingET_v1(bool createStore=false)
Default constructor.
void setName(const std::string &name)
Set the name of the MET object.
bool operator==(const MissingET_v1 &met) const
Equality test.
MissingET_v1 & operator+=(const MissingET_v1 &met)
Add another MET object.
void createPrivateStore()
Function initialising the object to work in standalone mode.
void updateHash()
Update the hash to match the current name.
static Types::bitmask_t unknown()
MissingET_v1 & operator-=(const MissingET_v1 &met)
Subtract another MET object.
Principal data object for Missing ET.
float mpx() const
Returns .
static const SG::AuxElement::Accessor< float > m_acc_sumet
std::string & f_name()
Returns reference to MET object name store.
std::size_t nameHash() const
Return hash associated to the MET object name.
xAOD::MissingET_v1 operator-(const xAOD::MissingET_v1 &met0, const xAOD::MissingET_v1 &met1)
Create new MET object from difference between two MissingET_v1 objects.
const std::string & name() const
Identifier getters.
void setMpx(float value)
Set the component.
void add(const IParticle *particle)
Add particle kinematics to MET.
MissingET_v1 & operator-=(const IParticle *part)
Remove particle kinematics to MET.
xAOD::MissingET_v1 operator/(const xAOD::MissingET_v1 &met, float scale)
Create new MET object from source with scaled kinematics.
Cached value with atomic update.
xAOD::MissingET_v1 operator+(const xAOD::MissingET_v1 &met0, const xAOD::MissingET_v1 &met1)
Create new MET object from sum of two MissingET_v1 objects.
static const SG::AuxElement::Accessor< float > m_acc_mpx
MissingETBase::Types::bitmask_t source() const
MET object source tag.
MissingET_v1 & operator/=(float scale)
Dividing by a scale factor.
MissingET_v1 & operator=(const MissingET_v1 &met)
Add particle kinematics to MET.
MissingET_v1 & operator*=(float scale)
Applying a scale factor.
xAOD::MissingET_v1 operator*(const xAOD::MissingET_v1 &met, float scale)
Create new MET object from source with scaled (weighted) kinematics.
MissingETBase::Types::bitmask_t & f_source()
Returns reference to MET object source store.
float mpy() const
Returns .
void clear()
Clear/reset the data store.
float & f_mpy()
Returns reference to store.
float & f_mpx()
Returns reference to store.
float met() const
Returns .
Base class for elements of a container that can have aux data.