ATLAS Offline Software
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
xAOD::MissingETAssociation_v1 Class Reference

MET association descriptor contains object links and corresponding parameters. More...

#include <MissingETAssociation_v1.h>

Inheritance diagram for xAOD::MissingETAssociation_v1:
Collaboration diagram for xAOD::MissingETAssociation_v1:

Classes

class  ConstVec
 Vector sum of constituents for subtractive overlap removal. More...
 

Public Types

using TypelessConstAccessor = ConstAuxElement::TypelessConstAccessor
 
template<class T , class ALLOC = AuxAllocator_t<T>>
using ConstAccessor = SG::ConstAccessor< T, ALLOC >
 
template<class T , class ALLOC = AuxAllocator_t<T>>
using Accessor = SG::Accessor< T, ALLOC >
 
template<class T , class ALLOC = AuxAllocator_t<T>>
using Decorator = SG::Decorator< T, ALLOC >
 

Public Member Functions

 MissingETAssociation_v1 (bool createStore=false)
 Default constructor. More...
 
 MissingETAssociation_v1 (const Jet *pjet, bool isMisc=false)
 Construct with a link to a Jet object. More...
 
 MissingETAssociation_v1 (const MissingETAssociation_v1 &assocDescr)
 Copy constructor. More...
 
MissingETAssociation_v1operator= (const MissingETAssociation_v1 &assocDescr)
 
virtual ~MissingETAssociation_v1 ()
 Assignment operator. More...
 
size_t findCalIndex (MissingETBase::Types::bitmask_t mask) const
 
size_t findTrkIndex (MissingETBase::Types::bitmask_t mask) const
 
const SG::AuxVectorDatacontainer () const
 Return the container holding this element. More...
 
SG::AuxVectorDatacontainer ()
 Return the container holding this element. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type auxdata (const std::string &name)
 Fetch an aux data variable, as a non-const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type auxdata (const std::string &name, const std::string &clsname)
 Fetch an aux data variable, as a non-const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type auxdata (const std::string &name) const
 Fetch an aux data variable, as a const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type auxdata (const std::string &name, const std::string &clsname) const
 Fetch an aux data variable, as a const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type auxdataConst (const std::string &name) const
 Fetch an aux data variable, as a const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type auxdataConst (const std::string &name, const std::string &clsname) const
 Fetch an aux data variable, as a const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool isAvailable (const std::string &name, const std::string &clsname="") const
 Check if an aux variable is available for reading. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool isAvailableWritable (const std::string &name, const std::string &clsname="")
 Check if an aux variable is available for writing. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool isAvailableWritableAsDecoration (const std::string &name, const std::string &clsname="") const
 Check if an aux variable is available for writing as a decoration. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type auxdecor (const std::string &name) const
 Fetch an aux decoration, as a non-const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type auxdecor (const std::string &name, const std::string &clsname) const
 Fetch an aux decoration, as a non-const reference. More...
 
void makePrivateStore ()
 Create a new (empty) private store for this object. More...
 
template<class U1 >
void makePrivateStore (const U1 &other)
 Create a new private store for this object and copy aux data. More...
 
template<class U1 >
void makePrivateStore (const U1 *other)
 Create a new private store for this object and copy aux data. More...
 
void releasePrivateStore ()
 Release and free any private store associated with this object. More...
 
void setStore (const SG::IConstAuxStore *store)
 Set the store associated with this object. More...
 
void setStore (SG::IAuxStore *store)
 Set the store associated with this object. More...
 
void setStore (const DataLink< SG::IConstAuxStore > &store)
 Set the store associated with this object. More...
 
void setConstStore (const SG::IConstAuxStore *store)
 Synonym for setStore with IConstAuxStore. More...
 
void setNonConstStore (SG::IAuxStore *store)
 Synonym for setStore with IAuxStore. More...
 
bool usingPrivateStore () const
 Test to see if this object is currently using a private store. More...
 
bool usingStandaloneStore () const
 Test to see if this object is currently using a standalone store. More...
 
const SG::IConstAuxStoregetConstStore () const
 Return the current store, as a const interface. More...
 
SG::IAuxStoregetStore () const
 Return the current store, as a non-const interface. More...
 
void clearCache ()
 Clear the cached aux data pointers. More...
 
const SG::auxid_set_tgetAuxIDs () const
 Return a set of identifiers for existing data items for this object. More...
 
bool hasStore () const
 Return true if this object has an associated store. More...
 
bool hasNonConstStore () const
 Return true if this object has an associated non-const store. More...
 
bool clearDecorations () const
 Clear all decorations. More...
 
bool trackIndices () const
 Return true if index tracking is enabled for this object. More...
 
size_t index () const
 Return the index of this element within its container. More...
 
size_t index () const
 Return the index of this element within its container. More...
 
Set reference jet

Base class destructor

bool setRefJet (const Jet *pJet)
 Set reference jet by object pointer reference. More...
 
bool setRefJet (const JetContainer *pJetCont, size_t pJetIdx)
 Set reference jet by container pointer and index reference. More...
 
Adding data to the MET association description

bool addObject (const IParticle *pPart, const std::vector< const IParticle * > &constlist)
 Add object (particle) from pointer reference with individual constituent vectors. More...
 
Conventional and dedicated getter and setters

const std::vector< float > & calpx () const
 Get the vector of \( P_{x} \)
More...
 
float calpx (const IParticle *pPart) const
 Get the vector \( P_{x} \) for a given object referenced by pointer. More...
 
float calpx (size_t keyIdx) const
 Get the vector \( P_{x} \) for a given object referenced by index. More...
 
bool setCalPx (const std::vector< float > &calpxvec)
 Set the vector of \( P_{x} \)
More...
 
bool setCalPx (size_t keyIdx, float calpx)
 Set calo constituent vector \( P_{x} \) for a given contributing object referenced by index. More...
 
const std::vector< float > & calpy () const
 Get the vector of \( P_{y} \)
More...
 
float calpy (size_t keyIdx) const
 Get the vector \( P_{y} \) for a given object referenced by index. More...
 
bool setCalPy (const std::vector< float > &calpyvec)
 Set the vector of \( P_{y} \)
More...
 
bool setCalPy (size_t keyIdx, float calpy)
 Set calo constituent vector \( P_{y} \) for a given contributing object referenced by index. More...
 
const std::vector< float > & calpz () const
 Get the vector of \( P_{z} \)
More...
 
float calpz (size_t keyIdx) const
 Get the vector \( P_{z} \) for a given object referenced by index. More...
 
bool setCalPz (const std::vector< float > &calpzvec)
 Set the vector of \( P_{z} \)
More...
 
bool setCalPz (size_t keyIdx, float calpz)
 Set calo constituent vector \( P_{z} \) for a given contributing object referenced by index. More...
 
const std::vector< float > & cale () const
 Get the vector of \( E \)
More...
 
float cale (size_t keyIdx) const
 Get the vector \( E \) for a given object referenced by index. More...
 
bool setCalE (const std::vector< float > &calevec)
 Set the vector of \( E \)
More...
 
bool setCalE (size_t keyIdx, float cale)
 Set calo constituent vector \( E \) for a given contributing object referenced by index. More...
 
const std::vector< float > & calsumpt () const
 Get the vector of sumpt
More...
 
float calsumpt (size_t keyIdx) const
 Get the sumpt for a given object referenced by index. More...
 
bool setCalSumpt (const std::vector< float > &calsumptvec)
 Set the vector of sumpt
More...
 
bool setCalSumpt (size_t keyIdx, float calsumpt)
 Set calo constituent sumpt for a given contributing object referenced by index. More...
 
const std::vector< MissingETBase::Types::bitmask_t > & calkey () const
 Get the vector of cal keys. More...
 
MissingETBase::Types::bitmask_t calkey (size_t keyIdx) const
 Get the key for a given entry referenced by index. More...
 
bool setCalKey (const std::vector< MissingETBase::Types::bitmask_t > &calkeyvec)
 Set the vector of keys
More...
 
bool setCalKey (size_t keyIdx, MissingETBase::Types::bitmask_t calkey)
 Set calo key for a given contributing entry referenced by index. More...
 
bool setCalVec (size_t keyIdx, const ConstVec &cvec=ConstVec())
 Set the calo constituent vector of an object contribution referenced by index. More...
 
bool setCalVec (size_t keyIdx, float calpx, float calpy, float calpz, float ce, float sumpt)
 Set the calo constituent vectors of an object contribution referenced by index. More...
 
bool addCalVec (MissingETBase::Types::bitmask_t key, float calpx, float calpy, float calpz, float cale, float sumpt)
 Add a key/vector pair for calo contributions. More...
 
bool clearCalVecs ()
 Reset the calo constituent vectors and keys. More...
 
const std::vector< float > & trkpx () const
 Get the vector of \( P_{x} \)
More...
 
float trkpx (size_t keyIdx) const
 Get the vector \( P_{x} \) for a given object referenced by index. More...
 
bool setTrkPx (const std::vector< float > &trkpxvec)
 Set the vector of \( P_{x} \)
More...
 
bool setTrkPx (size_t keyIdx, float trkpx)
 Set track constituent vector \( P_{x} \) for a given contributing object referenced by index. More...
 
const std::vector< float > & trkpy () const
 Get the vector of \( P_{y} \)
More...
 
float trkpy (size_t keyIdx) const
 Get the vector \( P_{y} \) for a given object referenced by index. More...
 
bool setTrkPy (const std::vector< float > &trkpyvec)
 Set the vector of \( P_{y} \)
More...
 
bool setTrkPy (size_t keyIdx, float trkpy)
 Set track constituent vector \( P_{y} \) for a given contributing object referenced by index. More...
 
const std::vector< float > & trkpz () const
 Get the vector of \( P_{z} \)
More...
 
float trkpz (size_t keyIdx) const
 Get the vector \( P_{z} \) for a given object referenced by index. More...
 
bool setTrkPz (const std::vector< float > &trkpzvec)
 Set the vector of \( P_{z} \)
More...
 
bool setTrkPz (size_t keyIdx, float trkpz)
 Set track constituent vector \( P_{z} \) for a given contributing object referenced by index. More...
 
const std::vector< float > & trke () const
 Get the vector of \( E \)
More...
 
float trke (size_t keyIdx) const
 Get the vector \( E \) for a given object referenced by index. More...
 
bool setTrkE (const std::vector< float > &trkevec)
 Set the vector of \( E \)
More...
 
bool setTrkE (size_t keyIdx, float trke)
 Set track constituent vector \( E \) for a given contributing object referenced by index. More...
 
const std::vector< float > & trksumpt () const
 Get the vector of \( E \)
More...
 
float trksumpt (size_t keyIdx) const
 Get the vector \( E \) for a given object referenced by index. More...
 
bool setTrkSumpt (const std::vector< float > &trksumptvec)
 Set the vector of \( E \)
More...
 
bool setTrkSumpt (size_t keyIdx, float trksumpt)
 Set track constituent vector \( E \) for a given contributing object referenced by index. More...
 
const std::vector< MissingETBase::Types::bitmask_t > & trkkey () const
 Get the vector of trk keys. More...
 
MissingETBase::Types::bitmask_t trkkey (size_t keyIdx) const
 Get the key for a given entry referenced by index. More...
 
bool setTrkKey (const std::vector< MissingETBase::Types::bitmask_t > &trkkeyvec)
 Set the vector of keys
More...
 
bool setTrkKey (size_t keyIdx, MissingETBase::Types::bitmask_t trkkey)
 Set trk key for a given contributing entry referenced by index. More...
 
bool setTrkVec (size_t keyIdx, const ConstVec &cvec=ConstVec())
 Set the track constituent vector of an object contribution referenced by index. More...
 
bool setTrkVec (size_t keyIdx, float trkpx, float trkpy, float trkpz, float trke, float sumpt)
 Set the track constituent vectors of an object contribution referenced by index. More...
 
bool addTrkVec (MissingETBase::Types::bitmask_t key, float trkpx, float trkpy, float trkpz, float ce, float sumpt)
 Add a key/vector pair for calo contributions. More...
 
bool clearTrkVecs ()
 Reset the track constituent vectors and keys. More...
 
float jettrkpx () const
 Get the vector \( P_{x} \) for a given object referenced by index. More...
 
float jettrkpy () const
 Get the vector \( P_{y} \) for a given object referenced by pointer. More...
 
float jettrkpz () const
 Get the vector \( P_{z} \) for a given object referenced by pointer. More...
 
float jettrke () const
 Get the vector \( E \) for a given object referenced by index. More...
 
float jettrksumpt () const
 Get the sumpt for a given object referenced by index. More...
 
void setJetTrkPx (float px)
 Set track constituent vector \( P_{x} \) for the reference jet. More...
 
void setJetTrkPy (float py)
 Set track constituent vector \( P_{y} \) for the reference jet. More...
 
void setJetTrkPz (float pz)
 Set track constituent vector \( P_{z} \) for the reference jet. More...
 
void setJetTrkE (float e)
 Set track constituent vector \( E \) for the reference jet. More...
 
void setJetTrkSumpt (float sumpt)
 Set track constituent vector \( E \) for the reference jet. More...
 
void setJetTrkVec (const ConstVec &cvec=ConstVec())
 Set the track constituent vector for the reference jet. More...
 
void setJetTrkVec (float px, float py, float pz, float ce, float sumpt)
 Set the track constituent vector for the reference jet. More...
 
const MissingETBase::Types::jetlink_tjetLink () const
 Get the link to the reference jet. More...
 
bool setJetLink (const MissingETBase::Types::jetlink_t &jetLnk)
 Set the link to the reference jet. More...
 
const MissingETBase::Types::objlink_vector_tobjectLinks () const
 Get the vector of links to the contributing physics or signal objects. More...
 
bool setObjectLinks (const MissingETBase::Types::objlink_vector_t &objLnks)
 Set the vector of links to the contributing physics or signal objects. More...
 
const std::vector< std::vector< size_t > > & overlapIndices () const
 Get the list of object overlapIndices. More...
 
std::vector< size_t > overlapIndices (const IParticle *pPart) const
 Get the overlap indices for a given object referenced by pointer. More...
 
std::vector< size_t > overlapIndices (size_t objIdx) const
 Get the overlap indices for a given object referenced by index. More...
 
const std::vector< std::vector< unsigned char > > & overlapTypes () const
 Get the list of object overlapTypes. More...
 
std::vector< unsigned charoverlapTypes (const IParticle *pPart) const
 Get the overlap types for a given object referenced by pointer. More...
 
std::vector< unsigned charoverlapTypes (size_t objIdx) const
 Get the overlap types for a given object referenced by index. More...
 
void clearOverlaps ()
 Clear the vectors of overlap indices
More...
 
bool setOverlaps (const std::vector< std::vector< size_t > > &overlapIndices, const std::vector< std::vector< unsigned char > > &overlapTypes)
 Set the vector of overlap indices and types. More...
 
bool setOverlaps (const IParticle *pPart, const std::vector< size_t > &overlapIndices, const std::vector< unsigned char > &overlapTypes)
 Set overlap indices and types for a given contributing object referenced by pointer. More...
 
bool setOverlaps (size_t objIdx, const std::vector< size_t > &overlapIndices, const std::vector< unsigned char > &overlapTypes)
 Set overlap indices and types for a given contributing object referenced by index. More...
 
void setOverrideMom (const std::map< const IParticle *, ConstVec > &pOverride)
 Set override momenta. More...
 
std::map< const IParticle *, ConstVecoverrideMom ()
 Get override momenta. More...
 
void addOverrideMom (std::map< const IParticle *, ConstVec > &pOverride)
 Extend override momentum map. More...
 
Specific methods for manipulating the association description data

bool removeContrib (const IParticle *pPart)
 Remove a contribution referenced by an object pointer. More...
 
bool removeContrib (size_t objIdx)
 Remove a contribution referenced by an index. More...
 
bool removeContrib ()
 Remove all contributions. More...
 
bool resetContrib (const IParticle *pPart)
 Reset the contribution parameters of an object referenced by a pointer. More...
 
bool resetContrib (size_t objIdx)
 Reset the contribution parameters of an object referenced by an index. More...
 
bool resetContrib ()
 Reset all contribution parameters. More...
 
Dedicated accessors for linked objects
const JetrefJet () const
 Access reference jet. More...
 
const JetContainerrefJetContainer () const
 Access reference jet container holding reference jet. More...
 
size_t refJetIndex () const
 Access index of reference jet in its container. More...
 
std::vector< const IParticle * > objects () const
 Access contributing objects. More...
 
std::vector< const IParticle * > objects (std::vector< ConstVec > &calVecs, std::vector< ConstVec > &trkVecs) const
 Access contributing objects and retrieve constituent vectors. More...
 
std::vector< const IParticle * > objects (const std::vector< float > *&calpxPtr, const std::vector< float > *&calpyPtr, const std::vector< float > *&calpzPtr, const std::vector< float > *&calePtr, const std::vector< float > *&calsumptPtr, const std::vector< float > *&trkpxPtr, const std::vector< float > *&trkpyPtr, const std::vector< float > *&trkpzPtr, const std::vector< float > *&trkePtr, const std::vector< float > *&trksumptPtr) const
 Access contributing objects and retrieve constituent vectors. More...
 
ConstVec calVec (const IParticle *pPart) const
 Get calo constituent vector for a given object. More...
 
ConstVec calVec (size_t keyIdx) const
 Get calo constituent vector for a given entry (index) in the contributing object list. More...
 
ConstVec trkVec (const IParticle *pPart) const
 Get track constituent vector for a given object. More...
 
ConstVec trkVec (size_t keyIdx) const
 Get track constituent vector for a given entry (index) in the contributing object list. More...
 
ConstVec jetTrkVec () const
 Get track constituent vector for the reference jet. More...
 
Adding and retrieving selection and overlap information
bool addOverlap (const IParticle *pPart, size_t index, unsigned char type)
 Add overlap index for a given contributing object referenced by pointer. More...
 
bool addOverlap (size_t objIdx, size_t index, unsigned char type)
 Add overlap index for a given contributing object referenced by index. More...
 
bool identifyOverlaps ()
 Loop over contributing objects to identify those that share constituents. More...
 
bool identifyOverlaps (size_t objIdx)
 Search association for particles that share constituents with this one. More...
 
bool identifyOverlaps (const IParticle *pPart)
 Search association for particles that share constituents with this one. More...
 
bool hasOverlaps (const MissingETAssociationHelper &helper, size_t objIdx, MissingETBase::UsageHandler::Policy p=MissingETBase::UsageHandler::OnlyCluster) const
 Check if any selected particles overlap this one. More...
 
bool hasOverlaps (const MissingETAssociationHelper &helper, const IParticle *pPart, MissingETBase::UsageHandler::Policy p=MissingETBase::UsageHandler::OnlyCluster) const
 Check if any selected particles overlap this one. More...
 
bool hasAlternateConstVec () const
 
xAOD::JetFourMom_t getAlternateConstVec () const
 
ConstVec overlapCalVec (const MissingETAssociationHelper &helper) const
 Retrieve total cluster-based vector to be subtracted from the jet. More...
 
ConstVec overlapTrkVec (const MissingETAssociationHelper &helper) const
 Retrieve total track-based vector to be subtracted from the jet. More...
 
bool containsSignal (const IParticle *pSig) const
 Check if this signal object matches the constituents of any contributing objects. More...
 
bool containsPhysics (const IParticle *pPhys) const
 Check if this physics object matches any contributing objects. More...
 
bool isMisc () const
 Check if this association is a miscellaneous association. More...
 
bool checkUsage (const MissingETAssociationHelper &helper, const IParticle *pSig, MissingETBase::UsageHandler::Policy p) const
 Check if this signal object matches the constituents of any flagged contributing objects. More...
 
Allocating and accessing objects in the contribution

size_t findIndex (const IParticle *pPart) const
 Find index of given object in contributing object store. More...
 
List management and information
bool empty () const
 Update all internally used ElementLink instances. More...
 
Comparators
Parameters
[in]contribreference to non-modifiable contribution object to compare to.
bool operator== (const MissingETAssociation_v1 &contrib) const
 
bool operator!= (const MissingETAssociation_v1 &contrib) const
 Equality. More...
 

Static Public Member Functions

static bool testPolicy (const xAOD::IParticle &part, MissingETBase::UsageHandler::Policy p)
 

Static Public Attributes

static constexpr bool supportsThinning = true
 Mark that this type supports thinning operations. More...
 

Protected Member Functions

void createPrivateStore ()
 Function initialising the object to work in standalone mode. More...
 
bool noPrivateData () const
 True if this element has no private data. More...
 
bool havePrivateData () const
 True if this element currently has private data. More...
 
bool hadPrivateData () const
 True if this element had private data before it was added to its current container. More...
 
Internal non-const accessors

The underlying data model uses the auxiliary store MissingETAuxComposition_v1, which only employs low level data structures and ElementLinks.

The accessors forward their specific request to static accessors, which retrieve the data by internally used names.

MissingETBase::Types::objlink_vector_tf_objectLinks ()
 Non-const link reference. More...
 
MissingETBase::Types::jetlink_tf_jetLink ()
 Non-const link reference
More...
 
std::vector< float > & f_calpx ()
 
std::vector< float > & f_calpy ()
 
std::vector< float > & f_calpz ()
 
std::vector< float > & f_cale ()
 
std::vector< float > & f_calsumpt ()
 
std::vector< MissingETBase::Types::bitmask_t > & f_calkey ()
 
std::vector< float > & f_trkpx ()
 
std::vector< float > & f_trkpy ()
 
std::vector< float > & f_trkpz ()
 
std::vector< float > & f_trke ()
 
std::vector< float > & f_trksumpt ()
 
std::vector< MissingETBase::Types::bitmask_t > & f_trkkey ()
 
floatf_jettrkpx ()
 
floatf_jettrkpy ()
 
floatf_jettrkpz ()
 
floatf_jettrke ()
 
floatf_jettrksumpt ()
 
charf_isMisc ()
 
std::vector< std::vector< size_t > > & f_overlapIndices ()
 record overlapIndices between constributing objects More...
 
std::vector< std::vector< unsigned char > > & f_overlapTypes ()
 record overlapTypes between constributing objects More...
 
Helpers
bool f_removeContrib (size_t objIdx)
 Copy the contribution data from a source. More...
 
void copyData (const MissingETAssociation_v1 &assocDescr)
 
template<class POBJ , class LINK >
void f_setObject (const POBJ *pObj, LINK &elemLink)
 Generalized link manager. More...
 
template<class LINK >
bool f_setLink (LINK &elemLink)
 
Management of local cache
void initCache ()
 initialise cache for overlap removal decisions More...
 

Static Protected Member Functions

static bool testPolicy (xAOD::Type::ObjectType type, MissingETBase::UsageHandler::Policy p)
 

Protected Attributes

Internal data for local cache
std::vector< std::vector< ElementLink< IParticleContainer > > > m_objConstLinks
 Cache object constituents for overlap-finding. More...
 

Private Types

enum  PrivateStoreState : uint8_t { PrivateStoreState::NO_PRIVATE = 0, PrivateStoreState::HAVE_PRIVATE = 1, PrivateStoreState::HAD_PRIVATE = 2 }
 The current private data state. More...
 

Private Member Functions

void releasePrivateStoreForDtor ()
 Out-of-line portion of destructor. More...
 
void setIndex (size_t index, SG::AuxVectorData *container)
 Set the index/container for this element. More...
 
bool setIndexPrivate (size_t index, SG::AuxVectorData *container)
 Set the index/container for this element. More...
 
void makePrivateStore1 (const void *)
 Create a new private store for this object and copy aux data. More...
 
void makePrivateStore1 (const AuxElement *other)
 Create a new private store for this object and copy aux data. More...
 
AuxElementStandaloneData * setStore1 (const SG::IConstAuxStore *store)
 Set the store associated with this object. More...
 
void clearAux ()
 Clear all aux data associated with this element. More...
 
void copyAux (const ConstAuxElement &other)
 Copy aux data from another object. More...
 
void setNoPrivateData ()
 Record that this element does not have private data. More...
 
void setHavePrivateData ()
 Record that this element currently has private data. More...
 
void setHadPrivateData ()
 Record that this element used to have private data. More...
 

Private Attributes

std::map< const IParticle *, ConstVecm_override
 
const SG::AuxVectorDatam_container
 The container of which this object is an element. More...
 
size_t m_index
 The index of this element within its container. More...
 
PrivateStoreState m_privateStoreState
 

Static Private Attributes

static const SG::AuxElement::Accessor< std::vector< float > > m_acc_calpx
 
static const SG::AuxElement::Accessor< std::vector< float > > m_acc_calpy
 
static const SG::AuxElement::Accessor< std::vector< float > > m_acc_calpz
 
static const SG::AuxElement::Accessor< std::vector< float > > m_acc_cale
 
static const SG::AuxElement::Accessor< std::vector< float > > m_acc_calsumpt
 
static const SG::AuxElement::Accessor< std::vector< float > > m_acc_trkpx
 
static const SG::AuxElement::Accessor< std::vector< float > > m_acc_trkpy
 
static const SG::AuxElement::Accessor< std::vector< float > > m_acc_trkpz
 
static const SG::AuxElement::Accessor< std::vector< float > > m_acc_trke
 
static const SG::AuxElement::Accessor< std::vector< float > > m_acc_trksumpt
 
static const SG::AuxElement::Accessor< floatm_acc_jettrkpx
 
static const SG::AuxElement::Accessor< floatm_acc_jettrkpy
 
static const SG::AuxElement::Accessor< floatm_acc_jettrkpz
 
static const SG::AuxElement::Accessor< floatm_acc_jettrke
 
static const SG::AuxElement::Accessor< floatm_acc_jettrksumpt
 

Detailed Description

MET association descriptor contains object links and corresponding parameters.

Definition at line 28 of file MissingETAssociation_v1.h.

Member Typedef Documentation

◆ Accessor

template<class T , class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::Accessor = SG::Accessor<T, ALLOC>
inherited

Definition at line 548 of file AuxElement.h.

◆ ConstAccessor

template<class T , class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::ConstAccessor = SG::ConstAccessor<T, ALLOC>
inherited

Definition at line 545 of file AuxElement.h.

◆ Decorator

template<class T , class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::Decorator = SG::Decorator<T, ALLOC>
inherited

Definition at line 551 of file AuxElement.h.

◆ TypelessConstAccessor

using SG::AuxElement::TypelessConstAccessor = ConstAuxElement::TypelessConstAccessor
inherited

Definition at line 542 of file AuxElement.h.

Member Enumeration Documentation

◆ PrivateStoreState

enum SG::IAuxElement::PrivateStoreState : uint8_t
strongprivateinherited

The current private data state.

Enumerator
NO_PRIVATE 
HAVE_PRIVATE 
HAD_PRIVATE 

Definition at line 131 of file IAuxElement.h.

132  {
133  NO_PRIVATE = 0,
134  HAVE_PRIVATE = 1,
135  HAD_PRIVATE = 2,
136  };

Constructor & Destructor Documentation

◆ MissingETAssociation_v1() [1/3]

xAOD::MissingETAssociation_v1::MissingETAssociation_v1 ( bool  createStore = false)
explicit

Default constructor.

Definition at line 96 of file MissingETAssociation_v1.cxx.

97  : SG::AuxElement()
98  {
99 
100  if( createStore ) createPrivateStore();
101  initCache();
102  }

◆ MissingETAssociation_v1() [2/3]

xAOD::MissingETAssociation_v1::MissingETAssociation_v1 ( const Jet pjet,
bool  isMisc = false 
)

Construct with a link to a Jet object.

Definition at line 104 of file MissingETAssociation_v1.cxx.

105  : SG::AuxElement()
106  {
107 
109  f_isMisc() = isMisc;
110  setRefJet( pJet );
111  initCache();
112  }

◆ MissingETAssociation_v1() [3/3]

xAOD::MissingETAssociation_v1::MissingETAssociation_v1 ( const MissingETAssociation_v1 assocDescr)

Copy constructor.

Definition at line 114 of file MissingETAssociation_v1.cxx.

115  : SG::AuxElement(assocDescr)
116  {
117  this->makePrivateStore(&assocDescr);
118  initCache();
119  }

◆ ~MissingETAssociation_v1()

xAOD::MissingETAssociation_v1::~MissingETAssociation_v1 ( )
virtual

Assignment operator.

Definition at line 148 of file MissingETAssociation_v1.cxx.

148 { }

Member Function Documentation

◆ addCalVec()

bool xAOD::MissingETAssociation_v1::addCalVec ( MissingETBase::Types::bitmask_t  key,
float  calpx,
float  calpy,
float  calpz,
float  cale,
float  sumpt 
)

Add a key/vector pair for calo contributions.

Definition at line 347 of file MissingETAssociation_v1.cxx.

347  {
348  for(MissingETBase::Types::bitmask_t testkey : this->f_calkey()) {
349  // quit if key already exists.
350  if(key==testkey) return false;
351  }
352  this->f_calkey().push_back(key);
353  this->f_calpx().push_back(calpx);
354  this->f_calpy().push_back(calpy);
355  this->f_calpz().push_back(calpz);
356  this->f_cale().push_back(cale);
357  this->f_calsumpt().push_back(sumpt);
358  return true;
359  }

◆ addObject()

bool xAOD::MissingETAssociation_v1::addObject ( const IParticle pPart,
const std::vector< const IParticle * > &  constlist 
)

Add object (particle) from pointer reference with individual constituent vectors.

Definition at line 154 of file MissingETAssociation_v1.cxx.

155  {
156  // check if object is in store
157 
158  size_t idx(this->findIndex(pPart));
159  // found - add const vectors
161  {
162  m_objConstLinks[idx].clear();
163  m_objConstLinks[idx].reserve(constlist.size());
164  for(const auto& signal : constlist) {
165  const IParticleContainer* pCont = static_cast<const IParticleContainer*>(signal->container());
166  MissingETBase::Types::objlink_t el(*pCont,signal->index());
167  m_objConstLinks[idx].push_back(el);
168  }
169  return false; }
170  // new object
171  else
172  {
173  MissingETBase::Types::objlink_t oLnk; f_setObject<IParticle,MissingETBase::Types::objlink_t>(pPart,oLnk);
174  // add to stores
175  this->f_objectLinks().push_back(oLnk);
176  vector<MissingETBase::Types::objlink_t > linklist;
177  linklist.reserve(constlist.size());
178  for(const auto& signal : constlist) {
179  const IParticleContainer* pCont = static_cast<const IParticleContainer*>(signal->container());
180  MissingETBase::Types::objlink_t el(*pCont,signal->index());
181  linklist.push_back(el);
182  }
183  m_objConstLinks.push_back(linklist);
184  this->f_overlapIndices().emplace_back(0);
185  this->f_overlapTypes().emplace_back(0);
186  bool linkset = f_setLink<MissingETBase::Types::objlink_t>(oLnk);
187  return linkset;
188  }
189  }

◆ addOverlap() [1/2]

bool xAOD::MissingETAssociation_v1::addOverlap ( const IParticle pPart,
size_t  index,
unsigned char  type 
)

Add overlap index for a given contributing object referenced by pointer.

◆ addOverlap() [2/2]

bool xAOD::MissingETAssociation_v1::addOverlap ( size_t  objIdx,
size_t  index,
unsigned char  type 
)

Add overlap index for a given contributing object referenced by index.

Definition at line 591 of file MissingETAssociation_v1.cxx.

592  {
593  if ( objIdx != MissingETBase::Numerical::invalidIndex() && objIdx < this->f_overlapIndices().size() ) {
594  this->f_overlapIndices()[objIdx].push_back(overlapIndex);
595  this->f_overlapTypes()[objIdx].push_back(overlapType);
596  return true;
597  } else { return false; }
598  }

◆ addOverrideMom()

void xAOD::MissingETAssociation_v1::addOverrideMom ( std::map< const IParticle *, ConstVec > &  pOverride)

Extend override momentum map.

◆ addTrkVec()

bool xAOD::MissingETAssociation_v1::addTrkVec ( MissingETBase::Types::bitmask_t  key,
float  trkpx,
float  trkpy,
float  trkpz,
float  ce,
float  sumpt 
)

Add a key/vector pair for calo contributions.

Definition at line 381 of file MissingETAssociation_v1.cxx.

381  {
382  for(MissingETBase::Types::bitmask_t testkey : this->f_trkkey()) {
383  // quit if key already exists.
384  if(key==testkey) return false;
385  }
386  this->f_trkkey().push_back(key);
387  this->f_trkpx().push_back(trkpx);
388  this->f_trkpy().push_back(trkpy);
389  this->f_trkpz().push_back(trkpz);
390  this->f_trke().push_back(trke);
391  this->f_trksumpt().push_back(sumpt);
392  return true;
393  }

◆ auxdata() [1/4]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::reference_type SG::AuxElement::auxdata ( const std::string &  name)
inherited

Fetch an aux data variable, as a non-const reference.

Parameters
nameName of the aux variable.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

◆ auxdata() [2/4]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::const_reference_type SG::AuxElement::auxdata ( const std::string &  name) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName of the aux variable.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor or ConstAccessor classes.

◆ auxdata() [3/4]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::reference_type SG::AuxElement::auxdata ( const std::string &  name,
const std::string &  clsname 
)
inherited

Fetch an aux data variable, as a non-const reference.

Parameters
nameName of the aux variable.
clsnameThe name of the associated class. May be blank.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

◆ auxdata() [4/4]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::const_reference_type SG::AuxElement::auxdata ( const std::string &  name,
const std::string &  clsname 
) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName of the aux variable.
clsnameThe name of the associated class. May be blank.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor or ConstAccessor classes.

◆ auxdataConst() [1/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::const_reference_type SG::AuxElement::auxdataConst ( const std::string &  name) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName of the aux variable.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor class.

◆ auxdataConst() [2/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::const_reference_type SG::AuxElement::auxdataConst ( const std::string &  name,
const std::string &  clsname 
) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName of the aux variable.
clsnameThe name of the associated class. May be blank.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor class.

◆ auxdecor() [1/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Decorator<T, ALLOC>::reference_type SG::AuxElement::auxdecor ( const std::string &  name) const
inherited

Fetch an aux decoration, as a non-const reference.

Parameters
nameName of the aux variable.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.

◆ auxdecor() [2/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Decorator<T, ALLOC>::reference_type SG::AuxElement::auxdecor ( const std::string &  name,
const std::string &  clsname 
) const
inherited

Fetch an aux decoration, as a non-const reference.

Parameters
nameName of the aux variable.
clsnameThe name of the associated class. May be blank.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.

◆ cale() [1/2]

const std::vector<float>& xAOD::MissingETAssociation_v1::cale ( ) const

Get the vector of \( E \)

◆ cale() [2/2]

float xAOD::MissingETAssociation_v1::cale ( size_t  keyIdx) const

Get the vector \( E \) for a given object referenced by index.

Definition at line 475 of file MissingETAssociation_v1.cxx.

476  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeCal() ? this->cale()[keyIdx] : MissingETBase::Numerical::ceError(); }

◆ calkey() [1/2]

const std::vector<MissingETBase::Types::bitmask_t>& xAOD::MissingETAssociation_v1::calkey ( ) const

Get the vector of cal keys.

◆ calkey() [2/2]

MissingETBase::Types::bitmask_t xAOD::MissingETAssociation_v1::calkey ( size_t  keyIdx) const

Get the key for a given entry referenced by index.

Definition at line 479 of file MissingETAssociation_v1.cxx.

480  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeCal() ? this->calkey()[keyIdx] : MissingETBase::Numerical::invalidIndex(); }

◆ calpx() [1/3]

const std::vector<float>& xAOD::MissingETAssociation_v1::calpx ( ) const

Get the vector of \( P_{x} \)

◆ calpx() [2/3]

float xAOD::MissingETAssociation_v1::calpx ( const IParticle pPart) const

Get the vector \( P_{x} \) for a given object referenced by pointer.

◆ calpx() [3/3]

float xAOD::MissingETAssociation_v1::calpx ( size_t  keyIdx) const

Get the vector \( P_{x} \) for a given object referenced by index.

Definition at line 469 of file MissingETAssociation_v1.cxx.

470  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeCal() ? this->calpx()[keyIdx] : MissingETBase::Numerical::cpxError(); }

◆ calpy() [1/2]

const std::vector<float>& xAOD::MissingETAssociation_v1::calpy ( ) const

Get the vector of \( P_{y} \)

◆ calpy() [2/2]

float xAOD::MissingETAssociation_v1::calpy ( size_t  keyIdx) const

Get the vector \( P_{y} \) for a given object referenced by index.

Definition at line 471 of file MissingETAssociation_v1.cxx.

472  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeCal() ? this->calpy()[keyIdx] : MissingETBase::Numerical::cpyError(); }

◆ calpz() [1/2]

const std::vector<float>& xAOD::MissingETAssociation_v1::calpz ( ) const

Get the vector of \( P_{z} \)

◆ calpz() [2/2]

float xAOD::MissingETAssociation_v1::calpz ( size_t  keyIdx) const

Get the vector \( P_{z} \) for a given object referenced by index.

Definition at line 473 of file MissingETAssociation_v1.cxx.

474  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeCal() ? this->calpz()[keyIdx] : MissingETBase::Numerical::cpzError(); }

◆ calsumpt() [1/2]

const std::vector<float>& xAOD::MissingETAssociation_v1::calsumpt ( ) const

Get the vector of sumpt

◆ calsumpt() [2/2]

float xAOD::MissingETAssociation_v1::calsumpt ( size_t  keyIdx) const

Get the sumpt for a given object referenced by index.

Definition at line 477 of file MissingETAssociation_v1.cxx.

478  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeCal() ? this->calsumpt()[keyIdx] : MissingETBase::Numerical::sumptError(); }

◆ calVec() [1/2]

MissingETAssociation_v1::ConstVec xAOD::MissingETAssociation_v1::calVec ( const IParticle pPart) const

Get calo constituent vector for a given object.

Definition at line 540 of file MissingETAssociation_v1.cxx.

541  {
543  for (size_t iKey = 0; iKey < this->sizeCal(); iKey++) {
544  if (this->calkey(iKey) & getObjMask(this->findIndex(pPart)))
545  totalvec+=this->calVec(iKey);
546  }
547  return totalvec;
548  }

◆ calVec() [2/2]

constvec_t xAOD::MissingETAssociation_v1::calVec ( size_t  keyIdx) const

Get calo constituent vector for a given entry (index) in the contributing object list.

Definition at line 560 of file MissingETAssociation_v1.cxx.

561  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeCal()
562  ? constvec_t(this->calpx(keyIdx),this->calpy(keyIdx),this->calpz(keyIdx),this->cale(keyIdx),this->calsumpt(keyIdx))
563  : constvec_t(MissingETBase::Numerical::cpxError(),MissingETBase::Numerical::cpyError(),MissingETBase::Numerical::cpzError(),MissingETBase::Numerical::ceError(),MissingETBase::Numerical::sumptError()); }

◆ checkUsage()

bool xAOD::MissingETAssociation_v1::checkUsage ( const MissingETAssociationHelper helper,
const IParticle pSig,
MissingETBase::UsageHandler::Policy  p 
) const

Check if this signal object matches the constituents of any flagged contributing objects.

Definition at line 818 of file MissingETAssociation_v1.cxx.

819  {
821  const IParticleContainer* pCont = static_cast<const IParticleContainer*>(pSig->container());
822  MissingETBase::Types::objlink_t el(*pCont,pSig->index());
823  for(size_t iObj=0; iObj<this->objectLinks().size(); ++iObj) {
824  if(helper.objSelected(this,iObj)) {
825  for(const auto& link : m_objConstLinks[iObj]) {
826  if(el == link) return true;
827  }
828  }
829  }
830  }
831  return false;
832  }

◆ clearAux()

void SG::AuxElement::clearAux ( )
privateinherited

Clear all aux data associated with this element.

If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData.

Definition at line 535 of file AuxElement.cxx.

536 {
537  if (!m_container) return;
538  if (!m_container->hasStore()) return;
540  throw SG::ExcConstAuxData ("clearAux", SG::null_auxid);
541 
543  for (SG::auxid_t auxid : m_container->getWritableAuxIDs()) {
544  r.clear (auxid, *container(), index(), 1);
545  }
546 }

◆ clearCache()

void SG::AuxElement::clearCache ( )
inherited

Clear the cached aux data pointers.

You should call this any time something changes in the aux store that could invalidate the vector pointers.

Definition at line 319 of file AuxElement.cxx.

320 {
321  if (container())
322  container()->clearCache();
323 }

◆ clearCalVecs()

bool xAOD::MissingETAssociation_v1::clearCalVecs ( )

Reset the calo constituent vectors and keys.

◆ clearDecorations()

bool SG::AuxElement::clearDecorations ( ) const
inherited

Clear all decorations.

Erase all decorations from an associated store, restoring the state to when lock was called.

Returns true if there were any decorations that were cleared, false if the store did not contain any decorations.

Definition at line 385 of file AuxElement.cxx.

386 {
387  if (havePrivateData())
388  return m_container->clearDecorations();
389  return false;
390 }

◆ clearOverlaps()

void xAOD::MissingETAssociation_v1::clearOverlaps ( )

Clear the vectors of overlap indices

Definition at line 413 of file MissingETAssociation_v1.cxx.

414  {
415  this->f_overlapIndices().clear();
416  this->f_overlapIndices().resize(this->f_overlapIndices().size(),vector<size_t>(0));
417  this->f_overlapTypes().clear();
418  this->f_overlapTypes().resize(this->f_overlapTypes().size(),vector<unsigned char>(0));
419  }

◆ clearTrkVecs()

bool xAOD::MissingETAssociation_v1::clearTrkVecs ( )

Reset the track constituent vectors and keys.

◆ container() [1/2]

SG::AuxVectorData* SG::AuxElement::container ( )
inherited

Return the container holding this element.

◆ container() [2/2]

const SG::AuxVectorData* SG::AuxElement::container ( ) const
inherited

Return the container holding this element.

◆ containsPhysics()

bool xAOD::MissingETAssociation_v1::containsPhysics ( const IParticle pPhys) const

Check if this physics object matches any contributing objects.

Definition at line 792 of file MissingETAssociation_v1.cxx.

793  {
794  for(const auto& link : this->objectLinks()) {
795  if(link.isValid()) {
796  if(pPhys == *link) {
797  return true;
798  }
799  }
800  }
801  return false;
802  }

◆ containsSignal()

bool xAOD::MissingETAssociation_v1::containsSignal ( const IParticle pSig) const

Check if this signal object matches the constituents of any contributing objects.

Definition at line 804 of file MissingETAssociation_v1.cxx.

805  {
806  for(size_t iObj=0; iObj<this->objectLinks().size(); ++iObj) {
807  for(const auto& link : m_objConstLinks[iObj]) {
808  if(link.isValid()) {
809  if(pSig == *link) {
810  return true;
811  }
812  }
813  }
814  }
815  return false;
816  }

◆ copyAux()

void SG::AuxElement::copyAux ( const ConstAuxElement other)
privateinherited

Copy aux data from another object.

Parameters
otherThe object from which to copy.

If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData.

All aux data items from other are copied to this object. Any aux data items associated with this object that are not present in other are cleared. (If other has no aux data, then all aux data items for this object are cleared.)

Definition at line 561 of file AuxElement.cxx.

562 {
563  if (!m_container) return;
564  if (!m_container->hasStore()) return;
566  throw SG::ExcConstAuxData ("copyAux");
567 
568  const SG::AuxVectorData* ocont = other.container();
569 
570  if (!ocont || !ocont->hasStore()) {
571  this->clearAux();
572  return;
573  }
574 
575  size_t oindex = other.index();
576  SG::auxid_set_t other_ids = ocont->getAuxIDs();
577 
579 
580  SG::AuxVectorData& cont = *container();
581  for (SG::auxid_t auxid : other_ids) {
582  if (!r.isLinked (auxid)) {
583  r.copy (auxid, cont, index(), *ocont, oindex, 1);
584  }
585  }
586 
587  for (SG::auxid_t auxid : m_container->getWritableAuxIDs()) {
588  if (!other_ids.test (auxid)) {
589  r.clear (auxid, cont, index(), 1);
590  }
591  }
592 }

◆ copyData()

void xAOD::MissingETAssociation_v1::copyData ( const MissingETAssociation_v1 assocDescr)
protected

◆ createPrivateStore()

void xAOD::MissingETAssociation_v1::createPrivateStore ( )
protected

Function initialising the object to work in standalone mode.

Definition at line 838 of file MissingETAssociation_v1.cxx.

839  {
840 
842  f_jetLink() = jetlink_t();
843  f_objectLinks().clear();
844  f_overlapIndices().clear();
845  f_overlapTypes().clear();
846  f_isMisc() = false;
847  f_calpx().clear();
848  f_calpy().clear();
849  f_calpz().clear();
850  f_cale().clear();
851  f_calsumpt().clear();
852  f_calkey().clear();
853  f_trkpx().clear();
854  f_trkpy().clear();
855  f_trkpz().clear();
856  f_trke().clear();
857  f_trksumpt().clear();
858  f_trkkey().clear();
859  f_jettrkpx() = 0;
860  f_jettrkpy() = 0;
861  f_jettrkpz() = 0;
862  f_jettrke() = 0;
863  f_jettrksumpt() = 0;
864 
865  return;
866  }

◆ empty()

bool xAOD::MissingETAssociation_v1::empty ( ) const

Update all internally used ElementLink instances.

Note
[Deprecated] This method scans the full list of contributing objects. It invokes MissingETAssociation_v1::updateJetlink internally.

[Deprecated] Update link to reference jet only ‍/ void updateJetLink(); size_t size() const; size_t sizeCal() const; size_t sizeTrk() const; /! Empty list of contributing objects indicator

◆ f_cale()

std::vector<float>& xAOD::MissingETAssociation_v1::f_cale ( )
protected

◆ f_calkey()

std::vector<MissingETBase::Types::bitmask_t>& xAOD::MissingETAssociation_v1::f_calkey ( )
protected

◆ f_calpx()

std::vector<float>& xAOD::MissingETAssociation_v1::f_calpx ( )
protected

◆ f_calpy()

std::vector<float>& xAOD::MissingETAssociation_v1::f_calpy ( )
protected

◆ f_calpz()

std::vector<float>& xAOD::MissingETAssociation_v1::f_calpz ( )
protected

◆ f_calsumpt()

std::vector<float>& xAOD::MissingETAssociation_v1::f_calsumpt ( )
protected

◆ f_isMisc()

char& xAOD::MissingETAssociation_v1::f_isMisc ( )
protected

◆ f_jetLink()

MissingETBase::Types::jetlink_t& xAOD::MissingETAssociation_v1::f_jetLink ( )
protected

Non-const link reference

◆ f_jettrke()

float& xAOD::MissingETAssociation_v1::f_jettrke ( )
protected

◆ f_jettrkpx()

float& xAOD::MissingETAssociation_v1::f_jettrkpx ( )
protected

◆ f_jettrkpy()

float& xAOD::MissingETAssociation_v1::f_jettrkpy ( )
protected

◆ f_jettrkpz()

float& xAOD::MissingETAssociation_v1::f_jettrkpz ( )
protected

◆ f_jettrksumpt()

float& xAOD::MissingETAssociation_v1::f_jettrksumpt ( )
protected

◆ f_objectLinks()

MissingETBase::Types::objlink_vector_t& xAOD::MissingETAssociation_v1::f_objectLinks ( )
protected

Non-const link reference.

◆ f_overlapIndices()

std::vector<std::vector<size_t> >& xAOD::MissingETAssociation_v1::f_overlapIndices ( )
protected

record overlapIndices between constributing objects

◆ f_overlapTypes()

std::vector<std::vector<unsigned char> >& xAOD::MissingETAssociation_v1::f_overlapTypes ( )
protected

record overlapTypes between constributing objects

◆ f_removeContrib()

bool xAOD::MissingETAssociation_v1::f_removeContrib ( size_t  objIdx)
protected

Copy the contribution data from a source.

  • Parameters
    [in]contribreference to non-modifiable contribution object (the source).

Definition at line 220 of file MissingETAssociation_v1.cxx.

221  {
222  objlink_vector_t::iterator fCon(this->f_objectLinks().begin()); std::advance<objlink_vector_t::iterator>(fCon,objIdx);
223  this->f_objectLinks().erase(fCon);
224  vector<vector<size_t> >::iterator fOverlapIndices(this->f_overlapIndices().begin()); std::advance<vector<vector<size_t> >::iterator>(fOverlapIndices,objIdx);
225  this->f_overlapIndices().erase(fOverlapIndices);
226  vector<vector<unsigned char> >::iterator fOverlapTypes(this->f_overlapTypes().begin()); std::advance<vector<vector<unsigned char> >::iterator>(fOverlapTypes,objIdx);
227  this->f_overlapTypes().erase(fOverlapTypes);
228  this->f_calpx().clear();
229  this->f_calpy().clear();
230  this->f_calpz().clear();
231  this->f_cale().clear();
232  this->f_calsumpt().clear();
233  this->f_calkey().clear();
234  this->f_trkpx().clear();
235  this->f_trkpy().clear();
236  this->f_trkpz().clear();
237  this->f_trke().clear();
238  this->f_trksumpt().clear();
239  this->f_trkkey().clear();
240  return true;
241  }

◆ f_setLink()

template<class LINK >
bool xAOD::MissingETAssociation_v1::f_setLink ( LINK &  elemLink)
protected

◆ f_setObject()

template<class POBJ , class LINK >
void xAOD::MissingETAssociation_v1::f_setObject ( const POBJ *  pObj,
LINK &  elemLink 
)
protected

Generalized link manager.

Inserts link data into ElementLink, even if incomplete. At least, the pointer of linked object will be set (except if NULL).

Template Parameters
POBJlinked object type
LINKspecific ElementLink type
Parameters
[in]pObjpointer to non-modifiable object to be linked
[in]elemLinkreference to modifiable ElementLink object. Initial data content of this object are overwritten.
Note
This is the generalized implementation for e.g. MissingETAssociation_v1::setMET and MissingETAssociation_v1::addObject

◆ f_trke()

std::vector<float>& xAOD::MissingETAssociation_v1::f_trke ( )
protected

◆ f_trkkey()

std::vector<MissingETBase::Types::bitmask_t>& xAOD::MissingETAssociation_v1::f_trkkey ( )
protected

◆ f_trkpx()

std::vector<float>& xAOD::MissingETAssociation_v1::f_trkpx ( )
protected

◆ f_trkpy()

std::vector<float>& xAOD::MissingETAssociation_v1::f_trkpy ( )
protected

◆ f_trkpz()

std::vector<float>& xAOD::MissingETAssociation_v1::f_trkpz ( )
protected

◆ f_trksumpt()

std::vector<float>& xAOD::MissingETAssociation_v1::f_trksumpt ( )
protected

◆ findCalIndex()

size_t xAOD::MissingETAssociation_v1::findCalIndex ( MissingETBase::Types::bitmask_t  mask) const

Definition at line 283 of file MissingETAssociation_v1.cxx.

284  {
285  for (size_t ind = 0; ind < this->sizeCal(); ind++) if (mask==this->calkey()[ind]) return ind;
287  }

◆ findIndex()

size_t xAOD::MissingETAssociation_v1::findIndex ( const IParticle pPart) const

Find index of given object in contributing object store.

The returned index is valid for the contributing object store and the parameter stores (index-parallel stores).

Returns
A valid index \( i \in \{ 0 \ldots N_{\rm objects} - 1 \} \), where \( N_{\rm objects} \) is the total number of contributing objects to the MET contribution. If the given object is not in the store with the requested status, MissingETBase::Numerical::invalidIndex() is returned.

This method makes use of a cache. If the pointer to the checked object is the same as the last one successfully searched for, the index is returned from a cached data word. If the pointer is not the same, xAOD::MissingETAssociation::findIndex(const IParticle*) is invoked. If this method finds the referenced object, the cache is updated and the valid index is returned. In case the object is not found, MissingETBase::Nummerical::invalidIndex() is returned.

Returns
Valid object index \( i = 0 \ldots N_{\rm objects} - 1 \) if object found in list, else MissingETBase::Numerical::invalidIndex().
Parameters
[in]pPartpointer to non-modifiable object
[in]pPartpointer to non-modifiable object in the list of contributing objects

Definition at line 268 of file MissingETAssociation_v1.cxx.

269  {
270  objlink_vector_t::const_iterator fLnk(this->objectLinks().begin());
271  // FIXME: This is based on dereferencing the ElementLink, which is risky.
272  while ( fLnk != this->objectLinks().end() ) {
273  if((*fLnk).isValid()) {
274  if(*(*fLnk) == pPart) break;
275  }
276  ++fLnk;
277  }
278  if ( fLnk != this->objectLinks().end() )
279  return std::distance(this->objectLinks().begin(),fLnk);
281  }

◆ findTrkIndex()

size_t xAOD::MissingETAssociation_v1::findTrkIndex ( MissingETBase::Types::bitmask_t  mask) const

Definition at line 289 of file MissingETAssociation_v1.cxx.

290  {
291  for (size_t ind = 0; ind < this->sizeTrk(); ind++) if (mask==this->trkkey()[ind]) return ind;
293  }

◆ getAlternateConstVec()

xAOD::JetFourMom_t xAOD::MissingETAssociation_v1::getAlternateConstVec ( ) const

Definition at line 759 of file MissingETAssociation_v1.cxx.

760  {
761  xAOD::JetFourMom_t newvec;
762  constvec_t newpt;
763  size_t newptIndex = this->findIndex(this->refJet());
764  if (newptIndex == MissingETBase::Numerical::invalidIndex()) return newvec;
766 
767  for (size_t iKey = 0; iKey < this->sizeCal(); iKey++) if (mask & this->calkey()[iKey]) newpt += this->calVec(iKey);
768  newvec.SetPxPyPzE(newpt.cpx(),newpt.cpy(),newpt.cpz(),newpt.ce());
769  return newvec;
770  }

◆ getAuxIDs()

const SG::auxid_set_t & SG::AuxElement::getAuxIDs ( ) const
inherited

Return a set of identifiers for existing data items for this object.

If this object has a private or standalone store, then information from that will be returned. Otherwise, if this element is part of a container, then information for the container will be returned. Otherwise, return an empty set.

Definition at line 335 of file AuxElement.cxx.

336 {
337 #ifdef ATHCONTAINERS_R21_COMPAT
338  if (havePrivateData())
339  return m_container->getConstStore()->getAuxIDs();
340  if (container())
341  return container()->getAuxIDs();
342  static const SG::auxid_set_t null_set;
343  return null_set;
344 #else
346 #endif
347 }

◆ getConstStore()

const SG::IConstAuxStore * SG::AuxElement::getConstStore ( ) const
inherited

Return the current store, as a const interface.

This will be non-zero if either a const or non-const store is associated with this object. This will fetch either a private or standalone store.

Definition at line 284 of file AuxElement.cxx.

285 {
286  if (havePrivateData()) {
287  return m_container->getConstStore();
288  }
289  return 0;
290 }

◆ getStore()

SG::IAuxStore * SG::AuxElement::getStore ( ) const
inherited

Return the current store, as a non-const interface.

This will be non-zero if a non-const store is associated with this object. This will fetch either a private or standalone store.

Definition at line 299 of file AuxElement.cxx.

300 {
301  if (havePrivateData()) {
302 #ifdef ATHCONTAINERS_R21_COMPAT
304 #else
305  SG::AuxVectorData* container_nc ATLAS_THREAD_SAFE = const_cast<SG::AuxVectorData*>(container());
306 #endif
307  return container_nc->getStore();
308  }
309  return 0;
310 }

◆ hadPrivateData()

bool SG::IAuxElement::hadPrivateData ( ) const
protectedinherited

True if this element had private data before it was added to its current container.

◆ hasAlternateConstVec()

bool xAOD::MissingETAssociation_v1::hasAlternateConstVec ( ) const

Definition at line 754 of file MissingETAssociation_v1.cxx.

755  {
756  return (!this->isMisc() && this->containsPhysics(this->refJet()));
757  }

◆ hasNonConstStore()

bool SG::AuxElement::hasNonConstStore ( ) const
inherited

Return true if this object has an associated non-const store.

This will be true for either a private or standalone store.

Definition at line 368 of file AuxElement.cxx.

369 {
370  if (havePrivateData())
371  return m_container->hasNonConstStore();
372  return false;
373 }

◆ hasOverlaps() [1/2]

bool xAOD::MissingETAssociation_v1::hasOverlaps ( const MissingETAssociationHelper helper,
const IParticle pPart,
MissingETBase::UsageHandler::Policy  p = MissingETBase::UsageHandler::OnlyCluster 
) const

Check if any selected particles overlap this one.

◆ hasOverlaps() [2/2]

bool xAOD::MissingETAssociation_v1::hasOverlaps ( const MissingETAssociationHelper helper,
size_t  objIdx,
MissingETBase::UsageHandler::Policy  p = MissingETBase::UsageHandler::OnlyCluster 
) const

Check if any selected particles overlap this one.

Definition at line 719 of file MissingETAssociation_v1.cxx.

720  {
721  if ( objIdx == MissingETBase::Numerical::invalidIndex() ) return false;
722  vector<size_t> indices = this->overlapIndices(objIdx);
723  vector<unsigned char> types = this->overlapTypes(objIdx);
724  for(size_t iOL=0; iOL<indices.size(); ++iOL) {
725  if(helper.objSelected(this, indices[iOL])) {
726  // printf("Test object %lu for overlaps: OL type %i\n",indices[iOL],(int)types[iOL]);
727  switch(p) {
729  if((types[iOL] & 1<<xAOD::Type::CaloCluster) || (types[iOL] & 1<<xAOD::Type::TrackParticle)) {break;}
730  else {continue;}
732  if(types[iOL] & 1<<xAOD::Type::CaloCluster) {break;}
733  else {continue;}
735  if(types[iOL] & 1<<xAOD::Type::TrackParticle) {break;}
736  else {continue;}
738  if(types[iOL] & 1<<xAOD::Type::ParticleFlow) {break;}
739  else {continue;}
741  if(types[iOL] & 1) {break;}
742  else {continue;}
744  if(types[iOL] & ~(1<<xAOD::Type::TrackParticle)) {break;}
745  else {continue;}
746  default: continue;
747  }
748  return true;
749  }
750  }
751  return false;
752  }

◆ hasStore()

bool SG::AuxElement::hasStore ( ) const
inherited

Return true if this object has an associated store.

This will be true for either a private or standalone store.

Definition at line 355 of file AuxElement.cxx.

356 {
357  if (havePrivateData())
358  return m_container->hasStore();
359  return false;
360 }

◆ havePrivateData()

bool SG::IAuxElement::havePrivateData ( ) const
protectedinherited

True if this element currently has private data.

◆ identifyOverlaps() [1/3]

bool xAOD::MissingETAssociation_v1::identifyOverlaps ( )

Loop over contributing objects to identify those that share constituents.

Definition at line 600 of file MissingETAssociation_v1.cxx.

601  {
603  this->resetContrib();
604  std::map<MissingETBase::Types::bitmask_t,MissingETBase::Types::constvec_t> trkOverlaps;
605  std::map<MissingETBase::Types::bitmask_t,MissingETBase::Types::constvec_t> calOverlaps;
606  std::map<ElementLink<IParticleContainer>,bitmask_t> objects;
607  for(size_t iObj=0; iObj<this->objectLinks().size(); ++iObj) {
608  const vector<ElementLink<IParticleContainer> >& myConst = m_objConstLinks[iObj];
609  for (size_t iConst=0; iConst<myConst.size(); ++iConst) {
610  objects[myConst[iConst]] |= static_cast<bitmask_t>(1) << iObj;
611  }
612  }
613  for (const auto& objpair : objects) {
614  const IParticle* obj = *objpair.first;
615  MissingETBase::Types::bitmask_t bm = objpair.second;
616  if (obj->type()==xAOD::Type::TrackParticle) trkOverlaps[bm] += MissingETBase::Types::constvec_t(*obj);
617  else if (obj->type()==xAOD::Type::FlowElement) {
618  const xAOD::FlowElement* fe = static_cast<const xAOD::FlowElement*>(obj);
619  // Assume this FlowElement represents a PFO
620  if(fe->isCharged()) {
621  // apply cPFO weight if present, only for the inclusive PFO sum
622  if (m_override.find(obj)!=m_override.end()) {
623  calOverlaps[bm] += m_override[obj];
624  } else {
625  calOverlaps[bm] += MissingETBase::Types::constvec_t(*obj);
626  }
627  trkOverlaps[bm] += MissingETBase::Types::constvec_t(*obj);
628  } else {
629  if (m_override.find(obj)!=m_override.end()) {
630  calOverlaps[bm] += m_override[obj];
631  } else {
632  calOverlaps[bm] += MissingETBase::Types::constvec_t(*obj);
633  } // gets ignored otherwise?
634  }
635  }
636  else if (obj->type()==xAOD::Type::ParticleFlow) {
637  const PFO* pfo = static_cast<const PFO*>(obj);
638  if(pfo->isCharged()) {
639  // apply cPFO weight if present, only for the inclusive PFO sum
640  if (m_override.find(obj)!=m_override.end()) {
641  calOverlaps[bm] += m_override[obj];
642  } else {
643  calOverlaps[bm] += MissingETBase::Types::constvec_t(*obj);
644  }
645  trkOverlaps[bm] += MissingETBase::Types::constvec_t(*obj);
646  } else {
647  if (m_override.find(obj)!=m_override.end()) {
648  calOverlaps[bm] += m_override[obj];
649  } else {
650  calOverlaps[bm] += MissingETBase::Types::constvec_t(*obj);
651  } // gets ignored otherwise?
652  }
653  } else if(obj->type()==xAOD::Type::TruthParticle) {
654  const TruthParticle* tp = static_cast<const TruthParticle*>(obj);
655  if(fabs(tp->charge())>0.)
656  trkOverlaps[bm] += MissingETBase::Types::constvec_t(*obj);
657  if(!tp->isMuon())
658  calOverlaps[bm] += MissingETBase::Types::constvec_t(*obj);
659  }
660  else calOverlaps[bm] += MissingETBase::Types::constvec_t(*obj);
661  }
662  for (const auto& calpair : calOverlaps) {
663  MissingETBase::Types::bitmask_t bm = calpair.first;
664  MissingETBase::Types::constvec_t cv = calpair.second;
665  this->addCalVec(bm,cv.cpx(),cv.cpy(),cv.cpz(),cv.ce(),cv.sumpt());
666  }
667  for (const auto& trkpair : trkOverlaps) {
668  MissingETBase::Types::bitmask_t bm = trkpair.first;
669  MissingETBase::Types::constvec_t cv = trkpair.second;
670  this->addTrkVec(bm,cv.cpx(),cv.cpy(),cv.cpz(),cv.ce(),cv.sumpt());
671  }
672 
673  bool foundOverlaps(false);
674  for(size_t iObj=0; iObj<this->objectLinks().size(); ++iObj) {
675  foundOverlaps |= identifyOverlaps(iObj);
676  }
677  return foundOverlaps;
678  }

◆ identifyOverlaps() [2/3]

bool xAOD::MissingETAssociation_v1::identifyOverlaps ( const IParticle pPart)

Search association for particles that share constituents with this one.

◆ identifyOverlaps() [3/3]

bool xAOD::MissingETAssociation_v1::identifyOverlaps ( size_t  objIdx)

Search association for particles that share constituents with this one.

Definition at line 680 of file MissingETAssociation_v1.cxx.

681  {
682  if ( objIdx == MissingETBase::Numerical::invalidIndex() ) return false;
683  // extract constituent list
684  const vector<MissingETBase::Types::objlink_t >& myConst = m_objConstLinks[objIdx];
685  // loop over subsequent objects in this association
686  // (assume earlier ones have been tested)
687  vector<size_t>& myOverlaps = f_overlapIndices()[objIdx];
688  for(size_t iTargetObj=objIdx+1; iTargetObj<this->objectLinks().size(); ++iTargetObj) {
689  const vector<MissingETBase::Types::objlink_t >& checkConst = m_objConstLinks[iTargetObj];
690  bool overlapFound(false);
691  unsigned char overlapTypes(0);
692  // if we somehow already recorded an overlap for this one, skip
693  for(vector<size_t>::const_iterator iOverlap=myOverlaps.begin();
694  iOverlap!=myOverlaps.end() && !overlapFound; ++iOverlap) {
695  overlapFound = (*iOverlap) == iTargetObj;
696  }
697  if(overlapFound) continue;
698  // otherwise, compare constituents to check if any match
699  for(const auto& mine : myConst) {
700  for(const auto& target : checkConst) {
701  overlapFound |= ( mine == target );
702  if(mine == target) {
703  if((*mine)->type()==xAOD::Type::TruthParticle) overlapTypes |= 1;
704  else if((*mine)->type()==xAOD::Type::Other) overlapTypes |= 1 << xAOD::Type::NeutralParticle;
705  else if((*mine)->type()==xAOD::Type::FlowElement) overlapTypes |= 1 << FEHelpers::signalToXAODType(static_cast<const xAOD::FlowElement&>(**mine));
706  else overlapTypes |= 1 << (*mine)->type();
707  }
708  }
709  }
710  // record the overlap
711  if(overlapFound) {
712  this->addOverlap(objIdx,iTargetObj,overlapTypes);
713  this->addOverlap(iTargetObj,objIdx,overlapTypes);
714  }
715  }
716  return !overlapIndices(objIdx).empty();
717  }

◆ index() [1/2]

size_t SG::IAuxElement::index ( ) const
inherited

Return the index of this element within its container.

◆ index() [2/2]

size_t SG::IAuxElement::index
inherited

Return the index of this element within its container.

Inherited from IAuxElement.

◆ initCache()

void xAOD::MissingETAssociation_v1::initCache ( )
protected

initialise cache for overlap removal decisions

Definition at line 868 of file MissingETAssociation_v1.cxx.

869  {
870 
871  m_objConstLinks.clear();
872  m_objConstLinks.reserve(50);
873  }

◆ isAvailable()

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool SG::AuxElement::isAvailable ( const std::string &  name,
const std::string &  clsname = "" 
) const
inherited

Check if an aux variable is available for reading.

Parameters
nameName of the aux variable.
clsnameThe name of the associated class. May be blank.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

◆ isAvailableWritable()

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool SG::AuxElement::isAvailableWritable ( const std::string &  name,
const std::string &  clsname = "" 
)
inherited

Check if an aux variable is available for writing.

Parameters
nameName of the aux variable.
clsnameThe name of the associated class. May be blank.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

◆ isAvailableWritableAsDecoration()

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool SG::AuxElement::isAvailableWritableAsDecoration ( const std::string &  name,
const std::string &  clsname = "" 
) const
inherited

Check if an aux variable is available for writing as a decoration.

Parameters
nameName of the aux variable.
clsnameThe name of the associated class. May be blank.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

◆ isMisc()

bool xAOD::MissingETAssociation_v1::isMisc ( ) const

Check if this association is a miscellaneous association.

◆ jetLink()

const MissingETBase::Types::jetlink_t& xAOD::MissingETAssociation_v1::jetLink ( ) const

Get the link to the reference jet.

◆ jettrke()

float xAOD::MissingETAssociation_v1::jettrke ( ) const

Get the vector \( E \) for a given object referenced by index.

◆ jettrkpx()

float xAOD::MissingETAssociation_v1::jettrkpx ( ) const

Get the vector \( P_{x} \) for a given object referenced by index.

◆ jettrkpy()

float xAOD::MissingETAssociation_v1::jettrkpy ( ) const

Get the vector \( P_{y} \) for a given object referenced by pointer.

◆ jettrkpz()

float xAOD::MissingETAssociation_v1::jettrkpz ( ) const

Get the vector \( P_{z} \) for a given object referenced by pointer.

◆ jettrksumpt()

float xAOD::MissingETAssociation_v1::jettrksumpt ( ) const

Get the sumpt for a given object referenced by index.

◆ jetTrkVec()

constvec_t xAOD::MissingETAssociation_v1::jetTrkVec ( ) const

Get track constituent vector for the reference jet.

Definition at line 570 of file MissingETAssociation_v1.cxx.

571  { return constvec_t(this->jettrkpx(),this->jettrkpy(),this->jettrkpz(),this->jettrke(),this->jettrksumpt()); }

◆ makePrivateStore() [1/3]

void SG::AuxElement::makePrivateStore ( )
inherited

Create a new (empty) private store for this object.

ExcBadPrivateStore will be thrown if this object is already associated with a store.

Definition at line 172 of file AuxElement.cxx.

173 {
174  if (m_container) {
175  throw SG::ExcBadPrivateStore ("store already exists");
176  }
177 
181 }

◆ makePrivateStore() [2/3]

template<class U1 >
void SG::AuxElement::makePrivateStore ( const U1 &  other)
inherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.

ExcBadPrivateStore will be thrown if this object is already associated with a store.

If other is an object that has aux data, then those data will be copied; otherwise, nothing will be done.

◆ makePrivateStore() [3/3]

template<class U1 >
void SG::AuxElement::makePrivateStore ( const U1 *  other)
inherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.

ExcBadPrivateStore will be thrown if this object is already associated with a store.

If other is an object that has aux data, then those data will be copied; otherwise, nothing will be done.

◆ makePrivateStore1() [1/2]

void SG::AuxElement::makePrivateStore1 ( const AuxElement other)
privateinherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.

ExcBadPrivateStore will be thrown if this object is already associated with a store.

This overload handles the case where other does have aux data.

Definition at line 521 of file AuxElement.cxx.

522 {
524  if (other)
525  this->copyAux (*other);
526 }

◆ makePrivateStore1() [2/2]

void SG::AuxElement::makePrivateStore1 ( const void *  )
privateinherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.

ExcBadPrivateStore will be thrown if this object is already associated with a store.

This overload handles the case where other does not have aux data.

◆ noPrivateData()

bool SG::IAuxElement::noPrivateData ( ) const
protectedinherited

True if this element has no private data.

◆ objectLinks()

const MissingETBase::Types::objlink_vector_t& xAOD::MissingETAssociation_v1::objectLinks ( ) const

Get the vector of links to the contributing physics or signal objects.

◆ objects() [1/3]

std::vector< const IParticle * > xAOD::MissingETAssociation_v1::objects ( ) const

Access contributing objects.

Definition at line 505 of file MissingETAssociation_v1.cxx.

506  {
507  vector<const IParticle*> pVec;
508  for ( objlink_vector_t::const_iterator fLnk(this->objectLinks().begin()); fLnk != this->objectLinks().end(); ++fLnk) {pVec.push_back((*fLnk).isValid()?*(*fLnk):nullptr); }
509  return pVec;
510  }

◆ objects() [2/3]

std::vector< const IParticle * > xAOD::MissingETAssociation_v1::objects ( const std::vector< float > *&  calpxPtr,
const std::vector< float > *&  calpyPtr,
const std::vector< float > *&  calpzPtr,
const std::vector< float > *&  calePtr,
const std::vector< float > *&  calsumptPtr,
const std::vector< float > *&  trkpxPtr,
const std::vector< float > *&  trkpyPtr,
const std::vector< float > *&  trkpzPtr,
const std::vector< float > *&  trkePtr,
const std::vector< float > *&  trksumptPtr 
) const

Access contributing objects and retrieve constituent vectors.

Definition at line 524 of file MissingETAssociation_v1.cxx.

530  {
531  calpxPtr = &(this->calpx()); calpyPtr = &(this->calpy()); calpzPtr = &(this->calpz()); calePtr = &(this->cale()); calsumptPtr = &(this->calsumpt());
532  trkpxPtr = &(this->trkpx()); trkpyPtr = &(this->trkpy()); trkpzPtr = &(this->trkpz()); trkePtr = &(this->trke()); trksumptPtr = &(this->trksumpt());
533  return this->objects();
534  }

◆ objects() [3/3]

std::vector< const IParticle * > xAOD::MissingETAssociation_v1::objects ( std::vector< ConstVec > &  calVecs,
std::vector< ConstVec > &  trkVecs 
) const

Access contributing objects and retrieve constituent vectors.

Definition at line 512 of file MissingETAssociation_v1.cxx.

513  {
514  size_t nEnt(this->objectLinks().size());
515  vector<const IParticle*> pVec(nEnt,(const IParticle*)nullptr);
516  calVecs.clear(); calVecs.resize(this->sizeCal(),constvec_t());
517  trkVecs.clear(); trkVecs.resize(this->sizeTrk(),constvec_t());
518  for ( size_t idx(0); idx < nEnt; ++idx ) pVec[idx] = *(this->objectLinks().at(idx));
519  for ( size_t idx(0); idx < this->sizeCal(); idx++) calVecs[idx] = constvec_t(this->calpx(idx),this->calpy(idx),this->calpz(idx),this->cale(idx),this->calsumpt(idx));
520  for ( size_t idx(0); idx < this->sizeTrk(); idx++) trkVecs[idx] = constvec_t(this->trkpx(idx),this->trkpy(idx),this->trkpz(idx),this->trke(idx),this->trksumpt(idx));
521  return pVec;
522  }

◆ operator!=()

Equality.

◆ operator=()

MissingETAssociation_v1 & xAOD::MissingETAssociation_v1::operator= ( const MissingETAssociation_v1 assocDescr)

Definition at line 121 of file MissingETAssociation_v1.cxx.

122  {
123  if((&assocDescr) != this) {
124  f_isMisc() = assocDescr.isMisc();
125  this->setJetLink(assocDescr.jetLink());
126  this->setObjectLinks(assocDescr.objectLinks());
127  this->setOverlaps(assocDescr.overlapIndices(),assocDescr.overlapTypes());
128  this->setCalPx(assocDescr.calpx());
129  this->setCalPy(assocDescr.calpy());
130  this->setCalPz(assocDescr.calpz());
131  this->setCalE(assocDescr.cale());
132  this->setCalSumpt(assocDescr.calsumpt());
133  this->setCalKey(assocDescr.calkey());
134  this->setTrkPx(assocDescr.trkpx());
135  this->setTrkPy(assocDescr.trkpy());
136  this->setTrkPz(assocDescr.trkpz());
137  this->setTrkE(assocDescr.trke());
138  this->setTrkSumpt(assocDescr.trksumpt());
139  this->setTrkKey(assocDescr.trkkey());
140  this->setJetTrkPx(assocDescr.jettrkpx());
141  this->setJetTrkPy(assocDescr.jettrkpy());
142  this->setJetTrkPz(assocDescr.jettrkpz());
143  this->setJetTrkE(assocDescr.jettrke());
144  }
145  return *this;
146  }

◆ operator==()

bool xAOD::MissingETAssociation_v1::operator== ( const MissingETAssociation_v1 contrib) const

Definition at line 577 of file MissingETAssociation_v1.cxx.

578  {
579  // FIXME compare only jet link and number of contributing particles
580  return
581  this->jetLink() == assocDescr.jetLink() &&
582  this->size() == assocDescr.size();
583  }

◆ overlapCalVec()

constvec_t xAOD::MissingETAssociation_v1::overlapCalVec ( const MissingETAssociationHelper helper) const

Retrieve total cluster-based vector to be subtracted from the jet.

Definition at line 772 of file MissingETAssociation_v1.cxx.

773  {
774  constvec_t calvec;
775  for (size_t iKey = 0; iKey < this->sizeCal(); iKey++) {
776  bool selector = (helper.getObjSelectionFlags(this) & this->calkey()[iKey]) ? !this->isMisc() : this->isMisc();
777  if (selector) calvec+=this->calVec(iKey);
778  }
779  return calvec;
780  }

◆ overlapIndices() [1/3]

const std::vector<std::vector<size_t> >& xAOD::MissingETAssociation_v1::overlapIndices ( ) const

Get the list of object overlapIndices.

◆ overlapIndices() [2/3]

std::vector<size_t> xAOD::MissingETAssociation_v1::overlapIndices ( const IParticle pPart) const

Get the overlap indices for a given object referenced by pointer.

◆ overlapIndices() [3/3]

std::vector< size_t > xAOD::MissingETAssociation_v1::overlapIndices ( size_t  objIdx) const

Get the overlap indices for a given object referenced by index.

Definition at line 495 of file MissingETAssociation_v1.cxx.

496  {
497  return (objIdx != MissingETBase::Numerical::invalidIndex() && objIdx < this->size()) ? this->overlapIndices()[objIdx] : vector<size_t>(0);
498  }

◆ overlapTrkVec()

constvec_t xAOD::MissingETAssociation_v1::overlapTrkVec ( const MissingETAssociationHelper helper) const

Retrieve total track-based vector to be subtracted from the jet.

Definition at line 782 of file MissingETAssociation_v1.cxx.

783  {
784  constvec_t trkvec;
785  for (size_t iKey = 0; iKey < this->sizeTrk(); iKey++) {
786  bool selector = (helper.getObjSelectionFlags(this) & this->trkkey()[iKey]) ? !this->isMisc() : this->isMisc();
787  if (selector) trkvec+=ConstVec(this->trkpx()[iKey],this->trkpy()[iKey],this->trkpz()[iKey],this->trke()[iKey],this->trksumpt()[iKey]);
788  }
789  return trkvec;
790  }

◆ overlapTypes() [1/3]

const std::vector<std::vector<unsigned char> >& xAOD::MissingETAssociation_v1::overlapTypes ( ) const

Get the list of object overlapTypes.

◆ overlapTypes() [2/3]

std::vector<unsigned char> xAOD::MissingETAssociation_v1::overlapTypes ( const IParticle pPart) const

Get the overlap types for a given object referenced by pointer.

◆ overlapTypes() [3/3]

std::vector< unsigned char > xAOD::MissingETAssociation_v1::overlapTypes ( size_t  objIdx) const

Get the overlap types for a given object referenced by index.

Definition at line 500 of file MissingETAssociation_v1.cxx.

501  {
502  return (objIdx != MissingETBase::Numerical::invalidIndex() && objIdx < this->size()) ? this->overlapTypes()[objIdx] : vector<unsigned char>(0);
503  }

◆ overrideMom()

std::map<const IParticle*,ConstVec> xAOD::MissingETAssociation_v1::overrideMom ( )

Get override momenta.

◆ refJet()

const Jet* xAOD::MissingETAssociation_v1::refJet ( ) const

Access reference jet.

◆ refJetContainer()

const JetContainer* xAOD::MissingETAssociation_v1::refJetContainer ( ) const

Access reference jet container holding reference jet.

◆ refJetIndex()

size_t xAOD::MissingETAssociation_v1::refJetIndex ( ) const

Access index of reference jet in its container.

◆ releasePrivateStore()

void SG::AuxElement::releasePrivateStore ( )
inherited

Release and free any private store associated with this object.

ExcBadPrivateStore will be thrown if this object does not have a private store.

Definition at line 190 of file AuxElement.cxx.

191 {
192  if (hadPrivateData()) {
193  // We had a private store, but it was released because this object
194  // was added to a container. Just forget about it.
196  return;
197  }
198 
199  if (!havePrivateData() ||
200  !m_container ||
201  typeid(*m_container) != typeid(AuxElementPrivateData))
202  {
203  throw SG::ExcBadPrivateStore ("no private store exists");
204  }
205 
208  delete m_container;
209  m_container = 0;
210 }

◆ releasePrivateStoreForDtor()

void SG::AuxElement::releasePrivateStoreForDtor ( )
privateinherited

Out-of-line portion of destructor.

Delete a private store if we have one.

Definition at line 398 of file AuxElement.cxx.

399 {
400 #ifdef ATHCONTAINERS_R21_COMPAT
401  if (havePrivateData()) {
402  delete m_container;
403  }
404 #else
406 #endif
407 }

◆ removeContrib() [1/3]

bool xAOD::MissingETAssociation_v1::removeContrib ( )

Remove all contributions.

Definition at line 213 of file MissingETAssociation_v1.cxx.

214  {
215  if ( this->empty() ) { return false; }
216  else
217  { size_t nEnt(this->size()); for ( size_t objIdx(0); objIdx<nEnt; ++objIdx ) { this->f_removeContrib(objIdx); } return true; }
218  }

◆ removeContrib() [2/3]

bool xAOD::MissingETAssociation_v1::removeContrib ( const IParticle pPart)

Remove a contribution referenced by an object pointer.

◆ removeContrib() [3/3]

bool xAOD::MissingETAssociation_v1::removeContrib ( size_t  objIdx)

Remove a contribution referenced by an index.

◆ resetContrib() [1/3]

bool xAOD::MissingETAssociation_v1::resetContrib ( )

Reset all contribution parameters.

Definition at line 249 of file MissingETAssociation_v1.cxx.

250  {
251  for (size_t idx = 0; idx < this->size(); idx++) this->f_overlapIndices()[idx].clear();
252  for (size_t idx = 0; idx < this->size(); idx++) this->f_overlapTypes()[idx].clear();
253  this->f_calpx().clear();
254  this->f_calpy().clear();
255  this->f_calpz().clear();
256  this->f_cale().clear();
257  this->f_calsumpt().clear();
258  this->f_calkey().clear();
259  this->f_trkpx().clear();
260  this->f_trkpy().clear();
261  this->f_trkpz().clear();
262  this->f_trke().clear();
263  this->f_trksumpt().clear();
264  this->f_trkkey().clear();
265  return true;
266  }

◆ resetContrib() [2/3]

bool xAOD::MissingETAssociation_v1::resetContrib ( const IParticle pPart)

Reset the contribution parameters of an object referenced by a pointer.

◆ resetContrib() [3/3]

bool xAOD::MissingETAssociation_v1::resetContrib ( size_t  objIdx)

Reset the contribution parameters of an object referenced by an index.

Definition at line 243 of file MissingETAssociation_v1.cxx.

244  {
245  this->resetContrib();
246  return true;
247  }

◆ setCalE() [1/2]

bool xAOD::MissingETAssociation_v1::setCalE ( const std::vector< float > &  calevec)

Set the vector of \( E \)

Definition at line 305 of file MissingETAssociation_v1.cxx.

306  { this->f_cale().clear(); this->f_cale().insert(this->f_cale().end(),calevec.begin(),calevec.end()); return !this->f_cale().empty(); }

◆ setCalE() [2/2]

bool xAOD::MissingETAssociation_v1::setCalE ( size_t  keyIdx,
float  cale 
)

Set calo constituent vector \( E \) for a given contributing object referenced by index.

Definition at line 333 of file MissingETAssociation_v1.cxx.

334  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_cale().size() ) { this->f_cale()[keyIdx] = cale; return true; } else { return false; } }

◆ setCalKey() [1/2]

bool xAOD::MissingETAssociation_v1::setCalKey ( const std::vector< MissingETBase::Types::bitmask_t > &  calkeyvec)

Set the vector of keys

Definition at line 309 of file MissingETAssociation_v1.cxx.

310  { this->f_calkey().clear(); this->f_calkey().insert(this->f_calkey().end(),calkeyvec.begin(),calkeyvec.end()); return !this->f_calkey().empty(); }

◆ setCalKey() [2/2]

bool xAOD::MissingETAssociation_v1::setCalKey ( size_t  keyIdx,
MissingETBase::Types::bitmask_t  calkey 
)

Set calo key for a given contributing entry referenced by index.

Definition at line 337 of file MissingETAssociation_v1.cxx.

338  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_calkey().size() ) { this->f_calkey()[keyIdx] = calkey; return true; } else { return false; } }

◆ setCalPx() [1/2]

bool xAOD::MissingETAssociation_v1::setCalPx ( const std::vector< float > &  calpxvec)

Set the vector of \( P_{x} \)

Definition at line 299 of file MissingETAssociation_v1.cxx.

300  { this->f_calpx().clear(); this->f_calpx().insert(this->f_calpx().end(),calpxvec.begin(),calpxvec.end()); return !this->f_calpx().empty(); }

◆ setCalPx() [2/2]

bool xAOD::MissingETAssociation_v1::setCalPx ( size_t  keyIdx,
float  calpx 
)

Set calo constituent vector \( P_{x} \) for a given contributing object referenced by index.

Definition at line 327 of file MissingETAssociation_v1.cxx.

328  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_calpx().size() ) { this->f_calpx()[keyIdx] = calpx; return true; } else { return false; } }

◆ setCalPy() [1/2]

bool xAOD::MissingETAssociation_v1::setCalPy ( const std::vector< float > &  calpyvec)

Set the vector of \( P_{y} \)

Definition at line 301 of file MissingETAssociation_v1.cxx.

302  { this->f_calpy().clear(); this->f_calpy().insert(this->f_calpy().end(),calpyvec.begin(),calpyvec.end()); return !this->f_calpy().empty(); }

◆ setCalPy() [2/2]

bool xAOD::MissingETAssociation_v1::setCalPy ( size_t  keyIdx,
float  calpy 
)

Set calo constituent vector \( P_{y} \) for a given contributing object referenced by index.

Definition at line 329 of file MissingETAssociation_v1.cxx.

330  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_calpy().size() ) { this->f_calpy()[keyIdx] = calpy; return true; } else { return false; } }

◆ setCalPz() [1/2]

bool xAOD::MissingETAssociation_v1::setCalPz ( const std::vector< float > &  calpzvec)

Set the vector of \( P_{z} \)

Definition at line 303 of file MissingETAssociation_v1.cxx.

304  { this->f_calpz().clear(); this->f_calpz().insert(this->f_calpz().end(),calpzvec.begin(),calpzvec.end()); return !this->f_calpz().empty(); }

◆ setCalPz() [2/2]

bool xAOD::MissingETAssociation_v1::setCalPz ( size_t  keyIdx,
float  calpz 
)

Set calo constituent vector \( P_{z} \) for a given contributing object referenced by index.

Definition at line 331 of file MissingETAssociation_v1.cxx.

332  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_calpz().size() ) { this->f_calpz()[keyIdx] = calpz; return true; } else { return false; } }

◆ setCalSumpt() [1/2]

bool xAOD::MissingETAssociation_v1::setCalSumpt ( const std::vector< float > &  calsumptvec)

Set the vector of sumpt

Definition at line 307 of file MissingETAssociation_v1.cxx.

308  { this->f_calsumpt().clear(); this->f_calsumpt().insert(this->f_calsumpt().end(),calsumptvec.begin(),calsumptvec.end()); return !this->f_calsumpt().empty(); }

◆ setCalSumpt() [2/2]

bool xAOD::MissingETAssociation_v1::setCalSumpt ( size_t  keyIdx,
float  calsumpt 
)

Set calo constituent sumpt for a given contributing object referenced by index.

Definition at line 335 of file MissingETAssociation_v1.cxx.

336  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_calsumpt().size() ) { this->f_calsumpt()[keyIdx] = calsumpt; return true; } else { return false; } }

◆ setCalVec() [1/2]

bool xAOD::MissingETAssociation_v1::setCalVec ( size_t  keyIdx,
const ConstVec cvec = ConstVec() 
)

Set the calo constituent vector of an object contribution referenced by index.

◆ setCalVec() [2/2]

bool xAOD::MissingETAssociation_v1::setCalVec ( size_t  keyIdx,
float  calpx,
float  calpy,
float  calpz,
float  ce,
float  sumpt 
)

Set the calo constituent vectors of an object contribution referenced by index.

Definition at line 339 of file MissingETAssociation_v1.cxx.

340  {
341  if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_cale().size() ) {
342  this->f_calpx()[keyIdx] = calpx; this->f_calpy()[keyIdx] = calpy;
343  this->f_calpz()[keyIdx] = calpz; this->f_cale()[keyIdx] = cale;
344  this->f_calsumpt()[keyIdx] = sumpt; return true;
345  } else { return false; }
346  }

◆ setConstStore()

void SG::AuxElement::setConstStore ( const SG::IConstAuxStore store)
inherited

Synonym for setStore with IConstAuxStore.

Parameters
storeThe new store.

◆ setHadPrivateData()

void SG::IAuxElement::setHadPrivateData ( )
privateinherited

Record that this element used to have private data.

◆ setHavePrivateData()

void SG::IAuxElement::setHavePrivateData ( )
privateinherited

Record that this element currently has private data.

◆ setIndex()

void SG::AuxElement::setIndex ( size_t  index,
SG::AuxVectorData container 
)
privateinherited

Set the index/container for this element.

Parameters
indexThe index of this object within the container.
containerThe container holding this object. May be null if this object is being removed from a container.

Usually this simply sets the index and container members of this object. However, in the case where this object has an associated private store, then we need to deal with releasing the store if the object is being added to a container, or making a new store if the object is being removed from a container.

◆ setIndexPrivate()

bool SG::AuxElement::setIndexPrivate ( size_t  index,
SG::AuxVectorData container 
)
privateinherited

Set the index/container for this element.

Parameters
indexThe index of this object within the container.
containerThe container holding this object. May be null if this object is being removed from a container.

This is called from setIndex when we have a private store to deal with.

Definition at line 462 of file AuxElement.cxx.

463 {
464 #ifdef ATHCONTAINERS_R21_COMPAT
465  if (hadPrivateData()) {
466  // We had a private store, but it was released because we were added
467  // to a container.
468 
469  if (container == 0) {
470  // We're being moved out of the container. Make a new private
471  // store, copy the data, and switch to it.
472  auto privateData = new SG::AuxElementPrivateData;
473  AuxElement to (privateData, 0);
474  to.copyAux (*this);
477  m_container = privateData;
478  return true;
479  }
480  }
481  else if (havePrivateData() &&
482  typeid(*m_container) == typeid(AuxElementPrivateData))
483  {
484  // We currently have a private store.
485 
486  if (container != 0 && container != m_container) {
487  // We're being added to a container.
488  // Aux data has already been copied.
489  // Release private store.
492  delete m_container;
494  return false;
495  }
496  }
497  else {
498  // We have a standalone store.
499  throw SG::ExcBadPrivateStore ("Attempt to add/remove a standalone object "
500  "from a container.");
501  }
502 
505  return false;
506 #else
508 #endif
509 }

◆ setJetLink()

bool xAOD::MissingETAssociation_v1::setJetLink ( const MissingETBase::Types::jetlink_t jetLnk)

Set the link to the reference jet.

Definition at line 450 of file MissingETAssociation_v1.cxx.

451  {
452  bool wasSet(this->f_jetLink().getStorableObjectPointer() != nullptr);
453  this->f_jetLink() = jetLnk;
454  return wasSet;
455  }

◆ setJetTrkE()

void xAOD::MissingETAssociation_v1::setJetTrkE ( float  e)

Set track constituent vector \( E \) for the reference jet.

Definition at line 402 of file MissingETAssociation_v1.cxx.

403  { this->f_jettrke() = e; }

◆ setJetTrkPx()

void xAOD::MissingETAssociation_v1::setJetTrkPx ( float  px)

Set track constituent vector \( P_{x} \) for the reference jet.

Definition at line 396 of file MissingETAssociation_v1.cxx.

397  { this->f_jettrkpx() = px; }

◆ setJetTrkPy()

void xAOD::MissingETAssociation_v1::setJetTrkPy ( float  py)

Set track constituent vector \( P_{y} \) for the reference jet.

Definition at line 398 of file MissingETAssociation_v1.cxx.

399  { this->f_jettrkpy() = py; }

◆ setJetTrkPz()

void xAOD::MissingETAssociation_v1::setJetTrkPz ( float  pz)

Set track constituent vector \( P_{z} \) for the reference jet.

Definition at line 400 of file MissingETAssociation_v1.cxx.

401  { this->f_jettrkpz() = pz; }

◆ setJetTrkSumpt()

void xAOD::MissingETAssociation_v1::setJetTrkSumpt ( float  sumpt)

Set track constituent vector \( E \) for the reference jet.

Definition at line 404 of file MissingETAssociation_v1.cxx.

405  { this->f_jettrksumpt() = sumpt; }

◆ setJetTrkVec() [1/2]

void xAOD::MissingETAssociation_v1::setJetTrkVec ( const ConstVec cvec = ConstVec())

Set the track constituent vector for the reference jet.

◆ setJetTrkVec() [2/2]

void xAOD::MissingETAssociation_v1::setJetTrkVec ( float  px,
float  py,
float  pz,
float  ce,
float  sumpt 
)

Set the track constituent vector for the reference jet.

Definition at line 406 of file MissingETAssociation_v1.cxx.

407  {
408  this->f_jettrkpx() = px; this->f_jettrkpy() = py;
409  this->f_jettrkpz() = pz; this->f_jettrke() = e;
410  this->f_jettrksumpt() = sumpt;
411  }

◆ setNonConstStore()

void SG::AuxElement::setNonConstStore ( SG::IAuxStore store)
inherited

Synonym for setStore with IAuxStore.

Parameters
storeThe new store.

◆ setNoPrivateData()

void SG::IAuxElement::setNoPrivateData ( )
privateinherited

Record that this element does not have private data.

◆ setObjectLinks()

bool xAOD::MissingETAssociation_v1::setObjectLinks ( const MissingETBase::Types::objlink_vector_t objLnks)

Set the vector of links to the contributing physics or signal objects.

Definition at line 457 of file MissingETAssociation_v1.cxx.

458  {
459  bool wasSet(!this->f_objectLinks().empty());
460  if ( wasSet ) { this->f_objectLinks().clear(); this->f_objectLinks().insert(this->f_objectLinks().end(),objLnks.begin(),objLnks.end()); }
461  return wasSet;
462  }

◆ setOverlaps() [1/3]

bool xAOD::MissingETAssociation_v1::setOverlaps ( const IParticle pPart,
const std::vector< size_t > &  overlapIndices,
const std::vector< unsigned char > &  overlapTypes 
)

Set overlap indices and types for a given contributing object referenced by pointer.

◆ setOverlaps() [2/3]

bool xAOD::MissingETAssociation_v1::setOverlaps ( const std::vector< std::vector< size_t > > &  overlapIndices,
const std::vector< std::vector< unsigned char > > &  overlapTypes 
)

Set the vector of overlap indices and types.

Definition at line 420 of file MissingETAssociation_v1.cxx.

421  {
422  this->f_overlapIndices().clear(); this->f_overlapIndices().insert(this->f_overlapIndices().end(),overlapIndexVector.begin(),overlapIndexVector.end());
423  this->f_overlapTypes().clear(); this->f_overlapTypes().insert(this->f_overlapTypes().end(),overlapTypeVector.begin(),overlapTypeVector.end());
424  return !this->f_overlapIndices().empty();
425  }

◆ setOverlaps() [3/3]

bool xAOD::MissingETAssociation_v1::setOverlaps ( size_t  objIdx,
const std::vector< size_t > &  overlapIndices,
const std::vector< unsigned char > &  overlapTypes 
)

Set overlap indices and types for a given contributing object referenced by index.

Definition at line 426 of file MissingETAssociation_v1.cxx.

427  {
428  if ( objIdx != MissingETBase::Numerical::invalidIndex() && objIdx < this->f_overlapIndices().size() ) {
429  this->f_overlapIndices()[objIdx] = overlapIndices;
430  this->f_overlapTypes()[objIdx] = overlapTypes;
431  return true;
432  } else { return false; }
433  }

◆ setOverrideMom()

void xAOD::MissingETAssociation_v1::setOverrideMom ( const std::map< const IParticle *, ConstVec > &  pOverride)

Set override momenta.

◆ setRefJet() [1/2]

bool xAOD::MissingETAssociation_v1::setRefJet ( const Jet pJet)

Set reference jet by object pointer reference.

Definition at line 436 of file MissingETAssociation_v1.cxx.

437  {
438  bool wasSet(this->f_jetLink().getStorableObjectPointer() != nullptr);
439  f_setObject<Jet,MissingETBase::Types::jetlink_t>(pJet,this->f_jetLink());
440  return wasSet;
441  }

◆ setRefJet() [2/2]

bool xAOD::MissingETAssociation_v1::setRefJet ( const JetContainer pJetCont,
size_t  pJetIdx 
)

Set reference jet by container pointer and index reference.

Definition at line 443 of file MissingETAssociation_v1.cxx.

444  {
445  bool wasSet(this->f_jetLink().getStorableObjectPointer() != nullptr);
446  this->f_jetLink().toIndexedElement(*pJetCont,pJetIdx);
447  return wasSet;
448  }

◆ setStore() [1/3]

void SG::AuxElement::setStore ( const DataLink< SG::IConstAuxStore > &  store)
inherited

Set the store associated with this object.

Parameters
storeThe new store.

If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.

Parameters
storeLink to the new store.

Definition at line 249 of file AuxElement.cxx.

250 {
251  AuxElementStandaloneData* data = setStore1 (store);
252  if (store)
253  data->setStore (store);
254 }

◆ setStore() [2/3]

void SG::AuxElement::setStore ( const SG::IConstAuxStore store)
inherited

Set the store associated with this object.

Parameters
storeThe new store.

If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.

Definition at line 221 of file AuxElement.cxx.

222 {
223  AuxElementStandaloneData* data = setStore1 (store);
224  if (store)
225  data->setStore (store);
226 }

◆ setStore() [3/3]

void SG::AuxElement::setStore ( SG::IAuxStore store)
inherited

Set the store associated with this object.

Parameters
storeThe new store.

If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.

Definition at line 237 of file AuxElement.cxx.

238 {
239  AuxElementStandaloneData* data = setStore1 (store);
240  if (store)
241  data->setStore (store);
242 }

◆ setStore1()

AuxElementStandaloneData * SG::AuxElement::setStore1 ( const SG::IConstAuxStore store)
privateinherited

Set the store associated with this object.

Parameters
storeThe new store.

Helper for setStore. Creates the AuxElementStandaloneData object if needed and returns it.

Parameters
storeThe new store.

Helper for setStore. Creates the @x AuxElementStandaloneData object if needed and returns it.

Definition at line 418 of file AuxElement.cxx.

419 {
420  if (store) {
421  // Want this object be standalone.
422  if (!m_container) {
423  // Not in a container (and no private store). Make a new object.
424  AuxElementStandaloneData* data = new AuxElementStandaloneData;
426  m_container = data;
427  return data;
428  }
429  if (usingStandaloneStore()) {
430  // Standalone --- return existing object.
431  return static_cast<AuxElementStandaloneData*> (container());
432  }
433  // Otherwise, it's an error.
434  throw ExcBadPrivateStore ("Attempt to attach a standalone store to an "
435  "object in a container or with a private store.");
436  }
437 
438  else {
439  // Getting rid of a standalone store.
440  if (usingStandaloneStore()) {
442  delete m_container;
443  m_container = 0;
444  }
445  else if (m_container != 0)
446  throw ExcBadPrivateStore ("Attempt to remove a standalone store from an "
447  "object in a container or with a private store.");
448  return 0;
449  }
450 }

◆ setTrkE() [1/2]

bool xAOD::MissingETAssociation_v1::setTrkE ( const std::vector< float > &  trkevec)

Set the vector of \( E \)

Definition at line 318 of file MissingETAssociation_v1.cxx.

319  { this->f_trke().clear(); this->f_trke().insert(this->f_trke().end(),trkevec.begin(),trkevec.end()); return !this->f_trke().empty(); }

◆ setTrkE() [2/2]

bool xAOD::MissingETAssociation_v1::setTrkE ( size_t  keyIdx,
float  trke 
)

Set track constituent vector \( E \) for a given contributing object referenced by index.

Definition at line 367 of file MissingETAssociation_v1.cxx.

368  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_trke().size() ) { this->f_trke()[keyIdx] = trke; return true; } else { return false; } }

◆ setTrkKey() [1/2]

bool xAOD::MissingETAssociation_v1::setTrkKey ( const std::vector< MissingETBase::Types::bitmask_t > &  trkkeyvec)

Set the vector of keys

Definition at line 322 of file MissingETAssociation_v1.cxx.

323  { this->f_trkkey().clear(); this->f_trkkey().insert(this->f_trkkey().end(),trkkeyvec.begin(),trkkeyvec.end()); return !this->f_trkkey().empty(); }

◆ setTrkKey() [2/2]

bool xAOD::MissingETAssociation_v1::setTrkKey ( size_t  keyIdx,
MissingETBase::Types::bitmask_t  trkkey 
)

Set trk key for a given contributing entry referenced by index.

Definition at line 371 of file MissingETAssociation_v1.cxx.

372  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_trkkey().size() ) { this->f_trkkey()[keyIdx] = trkkey; return true; } else { return false; } }

◆ setTrkPx() [1/2]

bool xAOD::MissingETAssociation_v1::setTrkPx ( const std::vector< float > &  trkpxvec)

Set the vector of \( P_{x} \)

Definition at line 312 of file MissingETAssociation_v1.cxx.

313  { this->f_trkpx().clear(); this->f_trkpx().insert(this->f_trkpx().end(),trkpxvec.begin(),trkpxvec.end()); return !this->f_trkpx().empty(); }

◆ setTrkPx() [2/2]

bool xAOD::MissingETAssociation_v1::setTrkPx ( size_t  keyIdx,
float  trkpx 
)

Set track constituent vector \( P_{x} \) for a given contributing object referenced by index.

Definition at line 361 of file MissingETAssociation_v1.cxx.

362  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_trkpx().size() ) { this->f_trkpx()[keyIdx] = trkpx; return true; } else { return false; } }

◆ setTrkPy() [1/2]

bool xAOD::MissingETAssociation_v1::setTrkPy ( const std::vector< float > &  trkpyvec)

Set the vector of \( P_{y} \)

Definition at line 314 of file MissingETAssociation_v1.cxx.

315  { this->f_trkpy().clear(); this->f_trkpy().insert(this->f_trkpy().end(),trkpyvec.begin(),trkpyvec.end()); return !this->f_trkpy().empty(); }

◆ setTrkPy() [2/2]

bool xAOD::MissingETAssociation_v1::setTrkPy ( size_t  keyIdx,
float  trkpy 
)

Set track constituent vector \( P_{y} \) for a given contributing object referenced by index.

Definition at line 363 of file MissingETAssociation_v1.cxx.

364  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_trkpy().size() ) { this->f_trkpy()[keyIdx] = trkpy; return true; } else { return false; } }

◆ setTrkPz() [1/2]

bool xAOD::MissingETAssociation_v1::setTrkPz ( const std::vector< float > &  trkpzvec)

Set the vector of \( P_{z} \)

Definition at line 316 of file MissingETAssociation_v1.cxx.

317  { this->f_trkpz().clear(); this->f_trkpz().insert(this->f_trkpz().end(),trkpzvec.begin(),trkpzvec.end()); return !this->f_trkpz().empty(); }

◆ setTrkPz() [2/2]

bool xAOD::MissingETAssociation_v1::setTrkPz ( size_t  keyIdx,
float  trkpz 
)

Set track constituent vector \( P_{z} \) for a given contributing object referenced by index.

Definition at line 365 of file MissingETAssociation_v1.cxx.

366  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_trkpz().size() ) { this->f_trkpz()[keyIdx] = trkpz; return true; } else { return false; } }

◆ setTrkSumpt() [1/2]

bool xAOD::MissingETAssociation_v1::setTrkSumpt ( const std::vector< float > &  trksumptvec)

Set the vector of \( E \)

Definition at line 320 of file MissingETAssociation_v1.cxx.

321  { this->f_trksumpt().clear(); this->f_trksumpt().insert(this->f_trksumpt().end(),trksumptvec.begin(),trksumptvec.end()); return !this->f_trksumpt().empty(); }

◆ setTrkSumpt() [2/2]

bool xAOD::MissingETAssociation_v1::setTrkSumpt ( size_t  keyIdx,
float  trksumpt 
)

Set track constituent vector \( E \) for a given contributing object referenced by index.

Definition at line 369 of file MissingETAssociation_v1.cxx.

370  { if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_trksumpt().size() ) { this->f_trksumpt()[keyIdx] = trksumpt; return true; } else { return false; } }

◆ setTrkVec() [1/2]

bool xAOD::MissingETAssociation_v1::setTrkVec ( size_t  keyIdx,
const ConstVec cvec = ConstVec() 
)

Set the track constituent vector of an object contribution referenced by index.

◆ setTrkVec() [2/2]

bool xAOD::MissingETAssociation_v1::setTrkVec ( size_t  keyIdx,
float  trkpx,
float  trkpy,
float  trkpz,
float  trke,
float  sumpt 
)

Set the track constituent vectors of an object contribution referenced by index.

Definition at line 373 of file MissingETAssociation_v1.cxx.

374  {
375  if ( keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->f_trke().size() ) {
376  this->f_trkpx()[keyIdx] = trkpx; this->f_trkpy()[keyIdx] = trkpy;
377  this->f_trkpz()[keyIdx] = trkpz; this->f_trke()[keyIdx] = trke;
378  this->f_trksumpt()[keyIdx] = sumpt; return true;
379  } else { return false; }
380  }

◆ testPolicy() [1/2]

bool xAOD::MissingETAssociation_v1::testPolicy ( const xAOD::IParticle part,
MissingETBase::UsageHandler::Policy  p 
)
static

Definition at line 875 of file MissingETAssociation_v1.cxx.

875  {
876  xAOD::Type::ObjectType objType = part.type();
877  if(objType == xAOD::Type::FlowElement) objType = FEHelpers::signalToXAODType(static_cast<const xAOD::FlowElement&>(part));
878  return testPolicy(objType, p);
879  }

◆ testPolicy() [2/2]

bool xAOD::MissingETAssociation_v1::testPolicy ( xAOD::Type::ObjectType  type,
MissingETBase::UsageHandler::Policy  p 
)
staticprotected

Definition at line 881 of file MissingETAssociation_v1.cxx.

881  {
882  switch(p) {
894  default: break;
895  }
896  return false;
897  }

◆ trackIndices()

bool SG::AuxElement::trackIndices ( ) const
inherited

Return true if index tracking is enabled for this object.

Always returns true. Included here to be consistent with AuxVectorBase when standalone objects may be used as template parameters.

◆ trke() [1/2]

const std::vector<float>& xAOD::MissingETAssociation_v1::trke ( ) const

Get the vector of \( E \)

◆ trke() [2/2]

float xAOD::MissingETAssociation_v1::trke ( size_t  keyIdx) const

Get the vector \( E \) for a given object referenced by index.

Definition at line 488 of file MissingETAssociation_v1.cxx.

489  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeTrk() ? this->trke()[keyIdx] : MissingETBase::Numerical::ceError(); }

◆ trkkey() [1/2]

const std::vector<MissingETBase::Types::bitmask_t>& xAOD::MissingETAssociation_v1::trkkey ( ) const

Get the vector of trk keys.

◆ trkkey() [2/2]

MissingETBase::Types::bitmask_t xAOD::MissingETAssociation_v1::trkkey ( size_t  keyIdx) const

Get the key for a given entry referenced by index.

Definition at line 492 of file MissingETAssociation_v1.cxx.

493  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeTrk() ? this->trkkey()[keyIdx] : MissingETBase::Numerical::invalidIndex(); }

◆ trkpx() [1/2]

const std::vector<float>& xAOD::MissingETAssociation_v1::trkpx ( ) const

Get the vector of \( P_{x} \)

◆ trkpx() [2/2]

float xAOD::MissingETAssociation_v1::trkpx ( size_t  keyIdx) const

Get the vector \( P_{x} \) for a given object referenced by index.

Definition at line 482 of file MissingETAssociation_v1.cxx.

483  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeTrk() ? this->trkpx()[keyIdx] : MissingETBase::Numerical::cpxError(); }

◆ trkpy() [1/2]

const std::vector<float>& xAOD::MissingETAssociation_v1::trkpy ( ) const

Get the vector of \( P_{y} \)

◆ trkpy() [2/2]

float xAOD::MissingETAssociation_v1::trkpy ( size_t  keyIdx) const

Get the vector \( P_{y} \) for a given object referenced by index.

Definition at line 484 of file MissingETAssociation_v1.cxx.

485  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeTrk() ? this->trkpy()[keyIdx] : MissingETBase::Numerical::cpyError(); }

◆ trkpz() [1/2]

const std::vector<float>& xAOD::MissingETAssociation_v1::trkpz ( ) const

Get the vector of \( P_{z} \)

◆ trkpz() [2/2]

float xAOD::MissingETAssociation_v1::trkpz ( size_t  keyIdx) const

Get the vector \( P_{z} \) for a given object referenced by index.

Definition at line 486 of file MissingETAssociation_v1.cxx.

487  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeTrk() ? this->trkpz()[keyIdx] : MissingETBase::Numerical::cpzError(); }

◆ trksumpt() [1/2]

const std::vector<float>& xAOD::MissingETAssociation_v1::trksumpt ( ) const

Get the vector of \( E \)

◆ trksumpt() [2/2]

float xAOD::MissingETAssociation_v1::trksumpt ( size_t  keyIdx) const

Get the vector \( E \) for a given object referenced by index.

Definition at line 490 of file MissingETAssociation_v1.cxx.

491  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeTrk() ? this->trksumpt()[keyIdx] : MissingETBase::Numerical::sumptError(); }

◆ trkVec() [1/2]

MissingETAssociation_v1::ConstVec xAOD::MissingETAssociation_v1::trkVec ( const IParticle pPart) const

Get track constituent vector for a given object.

Definition at line 550 of file MissingETAssociation_v1.cxx.

551  {
553  for (size_t iKey = 0; iKey < this->sizeTrk(); iKey++) {
554  if (this->trkkey(iKey) & getObjMask(this->findIndex(pPart)))
555  totalvec+=this->trkVec(iKey);
556  }
557  return totalvec;
558  }

◆ trkVec() [2/2]

constvec_t xAOD::MissingETAssociation_v1::trkVec ( size_t  keyIdx) const

Get track constituent vector for a given entry (index) in the contributing object list.

Definition at line 565 of file MissingETAssociation_v1.cxx.

566  { return keyIdx != MissingETBase::Numerical::invalidIndex() && keyIdx < this->sizeTrk()
567  ? constvec_t(this->trkpx(keyIdx),this->trkpy(keyIdx),this->trkpz(keyIdx),this->trke(keyIdx),this->trksumpt(keyIdx))
568  : constvec_t(MissingETBase::Numerical::cpxError(),MissingETBase::Numerical::cpyError(),MissingETBase::Numerical::cpzError(),MissingETBase::Numerical::ceError(),MissingETBase::Numerical::sumptError()); }

◆ usingPrivateStore()

bool SG::AuxElement::usingPrivateStore ( ) const
inherited

Test to see if this object is currently using a private store.

Definition at line 260 of file AuxElement.cxx.

261 {
262  return havePrivateData() &&
263  typeid(*m_container) == typeid(AuxElementPrivateData);
264 }

◆ usingStandaloneStore()

bool SG::AuxElement::usingStandaloneStore ( ) const
inherited

Test to see if this object is currently using a standalone store.

Test to see if this object is currently using a private store.

Definition at line 270 of file AuxElement.cxx.

271 {
272  return havePrivateData() &&
273  typeid(*m_container) == typeid(AuxElementStandaloneData);
274 }

Member Data Documentation

◆ m_acc_cale

const SG::AuxElement::Accessor< std::vector< float > > xAOD::MissingETAssociation_v1::m_acc_cale
staticprivate

Definition at line 435 of file MissingETAssociation_v1.h.

◆ m_acc_calpx

const SG::AuxElement::Accessor< std::vector< float > > xAOD::MissingETAssociation_v1::m_acc_calpx
staticprivate

Definition at line 432 of file MissingETAssociation_v1.h.

◆ m_acc_calpy

const SG::AuxElement::Accessor< std::vector< float > > xAOD::MissingETAssociation_v1::m_acc_calpy
staticprivate

Definition at line 433 of file MissingETAssociation_v1.h.

◆ m_acc_calpz

const SG::AuxElement::Accessor< std::vector< float > > xAOD::MissingETAssociation_v1::m_acc_calpz
staticprivate

Definition at line 434 of file MissingETAssociation_v1.h.

◆ m_acc_calsumpt

const SG::AuxElement::Accessor< std::vector< float > > xAOD::MissingETAssociation_v1::m_acc_calsumpt
staticprivate

Definition at line 436 of file MissingETAssociation_v1.h.

◆ m_acc_jettrke

const SG::AuxElement::Accessor< float > xAOD::MissingETAssociation_v1::m_acc_jettrke
staticprivate

Definition at line 447 of file MissingETAssociation_v1.h.

◆ m_acc_jettrkpx

const SG::AuxElement::Accessor< float > xAOD::MissingETAssociation_v1::m_acc_jettrkpx
staticprivate

Definition at line 444 of file MissingETAssociation_v1.h.

◆ m_acc_jettrkpy

const SG::AuxElement::Accessor< float > xAOD::MissingETAssociation_v1::m_acc_jettrkpy
staticprivate

Definition at line 445 of file MissingETAssociation_v1.h.

◆ m_acc_jettrkpz

const SG::AuxElement::Accessor< float > xAOD::MissingETAssociation_v1::m_acc_jettrkpz
staticprivate

Definition at line 446 of file MissingETAssociation_v1.h.

◆ m_acc_jettrksumpt

const SG::AuxElement::Accessor< float > xAOD::MissingETAssociation_v1::m_acc_jettrksumpt
staticprivate

Definition at line 448 of file MissingETAssociation_v1.h.

◆ m_acc_trke

const SG::AuxElement::Accessor< std::vector< float > > xAOD::MissingETAssociation_v1::m_acc_trke
staticprivate

Definition at line 441 of file MissingETAssociation_v1.h.

◆ m_acc_trkpx

const SG::AuxElement::Accessor< std::vector< float > > xAOD::MissingETAssociation_v1::m_acc_trkpx
staticprivate

Definition at line 438 of file MissingETAssociation_v1.h.

◆ m_acc_trkpy

const SG::AuxElement::Accessor< std::vector< float > > xAOD::MissingETAssociation_v1::m_acc_trkpy
staticprivate

Definition at line 439 of file MissingETAssociation_v1.h.

◆ m_acc_trkpz

const SG::AuxElement::Accessor< std::vector< float > > xAOD::MissingETAssociation_v1::m_acc_trkpz
staticprivate

Definition at line 440 of file MissingETAssociation_v1.h.

◆ m_acc_trksumpt

const SG::AuxElement::Accessor< std::vector< float > > xAOD::MissingETAssociation_v1::m_acc_trksumpt
staticprivate

Definition at line 442 of file MissingETAssociation_v1.h.

◆ m_container

const SG::AuxVectorData* SG::ConstAuxElement::m_container
privateinherited

The container of which this object is an element.

Should be null if this object is not within a container, except that it may also point at a private store.

Definition at line 324 of file AuxElement.h.

◆ m_index

size_t SG::IAuxElement::m_index
privateinherited

The index of this element within its container.

Should be 0 if this object is not within a container.

Definition at line 128 of file IAuxElement.h.

◆ m_objConstLinks

std::vector<std::vector<ElementLink<IParticleContainer> > > xAOD::MissingETAssociation_v1::m_objConstLinks
protected

Cache object constituents for overlap-finding.

Definition at line 427 of file MissingETAssociation_v1.h.

◆ m_override

std::map<const IParticle*,ConstVec> xAOD::MissingETAssociation_v1::m_override
private

Definition at line 430 of file MissingETAssociation_v1.h.

◆ m_privateStoreState

PrivateStoreState SG::IAuxElement::m_privateStoreState
privateinherited

Definition at line 137 of file IAuxElement.h.

◆ supportsThinning

constexpr bool SG::AuxElement::supportsThinning = true
staticconstexprinherited

Mark that this type supports thinning operations.

See AthContainers/supportsThinning.h and AthenaPoolCnvSvc/T_AthenaPoolCnv.h. Helps guide which pool converter template will be used. If false, the default pool converter will be used rather than the aux store-specific one. Ordinary xAOD type should not touch this, but may be overridden in a derived class to handle certain special cases.

Definition at line 920 of file AuxElement.h.


The documentation for this class was generated from the following files:
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
xAOD::MissingETAssociation_v1::initCache
void initCache()
initialise cache for overlap removal decisions
Definition: MissingETAssociation_v1.cxx:868
SG::AuxVectorData::getConstStore
const SG::IConstAuxStore * getConstStore() const
Return the current store, as a const interface.
beamspotman.r
def r
Definition: beamspotman.py:676
store
StoreGateSvc * store
Definition: fbtTestBasics.cxx:71
SG::ConstAuxElement::getAuxIDs
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items for this object.
Definition: AuxElement.cxx:152
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
xAOD::MissingETAssociation_v1::setCalPx
bool setCalPx(const std::vector< float > &calpxvec)
Set the vector of
Definition: MissingETAssociation_v1.cxx:299
xAOD::MissingETAssociation_v1::f_calpy
std::vector< float > & f_calpy()
xAOD::MissingETAssociation_v1::objectLinks
const MissingETBase::Types::objlink_vector_t & objectLinks() const
Get the vector of links to the contributing physics or signal objects.
test_pyathena.px
px
Definition: test_pyathena.py:18
xAOD::MissingETAssociation_v1::setJetTrkPy
void setJetTrkPy(float py)
Set track constituent vector for the reference jet.
Definition: MissingETAssociation_v1.cxx:398
xAOD::MissingETAssociation_v1::jettrkpx
float jettrkpx() const
Get the vector for a given object referenced by index.
MissingETBase::UsageHandler::TruthParticle
@ TruthParticle
Truth particle based.
Definition: MissingETCompositionBase.h:189
xAOD::MissingETAssociation_v1::f_overlapTypes
std::vector< std::vector< unsigned char > > & f_overlapTypes()
record overlapTypes between constributing objects
SG::AuxTypeRegistry::instance
static AuxTypeRegistry & instance()
Return the singleton registry instance.
Definition: AuxTypeRegistry.cxx:640
ObjectType
ObjectType
Definition: BaseObject.h:11
xAOD::MissingETAssociation_v1::setTrkPy
bool setTrkPy(const std::vector< float > &trkpyvec)
Set the vector of
Definition: MissingETAssociation_v1.cxx:314
SG::AuxVectorData::getWritableAuxIDs
const SG::auxid_set_t & getWritableAuxIDs() const
Return a set of identifiers for writable data items in this store.
Definition: AuxVectorData.cxx:231
index
Definition: index.py:1
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:472
SG::AuxElement::copyAux
void copyAux(const ConstAuxElement &other)
Copy aux data from another object.
Definition: AuxElement.cxx:561
Trk::indices
std::pair< long int, long int > indices
Definition: AlSymMatBase.h:24
SG::ConstAuxElement::m_container
const SG::AuxVectorData * m_container
The container of which this object is an element.
Definition: AuxElement.h:324
xAOD::MissingETAssociation_v1::setJetTrkE
void setJetTrkE(float e)
Set track constituent vector for the reference jet.
Definition: MissingETAssociation_v1.cxx:402
MissingETBase::Numerical::ceError
static double ceError()
Access error return value for constituent vector .
Definition: MissingETBase.h:101
xAOD::MissingETAssociation_v1::cale
const std::vector< float > & cale() const
Get the vector of
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
xAOD::MissingETAssociation_v1::setTrkSumpt
bool setTrkSumpt(const std::vector< float > &trksumptvec)
Set the vector of
Definition: MissingETAssociation_v1.cxx:320
SG::AuxVectorData::hasNonConstStore
bool hasNonConstStore() const
Return true if this object has an associated non-const store.
xAOD::MissingETAssociation_v1::identifyOverlaps
bool identifyOverlaps()
Loop over contributing objects to identify those that share constituents.
Definition: MissingETAssociation_v1.cxx:600
TruthParticle
Definition: PhysicsAnalysis/TruthParticleID/McParticleEvent/McParticleEvent/TruthParticle.h:58
xAOD::MissingETAssociation_v1::f_trksumpt
std::vector< float > & f_trksumpt()
ParticleTest.tp
tp
Definition: ParticleTest.py:25
MissingETBase
General namespace for MET EDM software.
Definition: MissingETAssociation_v1.h:454
SG::AuxElement::usingStandaloneStore
bool usingStandaloneStore() const
Test to see if this object is currently using a standalone store.
Definition: AuxElement.cxx:270
MissingETBase::Numerical::cpxError
static double cpxError()
Access error return value for constituent vector .
Definition: MissingETBase.h:98
SG::ConstAuxElement::setIndexPrivate
bool setIndexPrivate(size_t index, const SG::AuxVectorData *container)
Set the index/container for this element.
Definition: AuxElement.cxx:96
Cut::signal
@ signal
Definition: SUSYToolsAlg.cxx:67
xAOD::MissingETAssociation_v1::f_trkpz
std::vector< float > & f_trkpz()
xAOD::MissingETAssociation_v1::overlapTypes
const std::vector< std::vector< unsigned char > > & overlapTypes() const
Get the list of object overlapTypes.
xAOD::MissingETAssociation_v1::jettrksumpt
float jettrksumpt() const
Get the sumpt for a given object referenced by index.
MissingETBase::Numerical::invalidIndex
static size_t invalidIndex()
Access invalid index indicator.
Definition: MissingETBase.h:103
MissingETBase::Numerical::sumptError
static double sumptError()
Access error return value for constituent vector sumpt.
Definition: MissingETBase.h:102
SG::ExcConstAuxData
Exception — Non-const operation performed on const aux data.
Definition: Control/AthContainers/AthContainers/exceptions.h:77
MissingETBase::Types::bitmask_t
uint64_t bitmask_t
Type for status word bit mask.
Definition: MissingETBase.h:39
SG::IAuxElement::setNoPrivateData
void setNoPrivateData()
Record that this element does not have private data.
MissingETBase::UsageHandler::OnlyCluster
@ OnlyCluster
CaloCluster based only.
Definition: MissingETCompositionBase.h:184
xAOD::MissingETAssociation_v1::jettrkpz
float jettrkpz() const
Get the vector for a given object referenced by pointer.
xAOD::MissingETAssociation_v1::setJetTrkPz
void setJetTrkPz(float pz)
Set track constituent vector for the reference jet.
Definition: MissingETAssociation_v1.cxx:400
xAOD::py
py
Definition: CompositeParticle_v1.cxx:160
xAOD::MissingETAssociation_v1::setTrkE
bool setTrkE(const std::vector< float > &trkevec)
Set the vector of
Definition: MissingETAssociation_v1.cxx:318
xAOD::MissingETAssociation_v1::overlapIndices
const std::vector< std::vector< size_t > > & overlapIndices() const
Get the list of object overlapIndices.
xAOD::MissingETAssociation_v1::trksumpt
const std::vector< float > & trksumpt() const
Get the vector of
xAOD::MissingETAssociation_v1::ConstVec
Vector sum of constituents for subtractive overlap removal.
Definition: MissingETAssociation_v1.h:36
xAOD::MissingETAssociation_v1::containsPhysics
bool containsPhysics(const IParticle *pPhys) const
Check if this physics object matches any contributing objects.
Definition: MissingETAssociation_v1.cxx:792
xAOD::MissingETAssociation_v1::testPolicy
static bool testPolicy(const xAOD::IParticle &part, MissingETBase::UsageHandler::Policy p)
Definition: MissingETAssociation_v1.cxx:875
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition: Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
python.utils.AtlRunQueryLookup.mask
string mask
Definition: AtlRunQueryLookup.py:460
xAOD::getObjMask
MissingETBase::Types::bitmask_t getObjMask(size_t objIndex)
Definition: MissingETAssociation_v1.cxx:40
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
xAOD::MissingETAssociation_v1::resetContrib
bool resetContrib()
Reset all contribution parameters.
Definition: MissingETAssociation_v1.cxx:249
SG::AuxVectorData::getAuxIDs
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items in store associated with this object.
Definition: AuxVectorData.cxx:203
runBeamSpotCalibration.helper
helper
Definition: runBeamSpotCalibration.py:112
SG::AuxTypeRegistry
Handle mappings between names and auxid_t.
Definition: AuxTypeRegistry.h:61
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition: Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
MissingETBase::Types::jetlink_t
ElementLink< xAOD::JetContainer > jetlink_t
Link to Jet object.
Definition: MissingETCompositionBase.h:42
xAOD::MissingETAssociation_v1::findIndex
size_t findIndex(const IParticle *pPart) const
Find index of given object in contributing object store.
Definition: MissingETAssociation_v1.cxx:268
SG::IAuxElement::index
size_t index() const
Return the index of this element within its container.
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
xAOD::FlowElement_v1::isCharged
bool isCharged() const
Definition: FlowElement_v1.cxx:56
SG::IAuxElement::setHadPrivateData
void setHadPrivateData()
Record that this element used to have private data.
xAOD::MissingETAssociation_v1::calpx
const std::vector< float > & calpx() const
Get the vector of
xAOD::MissingETAssociation_v1::f_removeContrib
bool f_removeContrib(size_t objIdx)
Copy the contribution data from a source.
Definition: MissingETAssociation_v1.cxx:220
xAOD::MissingETAssociation_v1::setJetLink
bool setJetLink(const MissingETBase::Types::jetlink_t &jetLnk)
Set the link to the reference jet.
Definition: MissingETAssociation_v1.cxx:450
SG::auxid_t
size_t auxid_t
Identifier for a particular aux data item.
Definition: AuxTypes.h:27
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
MissingETBase::Numerical::cpzError
static double cpzError()
Access error return value for constituent vector .
Definition: MissingETBase.h:100
xAOD::MissingETAssociation_v1::setCalSumpt
bool setCalSumpt(const std::vector< float > &calsumptvec)
Set the vector of sumpt
Definition: MissingETAssociation_v1.cxx:307
SG::AuxElement::clearAux
void clearAux()
Clear all aux data associated with this element.
Definition: AuxElement.cxx:535
SG::AuxElement::AuxElement
AuxElement()
Default constructor.
xAOD::MissingETAssociation_v1::calsumpt
const std::vector< float > & calsumpt() const
Get the vector of sumpt
xAOD::e
setPy e
Definition: CompositeParticle_v1.cxx:166
SG::IAuxElement::havePrivateData
bool havePrivateData() const
True if this element currently has private data.
xAOD::FlowElement
FlowElement_v1 FlowElement
Definition of the current "pfo version".
Definition: FlowElement.h:16
xAOD::MissingETAssociation_v1::ConstVec::cpy
float cpy() const
Returns .
xAOD::MissingETAssociation_v1::ConstVec::sumpt
float sumpt() const
Returns sum of component pt.
MissingETBase::Types::constvec_t
xAOD::MissingETAssociation_v1::ConstVec constvec_t
Type for constituent vector.
Definition: MissingETAssociation_v1.h:457
SG::AuxVectorData::getStore
SG::IAuxStore * getStore()
Return the current store, as a non-const interface.
xAOD::MissingETAssociation_v1::f_trkpy
std::vector< float > & f_trkpy()
xAOD::MissingETAssociation_v1::jettrkpy
float jettrkpy() const
Get the vector for a given object referenced by pointer.
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition: Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
xAOD::MissingETAssociation_v1::trkkey
const std::vector< MissingETBase::Types::bitmask_t > & trkkey() const
Get the vector of trk keys.
Amg::pz
@ pz
Definition: GeoPrimitives.h:40
xAOD::MissingETAssociation_v1::setCalPy
bool setCalPy(const std::vector< float > &calpyvec)
Set the vector of
Definition: MissingETAssociation_v1.cxx:301
xAOD::MissingETAssociation_v1::setJetTrkPx
void setJetTrkPx(float px)
Set track constituent vector for the reference jet.
Definition: MissingETAssociation_v1.cxx:396
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
xAOD::MissingETAssociation_v1::setTrkPx
bool setTrkPx(const std::vector< float > &trkpxvec)
Set the vector of
Definition: MissingETAssociation_v1.cxx:312
xAODType::ParticleFlow
@ ParticleFlow
The object is a particle-flow object.
Definition: ObjectType.h:41
SG::AuxElementPrivateData
Internal data container for private store.
Definition: AuxElement.cxx:45
xAOD::MissingETAssociation_v1::f_jettrksumpt
float & f_jettrksumpt()
xAOD::MissingETAssociation_v1::addOverlap
bool addOverlap(const IParticle *pPart, size_t index, unsigned char type)
Add overlap index for a given contributing object referenced by pointer.
xAOD::NeutralParticle
NeutralParticle_v1 NeutralParticle
Reference the current persistent version:
Definition: NeutralParticle.h:13
FEHelpers::signalToXAODType
xAOD::Type::ObjectType signalToXAODType(const xAOD::FlowElement &fe)
Definition: FEHelpers.cxx:178
SG::AuxVectorData::hasStore
bool hasStore() const
Return true if this object has an associated store.
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAOD::MissingETAssociation_v1::m_objConstLinks
std::vector< std::vector< ElementLink< IParticleContainer > > > m_objConstLinks
Cache object constituents for overlap-finding.
Definition: MissingETAssociation_v1.h:427
xAOD::MissingETAssociation_v1::jetLink
const MissingETBase::Types::jetlink_t & jetLink() const
Get the link to the reference jet.
MissingETBase::UsageHandler::TrackCluster
@ TrackCluster
Both cluster and track based.
Definition: MissingETCompositionBase.h:186
xAOD::MissingETAssociation_v1::ConstVec::cpz
float cpz() const
Returns .
xAOD::MissingETAssociation_v1::f_jettrkpz
float & f_jettrkpz()
xAOD::MissingETAssociation_v1::calVec
ConstVec calVec(const IParticle *pPart) const
Get calo constituent vector for a given object.
Definition: MissingETAssociation_v1.cxx:540
xAOD::MissingETAssociation_v1::addCalVec
bool addCalVec(MissingETBase::Types::bitmask_t key, float calpx, float calpy, float calpz, float cale, float sumpt)
Add a key/vector pair for calo contributions.
Definition: MissingETAssociation_v1.cxx:347
PFO
Definition: ClusterMomentPlots.h:13
xAOD::MissingETAssociation_v1::setTrkKey
bool setTrkKey(const std::vector< MissingETBase::Types::bitmask_t > &trkkeyvec)
Set the vector of keys
Definition: MissingETAssociation_v1.cxx:322
xAOD::JetFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
Definition: JetTypes.h:17
xAOD::MissingETAssociation_v1::f_jetLink
MissingETBase::Types::jetlink_t & f_jetLink()
Non-const link reference
xAOD::MissingETAssociation_v1::trke
const std::vector< float > & trke() const
Get the vector of
python.root_lsr_rank.types
types
Definition: root_lsr_rank.py:35
xAOD::MissingETAssociation_v1::createPrivateStore
void createPrivateStore()
Function initialising the object to work in standalone mode.
Definition: MissingETAssociation_v1.cxx:838
xAOD::MissingETAssociation_v1::f_isMisc
char & f_isMisc()
MissingETBase::UsageHandler::AllCalo
@ AllCalo
Inclusive except tracks.
Definition: MissingETCompositionBase.h:183
SG::IAuxElement::setHavePrivateData
void setHavePrivateData()
Record that this element currently has private data.
SG::AuxVectorData::clearCache
void clearCache()
Clear the cached aux data pointers.
xAOD::MissingETAssociation_v1::f_overlapIndices
std::vector< std::vector< size_t > > & f_overlapIndices()
record overlapIndices between constributing objects
MissingETBase::Numerical::cpyError
static double cpyError()
Access error return value for constituent vector .
Definition: MissingETBase.h:99
MissingETBase::UsageHandler::OnlyTrack
@ OnlyTrack
Track based only.
Definition: MissingETCompositionBase.h:185
xAOD::MissingETAssociation_v1::m_override
std::map< const IParticle *, ConstVec > m_override
Definition: MissingETAssociation_v1.h:430
SG::AuxElement::makePrivateStore
void makePrivateStore()
Create a new (empty) private store for this object.
Definition: AuxElement.cxx:172
xAOD::MissingETAssociation_v1::jettrke
float jettrke() const
Get the vector for a given object referenced by index.
MissingETBase::UsageHandler::ParticleFlow
@ ParticleFlow
Particle Flow Object based.
Definition: MissingETCompositionBase.h:188
CxxUtils::to
CONT to(RANGE &&r)
Definition: ranges.h:39
xAOD::MissingETAssociation_v1::f_trke
std::vector< float > & f_trke()
xAOD::MissingETAssociation_v1::f_jettrke
float & f_jettrke()
SG::IAuxElement::setIndex
void setIndex(size_t index)
Set the index of this element within its container.
xAOD::MissingETAssociation_v1::f_objectLinks
MissingETBase::Types::objlink_vector_t & f_objectLinks()
Non-const link reference.
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
python.selector.AtlRunQuerySelectorLhcOlc.selector
selector
Definition: AtlRunQuerySelectorLhcOlc.py:611
SG::AuxVectorData::clearDecorations
bool clearDecorations() const
Clear all decorations.
Definition: AuxVectorData.cxx:653
xAOD::MissingETAssociation_v1::calkey
const std::vector< MissingETBase::Types::bitmask_t > & calkey() const
Get the vector of cal keys.
xAOD::MissingETAssociation_v1::addTrkVec
bool addTrkVec(MissingETBase::Types::bitmask_t key, float trkpx, float trkpy, float trkpz, float ce, float sumpt)
Add a key/vector pair for calo contributions.
Definition: MissingETAssociation_v1.cxx:381
xAOD::MissingETAssociation_v1::calpz
const std::vector< float > & calpz() const
Get the vector of
xAOD::MissingETAssociation_v1::isMisc
bool isMisc() const
Check if this association is a miscellaneous association.
SG::ExcBadPrivateStore
Exception — Bad use of private store.
Definition: Control/AthContainers/AthContainers/exceptions.h:113
xAOD::MissingETAssociation_v1::f_calkey
std::vector< MissingETBase::Types::bitmask_t > & f_calkey()
copySelective.target
string target
Definition: copySelective.py:37
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::MissingETAssociation_v1::empty
bool empty() const
Update all internally used ElementLink instances.
xAOD::MissingETAssociation_v1::trkpy
const std::vector< float > & trkpy() const
Get the vector of
xAOD::MissingETAssociation_v1::setCalE
bool setCalE(const std::vector< float > &calevec)
Set the vector of
Definition: MissingETAssociation_v1.cxx:305
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
xAOD::MissingETAssociation_v1::f_calpz
std::vector< float > & f_calpz()
xAOD::MissingETAssociation_v1::setOverlaps
bool setOverlaps(const std::vector< std::vector< size_t > > &overlapIndices, const std::vector< std::vector< unsigned char > > &overlapTypes)
Set the vector of overlap indices and types.
Definition: MissingETAssociation_v1.cxx:420
SG::auxid_set_t
A set of aux data identifiers.
Definition: AuxTypes.h:47
xAOD::MissingETAssociation_v1::f_calsumpt
std::vector< float > & f_calsumpt()
xAOD::MissingETAssociation_v1::f_trkpx
std::vector< float > & f_trkpx()
xAOD::MissingETAssociation_v1::trkVec
ConstVec trkVec(const IParticle *pPart) const
Get track constituent vector for a given object.
Definition: MissingETAssociation_v1.cxx:550
xAOD::MissingETAssociation_v1::f_jettrkpx
float & f_jettrkpx()
xAOD::MissingETAssociation_v1::setCalPz
bool setCalPz(const std::vector< float > &calpzvec)
Set the vector of
Definition: MissingETAssociation_v1.cxx:303
xAOD::MissingETAssociation_v1::f_calpx
std::vector< float > & f_calpx()
xAOD::MissingETAssociation_v1::f_cale
std::vector< float > & f_cale()
SG::AuxVectorData
Manage lookup of vectors of auxiliary data.
Definition: AuxVectorData.h:168
ATLAS_THREAD_SAFE
#define ATLAS_THREAD_SAFE
Definition: checker_macros.h:211
xAOD::MissingETAssociation_v1::setCalKey
bool setCalKey(const std::vector< MissingETBase::Types::bitmask_t > &calkeyvec)
Set the vector of keys
Definition: MissingETAssociation_v1.cxx:309
SG::ConstAuxElement::releasePrivateStoreForDtor
void releasePrivateStoreForDtor()
Out-of-line portion of destructor.
Definition: AuxElement.cxx:79
SG::AuxElement::container
const SG::AuxVectorData * container() const
Return the container holding this element.
xAOD::MissingETAssociation_v1::trkpx
const std::vector< float > & trkpx() const
Get the vector of
xAOD::MissingETAssociation_v1::ConstVec::cpx
float cpx() const
Returns .
xAOD::MissingETAssociation_v1::trkpz
const std::vector< float > & trkpz() const
Get the vector of
xAOD::MissingETAssociation_v1::setObjectLinks
bool setObjectLinks(const MissingETBase::Types::objlink_vector_t &objLnks)
Set the vector of links to the contributing physics or signal objects.
Definition: MissingETAssociation_v1.cxx:457
python.PyAthena.obj
obj
Definition: PyAthena.py:132
xAOD::MissingETAssociation_v1::f_jettrkpy
float & f_jettrkpy()
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43
Amg::distance
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
Definition: GeoPrimitivesHelpers.h:54
xAOD::MissingETAssociation_v1::refJet
const Jet * refJet() const
Access reference jet.
xAOD::MissingETAssociation_v1::f_trkkey
std::vector< MissingETBase::Types::bitmask_t > & f_trkkey()
SG::IAuxElement::hadPrivateData
bool hadPrivateData() const
True if this element had private data before it was added to its current container.
xAOD::MissingETAssociation_v1::ConstVec::ce
float ce() const
Returns .
xAOD::MissingETAssociation_v1::objects
std::vector< const IParticle * > objects() const
Access contributing objects.
Definition: MissingETAssociation_v1.cxx:505
xAOD::MissingETAssociation_v1::setTrkPz
bool setTrkPz(const std::vector< float > &trkpzvec)
Set the vector of
Definition: MissingETAssociation_v1.cxx:316
SG::IConstAuxStore::getAuxIDs
virtual const SG::auxid_set_t & getAuxIDs() const =0
Return a set of identifiers for existing data items in this store.
checkFileSG.ind
list ind
Definition: checkFileSG.py:118
SG::AuxElement::setStore1
AuxElementStandaloneData * setStore1(const SG::IConstAuxStore *store)
Set the store associated with this object.
Definition: AuxElement.cxx:418
xAOD::MissingETAssociation_v1::setRefJet
bool setRefJet(const Jet *pJet)
Set reference jet by object pointer reference.
Definition: MissingETAssociation_v1.cxx:436
xAOD::MissingETAssociation_v1::calpy
const std::vector< float > & calpy() const
Get the vector of
xAOD::FlowElement_v1
A detector object made of other lower level object(s)
Definition: FlowElement_v1.h:25
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37