ATLAS Offline Software
|
MET association descriptor contains object links and corresponding parameters. More...
#include <MissingETAssociation_v1.h>
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_v1 & | operator= (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::AuxVectorData * | container () const | |||
Return the container holding this element. More... | ||||
SG::AuxVectorData * | container () | |||
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::IConstAuxStore * | getConstStore () const | |||
Return the current store, as a const interface. More... | ||||
SG::IAuxStore * | getStore () const | |||
Return the current store, as a non-const interface. More... | ||||
void | clearCache () | |||
Clear the cached aux data pointers. More... | ||||
const SG::auxid_set_t & | getAuxIDs () 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_t & | jetLink () 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_t & | objectLinks () 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 char > | overlapTypes (const IParticle *pPart) const | |||
Get the overlap types for a given object referenced by pointer. More... | ||||
std::vector< unsigned char > | overlapTypes (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 *, ConstVec > | overrideMom () | |||
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 Jet * | refJet () const | |||
Access reference jet. More... | ||||
const JetContainer * | refJetContainer () 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 | ||||
| ||||
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_t & | f_objectLinks () |
Non-const link reference. More... | |
MissingETBase::Types::jetlink_t & | f_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 () |
float & | f_jettrkpx () |
float & | f_jettrkpy () |
float & | f_jettrkpz () |
float & | f_jettrke () |
float & | f_jettrksumpt () |
char & | f_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 *, ConstVec > | m_override |
const SG::AuxVectorData * | m_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 |
MET association descriptor contains object links and corresponding parameters.
Definition at line 28 of file MissingETAssociation_v1.h.
|
inherited |
Definition at line 548 of file AuxElement.h.
|
inherited |
Definition at line 545 of file AuxElement.h.
|
inherited |
Definition at line 551 of file AuxElement.h.
|
inherited |
Definition at line 542 of file AuxElement.h.
|
strongprivateinherited |
The current private data state.
Enumerator | |
---|---|
NO_PRIVATE | |
HAVE_PRIVATE | |
HAD_PRIVATE |
Definition at line 131 of file IAuxElement.h.
|
explicit |
Default constructor.
Definition at line 96 of file MissingETAssociation_v1.cxx.
xAOD::MissingETAssociation_v1::MissingETAssociation_v1 | ( | const MissingETAssociation_v1 & | assocDescr | ) |
|
virtual |
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.
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.
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.
Add overlap index for a given contributing object referenced by index.
Definition at line 591 of file MissingETAssociation_v1.cxx.
void xAOD::MissingETAssociation_v1::addOverrideMom | ( | std::map< const IParticle *, ConstVec > & | pOverride | ) |
Extend override momentum map.
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.
|
inherited |
Fetch an aux data variable, as a non-const reference.
name | Name 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.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name 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.
|
inherited |
Fetch an aux data variable, as a non-const reference.
name | Name of the aux variable. |
clsname | The 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.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
clsname | The 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.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name 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.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
clsname | The 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.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name 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.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name of the aux variable. |
clsname | The 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.
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.
const std::vector<MissingETBase::Types::bitmask_t>& xAOD::MissingETAssociation_v1::calkey | ( | ) | const |
Get the vector of cal keys.
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.
Get the vector of \( P_{x} \)
Get the vector \( P_{x} \) for a given object referenced by pointer.
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.
Get the vector of \( P_{y} \)
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.
Get the vector of \( P_{z} \)
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.
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.
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.
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.
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.
|
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.
|
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.
bool xAOD::MissingETAssociation_v1::clearCalVecs | ( | ) |
Reset the calo constituent vectors and keys.
|
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.
void xAOD::MissingETAssociation_v1::clearOverlaps | ( | ) |
bool xAOD::MissingETAssociation_v1::clearTrkVecs | ( | ) |
Reset the track constituent vectors and keys.
|
inherited |
Return the container holding this element.
|
inherited |
Return the container holding this element.
Check if this physics object matches any contributing objects.
Definition at line 792 of file MissingETAssociation_v1.cxx.
Check if this signal object matches the constituents of any contributing objects.
Definition at line 804 of file MissingETAssociation_v1.cxx.
|
privateinherited |
Copy aux data from another object.
other | The 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.
|
protected |
|
protected |
Function initialising the object to work in standalone mode.
Definition at line 838 of file MissingETAssociation_v1.cxx.
bool xAOD::MissingETAssociation_v1::empty | ( | ) | const |
Update all internally used ElementLink instances.
[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
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Non-const link reference
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Non-const link reference.
|
protected |
record overlapIndices between constributing objects
|
protected |
record overlapTypes between constributing objects
|
protected |
Copy the contribution data from a source.
[in] | contrib | reference to non-modifiable contribution object (the source). |
Definition at line 220 of file MissingETAssociation_v1.cxx.
|
protected |
|
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).
POBJ | linked object type |
LINK | specific ElementLink type |
[in] | pObj | pointer to non-modifiable object to be linked |
[in] | elemLink | reference to modifiable ElementLink object. Initial data content of this object are overwritten. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
size_t xAOD::MissingETAssociation_v1::findCalIndex | ( | MissingETBase::Types::bitmask_t | mask | ) | const |
Definition at line 283 of file MissingETAssociation_v1.cxx.
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).
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.
[in] | pPart | pointer to non-modifiable object |
[in] | pPart | pointer to non-modifiable object in the list of contributing objects |
Definition at line 268 of file MissingETAssociation_v1.cxx.
size_t xAOD::MissingETAssociation_v1::findTrkIndex | ( | MissingETBase::Types::bitmask_t | mask | ) | const |
Definition at line 289 of file MissingETAssociation_v1.cxx.
xAOD::JetFourMom_t xAOD::MissingETAssociation_v1::getAlternateConstVec | ( | ) | const |
Definition at line 759 of file MissingETAssociation_v1.cxx.
|
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.
|
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.
|
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.
|
protectedinherited |
True if this element had private data before it was added to its current container.
bool xAOD::MissingETAssociation_v1::hasAlternateConstVec | ( | ) | const |
Definition at line 754 of file MissingETAssociation_v1.cxx.
|
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.
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.
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.
|
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.
|
protectedinherited |
True if this element currently has private data.
bool xAOD::MissingETAssociation_v1::identifyOverlaps | ( | ) |
Loop over contributing objects to identify those that share constituents.
Definition at line 600 of file MissingETAssociation_v1.cxx.
Search association for particles that share constituents with this one.
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.
|
inherited |
Return the index of this element within its container.
|
inherited |
Return the index of this element within its container.
Inherited from IAuxElement.
|
protected |
initialise cache for overlap removal decisions
Definition at line 868 of file MissingETAssociation_v1.cxx.
|
inherited |
Check if an aux variable is available for reading.
name | Name of the aux variable. |
clsname | The 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.
|
inherited |
Check if an aux variable is available for writing.
name | Name of the aux variable. |
clsname | The 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.
|
inherited |
Check if an aux variable is available for writing as a decoration.
name | Name of the aux variable. |
clsname | The 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.
bool xAOD::MissingETAssociation_v1::isMisc | ( | ) | const |
Check if this association is a miscellaneous association.
const MissingETBase::Types::jetlink_t& xAOD::MissingETAssociation_v1::jetLink | ( | ) | const |
Get the link to the reference jet.
float xAOD::MissingETAssociation_v1::jettrke | ( | ) | const |
Get the vector \( E \) for a given object referenced by index.
float xAOD::MissingETAssociation_v1::jettrkpx | ( | ) | const |
Get the vector \( P_{x} \) for a given object referenced by index.
float xAOD::MissingETAssociation_v1::jettrkpy | ( | ) | const |
Get the vector \( P_{y} \) for a given object referenced by pointer.
float xAOD::MissingETAssociation_v1::jettrkpz | ( | ) | const |
Get the vector \( P_{z} \) for a given object referenced by pointer.
float xAOD::MissingETAssociation_v1::jettrksumpt | ( | ) | const |
Get the sumpt for a given object referenced by index.
constvec_t xAOD::MissingETAssociation_v1::jetTrkVec | ( | ) | const |
Get track constituent vector for the reference jet.
Definition at line 570 of file MissingETAssociation_v1.cxx.
|
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.
|
inherited |
Create a new private store for this object and copy aux data.
other | The 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.
|
inherited |
Create a new private store for this object and copy aux data.
other | The 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.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The 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.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The 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.
|
protectedinherited |
True if this element has no private data.
const MissingETBase::Types::objlink_vector_t& xAOD::MissingETAssociation_v1::objectLinks | ( | ) | const |
Get the vector of links to the contributing physics or signal objects.
Access contributing objects.
Definition at line 505 of file MissingETAssociation_v1.cxx.
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.
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.
bool xAOD::MissingETAssociation_v1::operator!= | ( | const MissingETAssociation_v1 & | contrib | ) | const |
Equality.
MissingETAssociation_v1 & xAOD::MissingETAssociation_v1::operator= | ( | const MissingETAssociation_v1 & | assocDescr | ) |
Definition at line 121 of file MissingETAssociation_v1.cxx.
bool xAOD::MissingETAssociation_v1::operator== | ( | const MissingETAssociation_v1 & | contrib | ) | const |
Definition at line 577 of file MissingETAssociation_v1.cxx.
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.
const std::vector<std::vector<size_t> >& xAOD::MissingETAssociation_v1::overlapIndices | ( | ) | const |
Get the list of object overlapIndices.
Get the overlap indices for a given object referenced by pointer.
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.
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.
const std::vector<std::vector<unsigned char> >& xAOD::MissingETAssociation_v1::overlapTypes | ( | ) | const |
Get the list of object overlapTypes.
std::vector<unsigned char> xAOD::MissingETAssociation_v1::overlapTypes | ( | const IParticle * | pPart | ) | const |
Get the overlap types for a given object referenced by pointer.
Get the overlap types for a given object referenced by index.
Definition at line 500 of file MissingETAssociation_v1.cxx.
Get override momenta.
const JetContainer* xAOD::MissingETAssociation_v1::refJetContainer | ( | ) | const |
Access reference jet container holding reference jet.
size_t xAOD::MissingETAssociation_v1::refJetIndex | ( | ) | const |
Access index of reference jet in its container.
|
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.
|
privateinherited |
Out-of-line portion of destructor.
Delete a private store if we have one.
Definition at line 398 of file AuxElement.cxx.
bool xAOD::MissingETAssociation_v1::removeContrib | ( | ) |
Remove all contributions.
Definition at line 213 of file MissingETAssociation_v1.cxx.
Remove a contribution referenced by an object pointer.
bool xAOD::MissingETAssociation_v1::removeContrib | ( | size_t | objIdx | ) |
Remove a contribution referenced by an index.
bool xAOD::MissingETAssociation_v1::resetContrib | ( | ) |
Reset the contribution parameters of an object referenced by a pointer.
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.
Set calo constituent vector \( E \) for a given contributing object referenced by index.
Definition at line 333 of file MissingETAssociation_v1.cxx.
bool xAOD::MissingETAssociation_v1::setCalKey | ( | const std::vector< MissingETBase::Types::bitmask_t > & | calkeyvec | ) |
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.
Set calo constituent vector \( P_{x} \) for a given contributing object referenced by index.
Definition at line 327 of file MissingETAssociation_v1.cxx.
Set calo constituent vector \( P_{y} \) for a given contributing object referenced by index.
Definition at line 329 of file MissingETAssociation_v1.cxx.
Set calo constituent vector \( P_{z} \) for a given contributing object referenced by index.
Definition at line 331 of file MissingETAssociation_v1.cxx.
Set the vector of sumpt
Definition at line 307 of file MissingETAssociation_v1.cxx.
Set calo constituent sumpt for a given contributing object referenced by index.
Definition at line 335 of file MissingETAssociation_v1.cxx.
Set the calo constituent vector of an object contribution referenced by index.
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.
|
inherited |
Synonym for setStore
with IConstAuxStore
.
store | The new store. |
|
privateinherited |
Record that this element used to have private data.
|
privateinherited |
Record that this element currently has private data.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The 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.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The 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.
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.
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.
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.
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.
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.
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.
Set the track constituent vector for the reference jet.
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.
|
inherited |
Synonym for setStore
with IAuxStore
.
store | The new store. |
|
privateinherited |
Record that this element does not have private data.
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.
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.
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.
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.
void xAOD::MissingETAssociation_v1::setOverrideMom | ( | const std::map< const IParticle *, ConstVec > & | pOverride | ) |
Set override momenta.
Set reference jet by object pointer reference.
Definition at line 436 of file MissingETAssociation_v1.cxx.
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.
|
inherited |
Set the store associated with this object.
store | The 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.
store | Link to the new store. |
Definition at line 249 of file AuxElement.cxx.
|
inherited |
Set the store associated with this object.
store | The 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.
|
inherited |
Set the store associated with this object.
store | The 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.
|
privateinherited |
Set the store associated with this object.
store | The new store. |
Helper for setStore
. Creates the AuxElementStandaloneData
object if needed and returns it.
store | The new store. |
Helper for setStore
. Creates the @x AuxElementStandaloneData object if needed and returns it.
Definition at line 418 of file AuxElement.cxx.
Set track constituent vector \( E \) for a given contributing object referenced by index.
Definition at line 367 of file MissingETAssociation_v1.cxx.
bool xAOD::MissingETAssociation_v1::setTrkKey | ( | const std::vector< MissingETBase::Types::bitmask_t > & | trkkeyvec | ) |
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.
Set track constituent vector \( P_{x} \) for a given contributing object referenced by index.
Definition at line 361 of file MissingETAssociation_v1.cxx.
Set track constituent vector \( P_{y} \) for a given contributing object referenced by index.
Definition at line 363 of file MissingETAssociation_v1.cxx.
Set track constituent vector \( P_{z} \) for a given contributing object referenced by index.
Definition at line 365 of file MissingETAssociation_v1.cxx.
Set the vector of \( E \)
Definition at line 320 of file MissingETAssociation_v1.cxx.
Set track constituent vector \( E \) for a given contributing object referenced by index.
Definition at line 369 of file MissingETAssociation_v1.cxx.
Set the track constituent vector of an object contribution referenced by index.
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.
|
static |
Definition at line 875 of file MissingETAssociation_v1.cxx.
|
staticprotected |
Definition at line 881 of file MissingETAssociation_v1.cxx.
|
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.
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.
const std::vector<MissingETBase::Types::bitmask_t>& xAOD::MissingETAssociation_v1::trkkey | ( | ) | const |
Get the vector of trk keys.
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.
Get the vector of \( P_{x} \)
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.
Get the vector of \( P_{y} \)
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.
Get the vector of \( P_{z} \)
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.
Get the vector of \( E \)
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.
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.
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.
|
inherited |
Test to see if this object is currently using a private store.
Definition at line 260 of file AuxElement.cxx.
|
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.
|
staticprivate |
Definition at line 435 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 432 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 433 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 434 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 436 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 447 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 444 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 445 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 446 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 448 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 441 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 438 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 439 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 440 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 442 of file MissingETAssociation_v1.h.
|
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.
|
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.
|
protected |
Cache object constituents for overlap-finding.
Definition at line 427 of file MissingETAssociation_v1.h.
Definition at line 430 of file MissingETAssociation_v1.h.
|
privateinherited |
Definition at line 137 of file IAuxElement.h.
|
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.