![]() |
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 Member Functions | ||||
| MissingETAssociation_v1 (bool createStore=false) | ||||
| Default constructor. | ||||
| MissingETAssociation_v1 (const Jet *pjet, bool isMisc=false) | ||||
| Construct with a link to a Jet object. | ||||
| MissingETAssociation_v1 (const MissingETAssociation_v1 &assocDescr) | ||||
| Copy constructor. | ||||
| MissingETAssociation_v1 & | operator= (const MissingETAssociation_v1 &assocDescr) | |||
| virtual | ~MissingETAssociation_v1 () | |||
| Assignment operator. | ||||
| size_t | findCalIndex (MissingETBase::Types::bitmask_t mask) const | |||
| size_t | findTrkIndex (MissingETBase::Types::bitmask_t mask) const | |||
Set reference jet | ||||
Base class destructor | ||||
| bool | setRefJet (const Jet *pJet) | |||
| Set reference jet by object pointer reference. | ||||
| bool | setRefJet (const JetContainer *pJetCont, size_t pJetIdx) | |||
| Set reference jet by container pointer and index reference. | ||||
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. | ||||
Conventional and dedicated getter and setters | ||||
| const std::vector< float > & | calpx () const | |||
| Get the vector of \( P_{x} \). | ||||
| float | calpx (const IParticle *pPart) const | |||
| Get the vector \( P_{x} \) for a given object referenced by pointer. | ||||
| float | calpx (size_t keyIdx) const | |||
| Get the vector \( P_{x} \) for a given object referenced by index. | ||||
| bool | setCalPx (const std::vector< float > &calpxvec) | |||
| Set the vector of \( P_{x} \). | ||||
| bool | setCalPx (size_t keyIdx, float calpx) | |||
| Set calo constituent vector \( P_{x} \) for a given contributing object referenced by index. | ||||
| const std::vector< float > & | calpy () const | |||
| Get the vector of \( P_{y} \). | ||||
| float | calpy (size_t keyIdx) const | |||
| Get the vector \( P_{y} \) for a given object referenced by index. | ||||
| bool | setCalPy (const std::vector< float > &calpyvec) | |||
| Set the vector of \( P_{y} \). | ||||
| bool | setCalPy (size_t keyIdx, float calpy) | |||
| Set calo constituent vector \( P_{y} \) for a given contributing object referenced by index. | ||||
| const std::vector< float > & | calpz () const | |||
| Get the vector of \( P_{z} \). | ||||
| float | calpz (size_t keyIdx) const | |||
| Get the vector \( P_{z} \) for a given object referenced by index. | ||||
| bool | setCalPz (const std::vector< float > &calpzvec) | |||
| Set the vector of \( P_{z} \). | ||||
| bool | setCalPz (size_t keyIdx, float calpz) | |||
| Set calo constituent vector \( P_{z} \) for a given contributing object referenced by index. | ||||
| const std::vector< float > & | cale () const | |||
| Get the vector of \( E \). | ||||
| float | cale (size_t keyIdx) const | |||
| Get the vector \( E \) for a given object referenced by index. | ||||
| bool | setCalE (const std::vector< float > &calevec) | |||
| Set the vector of \( E \). | ||||
| bool | setCalE (size_t keyIdx, float cale) | |||
| Set calo constituent vector \( E \) for a given contributing object referenced by index. | ||||
| const std::vector< float > & | calsumpt () const | |||
| Get the vector of sumpt. | ||||
| float | calsumpt (size_t keyIdx) const | |||
| Get the sumpt for a given object referenced by index. | ||||
| bool | setCalSumpt (const std::vector< float > &calsumptvec) | |||
| Set the vector of sumpt. | ||||
| bool | setCalSumpt (size_t keyIdx, float calsumpt) | |||
| Set calo constituent sumpt for a given contributing object referenced by index. | ||||
| const std::vector< MissingETBase::Types::bitmask_t > & | calkey () const | |||
| Get the vector of cal keys. | ||||
| MissingETBase::Types::bitmask_t | calkey (size_t keyIdx) const | |||
| Get the key for a given entry referenced by index. | ||||
| bool | setCalKey (const std::vector< MissingETBase::Types::bitmask_t > &calkeyvec) | |||
| Set the vector of keys. | ||||
| bool | setCalKey (size_t keyIdx, MissingETBase::Types::bitmask_t calkey) | |||
| Set calo key for a given contributing entry referenced by index. | ||||
| bool | setCalVec (size_t keyIdx, const ConstVec &cvec=ConstVec()) | |||
| Set the calo constituent vector of an object contribution referenced by index. | ||||
| 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. | ||||
| 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. | ||||
| bool | clearCalVecs () | |||
| Reset the calo constituent vectors and keys. | ||||
| const std::vector< float > & | trkpx () const | |||
| Get the vector of \( P_{x} \). | ||||
| float | trkpx (size_t keyIdx) const | |||
| Get the vector \( P_{x} \) for a given object referenced by index. | ||||
| bool | setTrkPx (const std::vector< float > &trkpxvec) | |||
| Set the vector of \( P_{x} \). | ||||
| bool | setTrkPx (size_t keyIdx, float trkpx) | |||
| Set track constituent vector \( P_{x} \) for a given contributing object referenced by index. | ||||
| const std::vector< float > & | trkpy () const | |||
| Get the vector of \( P_{y} \). | ||||
| float | trkpy (size_t keyIdx) const | |||
| Get the vector \( P_{y} \) for a given object referenced by index. | ||||
| bool | setTrkPy (const std::vector< float > &trkpyvec) | |||
| Set the vector of \( P_{y} \). | ||||
| bool | setTrkPy (size_t keyIdx, float trkpy) | |||
| Set track constituent vector \( P_{y} \) for a given contributing object referenced by index. | ||||
| const std::vector< float > & | trkpz () const | |||
| Get the vector of \( P_{z} \). | ||||
| float | trkpz (size_t keyIdx) const | |||
| Get the vector \( P_{z} \) for a given object referenced by index. | ||||
| bool | setTrkPz (const std::vector< float > &trkpzvec) | |||
| Set the vector of \( P_{z} \). | ||||
| bool | setTrkPz (size_t keyIdx, float trkpz) | |||
| Set track constituent vector \( P_{z} \) for a given contributing object referenced by index. | ||||
| const std::vector< float > & | trke () const | |||
| Get the vector of \( E \). | ||||
| float | trke (size_t keyIdx) const | |||
| Get the vector \( E \) for a given object referenced by index. | ||||
| bool | setTrkE (const std::vector< float > &trkevec) | |||
| Set the vector of \( E \). | ||||
| bool | setTrkE (size_t keyIdx, float trke) | |||
| Set track constituent vector \( E \) for a given contributing object referenced by index. | ||||
| const std::vector< float > & | trksumpt () const | |||
| Get the vector of \( E \). | ||||
| float | trksumpt (size_t keyIdx) const | |||
| Get the vector \( E \) for a given object referenced by index. | ||||
| bool | setTrkSumpt (const std::vector< float > &trksumptvec) | |||
| Set the vector of \( E \). | ||||
| bool | setTrkSumpt (size_t keyIdx, float trksumpt) | |||
| Set track constituent vector \( E \) for a given contributing object referenced by index. | ||||
| const std::vector< MissingETBase::Types::bitmask_t > & | trkkey () const | |||
| Get the vector of trk keys. | ||||
| MissingETBase::Types::bitmask_t | trkkey (size_t keyIdx) const | |||
| Get the key for a given entry referenced by index. | ||||
| bool | setTrkKey (const std::vector< MissingETBase::Types::bitmask_t > &trkkeyvec) | |||
| Set the vector of keys. | ||||
| bool | setTrkKey (size_t keyIdx, MissingETBase::Types::bitmask_t trkkey) | |||
| Set trk key for a given contributing entry referenced by index. | ||||
| bool | setTrkVec (size_t keyIdx, const ConstVec &cvec=ConstVec()) | |||
| Set the track constituent vector of an object contribution referenced by index. | ||||
| 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. | ||||
| 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. | ||||
| bool | clearTrkVecs () | |||
| Reset the track constituent vectors and keys. | ||||
| float | jettrkpx () const | |||
| Get the vector \( P_{x} \) for a given object referenced by index. | ||||
| float | jettrkpy () const | |||
| Get the vector \( P_{y} \) for a given object referenced by pointer. | ||||
| float | jettrkpz () const | |||
| Get the vector \( P_{z} \) for a given object referenced by pointer. | ||||
| float | jettrke () const | |||
| Get the vector \( E \) for a given object referenced by index. | ||||
| float | jettrksumpt () const | |||
| Get the sumpt for a given object referenced by index. | ||||
| void | setJetTrkPx (float px) | |||
| Set track constituent vector \( P_{x} \) for the reference jet. | ||||
| void | setJetTrkPy (float py) | |||
| Set track constituent vector \( P_{y} \) for the reference jet. | ||||
| void | setJetTrkPz (float pz) | |||
| Set track constituent vector \( P_{z} \) for the reference jet. | ||||
| void | setJetTrkE (float e) | |||
| Set track constituent vector \( E \) for the reference jet. | ||||
| void | setJetTrkSumpt (float sumpt) | |||
| Set track constituent vector \( E \) for the reference jet. | ||||
| void | setJetTrkVec (const ConstVec &cvec=ConstVec()) | |||
| Set the track constituent vector for the reference jet. | ||||
| void | setJetTrkVec (float px, float py, float pz, float ce, float sumpt) | |||
| Set the track constituent vector for the reference jet. | ||||
| const MissingETBase::Types::jetlink_t & | jetLink () const | |||
| Get the link to the reference jet. | ||||
| bool | setJetLink (const MissingETBase::Types::jetlink_t &jetLnk) | |||
| Set the link to the reference jet. | ||||
| const MissingETBase::Types::objlink_vector_t & | objectLinks () const | |||
| Get the vector of links to the contributing physics or signal objects. | ||||
| bool | setObjectLinks (const MissingETBase::Types::objlink_vector_t &objLnks) | |||
| Set the vector of links to the contributing physics or signal objects. | ||||
| const std::vector< std::vector< size_t > > & | overlapIndices () const | |||
| Get the list of object overlapIndices. | ||||
| std::vector< size_t > | overlapIndices (const IParticle *pPart) const | |||
| Get the overlap indices for a given object referenced by pointer. | ||||
| std::vector< size_t > | overlapIndices (size_t objIdx) const | |||
| Get the overlap indices for a given object referenced by index. | ||||
| const std::vector< std::vector< unsigned char > > & | overlapTypes () const | |||
| Get the list of object overlapTypes. | ||||
| std::vector< unsigned char > | overlapTypes (const IParticle *pPart) const | |||
| Get the overlap types for a given object referenced by pointer. | ||||
| std::vector< unsigned char > | overlapTypes (size_t objIdx) const | |||
| Get the overlap types for a given object referenced by index. | ||||
| void | clearOverlaps () | |||
| Clear the vectors of overlap indices. | ||||
| 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. | ||||
| 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. | ||||
| 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. | ||||
| void | setOverrideMom (const std::map< const IParticle *, ConstVec > &pOverride) | |||
| Set override momenta. | ||||
| std::map< const IParticle *, ConstVec > | overrideMom () | |||
| Get override momenta. | ||||
| void | addOverrideMom (std::map< const IParticle *, ConstVec > &pOverride) | |||
| Extend override momentum map. | ||||
Specific methods for manipulating the association description data | ||||
| bool | removeContrib (const IParticle *pPart) | |||
| Remove a contribution referenced by an object pointer. | ||||
| bool | removeContrib (size_t objIdx) | |||
| Remove a contribution referenced by an index. | ||||
| bool | removeContrib () | |||
| Remove all contributions. | ||||
| bool | resetContrib (const IParticle *pPart) | |||
| Reset the contribution parameters of an object referenced by a pointer. | ||||
| bool | resetContrib (size_t objIdx) | |||
| Reset the contribution parameters of an object referenced by an index. | ||||
| bool | resetContrib () | |||
| Reset all contribution parameters. | ||||
Dedicated accessors for linked objects | ||||
| const Jet * | refJet () const | |||
| Access reference jet. | ||||
| const JetContainer * | refJetContainer () const | |||
| Access reference jet container holding reference jet. | ||||
| size_t | refJetIndex () const | |||
| Access index of reference jet in its container. | ||||
| std::vector< const IParticle * > | objects () const | |||
| Access contributing objects. | ||||
| std::vector< const IParticle * > | objects (std::vector< ConstVec > &calVecs, std::vector< ConstVec > &trkVecs) const | |||
| Access contributing objects and retrieve constituent vectors. | ||||
| 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. | ||||
| ConstVec | calVec (const IParticle *pPart) const | |||
| Get calo constituent vector for a given object. | ||||
| ConstVec | calVec (size_t keyIdx) const | |||
| Get calo constituent vector for a given entry (index) in the contributing object list. | ||||
| ConstVec | trkVec (const IParticle *pPart) const | |||
| Get track constituent vector for a given object. | ||||
| ConstVec | trkVec (size_t keyIdx) const | |||
| Get track constituent vector for a given entry (index) in the contributing object list. | ||||
| ConstVec | jetTrkVec () const | |||
| Get track constituent vector for the reference jet. | ||||
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. | ||||
| bool | addOverlap (size_t objIdx, size_t index, unsigned char type) | |||
| Add overlap index for a given contributing object referenced by index. | ||||
| bool | identifyOverlaps () | |||
| Loop over contributing objects to identify those that share constituents. | ||||
| bool | identifyOverlaps (size_t objIdx) | |||
| Search association for particles that share constituents with this one. | ||||
| bool | identifyOverlaps (const IParticle *pPart) | |||
| Search association for particles that share constituents with this one. | ||||
| bool | hasOverlaps (const MissingETAssociationHelper &helper, size_t objIdx, MissingETBase::UsageHandler::Policy p=MissingETBase::UsageHandler::OnlyCluster) const | |||
| Check if any selected particles overlap this one. | ||||
| bool | hasOverlaps (const MissingETAssociationHelper &helper, const IParticle *pPart, MissingETBase::UsageHandler::Policy p=MissingETBase::UsageHandler::OnlyCluster) const | |||
| Check if any selected particles overlap this one. | ||||
| 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. | ||||
| ConstVec | overlapTrkVec (const MissingETAssociationHelper &helper) const | |||
| Retrieve total track-based vector to be subtracted from the jet. | ||||
| bool | containsSignal (const IParticle *pSig) const | |||
| Check if this signal object matches the constituents of any contributing objects. | ||||
| bool | containsPhysics (const IParticle *pPhys) const | |||
| Check if this physics object matches any contributing objects. | ||||
| bool | isMisc () const | |||
| Check if this association is a miscellaneous association. | ||||
| 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. | ||||
Allocating and accessing objects in the contribution | ||||
| size_t | findIndex (const IParticle *pPart) const | |||
| Find index of given object in contributing object store. | ||||
List management and information | ||||
| size_t | size () const | |||
| Update all internally used ElementLink instances. | ||||
| size_t | sizeCal () const | |||
| size_t | sizeTrk () const | |||
| bool | empty () const | |||
| Empty list of contributing objects indicator. | ||||
Comparators | ||||
| ||||
| bool | operator== (const MissingETAssociation_v1 &contrib) const | |||
| bool | operator!= (const MissingETAssociation_v1 &contrib) const | |||
| Equality. | ||||
Static Public Member Functions | |
| static bool | testPolicy (const xAOD::IParticle &part, MissingETBase::UsageHandler::Policy p) |
Protected Member Functions | |
| void | createPrivateStore () |
| Function initialising the object to work in standalone mode. | |
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. | |
| MissingETBase::Types::jetlink_t & | f_jetLink () |
| Non-const link reference. | |
| 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 | |
| std::vector< std::vector< unsigned char > > & | f_overlapTypes () |
| record overlapTypes between constributing objects | |
Helpers | |
| bool | f_removeContrib (size_t objIdx) |
| Copy the contribution data from a source. | |
| void | copyData (const MissingETAssociation_v1 &assocDescr) |
| template<class POBJ, class LINK> | |
| void | f_setObject (const POBJ *pObj, LINK &elemLink) |
| Generalized link manager. | |
| template<class LINK> | |
| bool | f_setLink (LINK &elemLink) |
Management of local cache | |
| void | initCache () |
| initialise cache for overlap removal decisions | |
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. | |
Private Attributes | |
| std::map< const IParticle *, ConstVec > | m_override |
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< float > | m_acc_jettrkpx |
| static const SG::AuxElement::Accessor< float > | m_acc_jettrkpy |
| static const SG::AuxElement::Accessor< float > | m_acc_jettrkpz |
| static const SG::AuxElement::Accessor< float > | m_acc_jettrke |
| static const SG::AuxElement::Accessor< float > | m_acc_jettrksumpt |
MET association descriptor contains object links and corresponding parameters.
Definition at line 24 of file MissingETAssociation_v1.h.
|
explicit |
Default constructor.
Definition at line 94 of file MissingETAssociation_v1.cxx.
Construct with a link to a Jet object.
Definition at line 102 of file MissingETAssociation_v1.cxx.
| xAOD::MissingETAssociation_v1::MissingETAssociation_v1 | ( | const MissingETAssociation_v1 & | assocDescr | ) |
Copy constructor.
Definition at line 112 of file MissingETAssociation_v1.cxx.
|
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 345 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 152 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 589 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 379 of file MissingETAssociation_v1.cxx.
Get the vector of \( E \).
| float xAOD::MissingETAssociation_v1::cale | ( | size_t | keyIdx | ) | const |
Get the vector \( E \) for a given object referenced by index.
Definition at line 473 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 477 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 467 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 469 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 471 of file MissingETAssociation_v1.cxx.
Get the vector of sumpt.
| float xAOD::MissingETAssociation_v1::calsumpt | ( | size_t | keyIdx | ) | const |
Get the sumpt for a given object referenced by index.
Definition at line 475 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 538 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 558 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 816 of file MissingETAssociation_v1.cxx.
| bool xAOD::MissingETAssociation_v1::clearCalVecs | ( | ) |
Reset the calo constituent vectors and keys.
| void xAOD::MissingETAssociation_v1::clearOverlaps | ( | ) |
Clear the vectors of overlap indices.
Definition at line 411 of file MissingETAssociation_v1.cxx.
| bool xAOD::MissingETAssociation_v1::clearTrkVecs | ( | ) |
Reset the track constituent vectors and keys.
Check if this physics object matches any contributing objects.
Definition at line 790 of file MissingETAssociation_v1.cxx.
Check if this signal object matches the constituents of any contributing objects.
Definition at line 802 of file MissingETAssociation_v1.cxx.
|
protected |
|
protected |
Function initialising the object to work in standalone mode.
Definition at line 836 of file MissingETAssociation_v1.cxx.
| bool xAOD::MissingETAssociation_v1::empty | ( | ) | 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 218 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 281 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 266 of file MissingETAssociation_v1.cxx.
| size_t xAOD::MissingETAssociation_v1::findTrkIndex | ( | MissingETBase::Types::bitmask_t | mask | ) | const |
Definition at line 287 of file MissingETAssociation_v1.cxx.
| xAOD::JetFourMom_t xAOD::MissingETAssociation_v1::getAlternateConstVec | ( | ) | const |
Definition at line 757 of file MissingETAssociation_v1.cxx.
| bool xAOD::MissingETAssociation_v1::hasAlternateConstVec | ( | ) | const |
Definition at line 752 of file MissingETAssociation_v1.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 717 of file MissingETAssociation_v1.cxx.
| bool xAOD::MissingETAssociation_v1::identifyOverlaps | ( | ) |
Loop over contributing objects to identify those that share constituents.
Definition at line 598 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 678 of file MissingETAssociation_v1.cxx.
|
protected |
initialise cache for overlap removal decisions
Definition at line 866 of file MissingETAssociation_v1.cxx.
| 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 568 of file MissingETAssociation_v1.cxx.
| 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 503 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 522 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 510 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 119 of file MissingETAssociation_v1.cxx.
| bool xAOD::MissingETAssociation_v1::operator== | ( | const MissingETAssociation_v1 & | contrib | ) | const |
Definition at line 575 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 770 of file MissingETAssociation_v1.cxx.
| const std::vector< std::vector< size_t > > & xAOD::MissingETAssociation_v1::overlapIndices | ( | ) | const |
Get the list of object overlapIndices.
| std::vector< size_t > xAOD::MissingETAssociation_v1::overlapIndices | ( | const IParticle * | pPart | ) | const |
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 493 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 780 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 498 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.
| bool xAOD::MissingETAssociation_v1::removeContrib | ( | ) |
Remove all contributions.
Definition at line 211 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 all contribution parameters.
Definition at line 247 of file MissingETAssociation_v1.cxx.
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 241 of file MissingETAssociation_v1.cxx.
Set calo constituent vector \( E \) for a given contributing object referenced by index.
Definition at line 331 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 335 of file MissingETAssociation_v1.cxx.
Set calo constituent vector \( P_{x} \) for a given contributing object referenced by index.
Definition at line 325 of file MissingETAssociation_v1.cxx.
Set calo constituent vector \( P_{y} \) for a given contributing object referenced by index.
Definition at line 327 of file MissingETAssociation_v1.cxx.
Set calo constituent vector \( P_{z} \) for a given contributing object referenced by index.
Definition at line 329 of file MissingETAssociation_v1.cxx.
Set the vector of sumpt.
Definition at line 305 of file MissingETAssociation_v1.cxx.
Set calo constituent sumpt for a given contributing object referenced by index.
Definition at line 333 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 337 of file MissingETAssociation_v1.cxx.
| bool xAOD::MissingETAssociation_v1::setJetLink | ( | const MissingETBase::Types::jetlink_t & | jetLnk | ) |
Set the link to the reference jet.
Definition at line 448 of file MissingETAssociation_v1.cxx.
| void xAOD::MissingETAssociation_v1::setJetTrkE | ( | float | e | ) |
Set track constituent vector \( E \) for the reference jet.
Definition at line 400 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 394 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 396 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 398 of file MissingETAssociation_v1.cxx.
| void xAOD::MissingETAssociation_v1::setJetTrkSumpt | ( | float | sumpt | ) |
Set track constituent vector \( E \) for the reference jet.
Definition at line 402 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 404 of file MissingETAssociation_v1.cxx.
| 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 455 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 418 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 424 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 434 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 441 of file MissingETAssociation_v1.cxx.
Set track constituent vector \( E \) for a given contributing object referenced by index.
Definition at line 365 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 369 of file MissingETAssociation_v1.cxx.
Set track constituent vector \( P_{x} \) for a given contributing object referenced by index.
Definition at line 359 of file MissingETAssociation_v1.cxx.
Set track constituent vector \( P_{y} \) for a given contributing object referenced by index.
Definition at line 361 of file MissingETAssociation_v1.cxx.
Set track constituent vector \( P_{z} \) for a given contributing object referenced by index.
Definition at line 363 of file MissingETAssociation_v1.cxx.
Set the vector of \( E \).
Definition at line 318 of file MissingETAssociation_v1.cxx.
Set track constituent vector \( E \) for a given contributing object referenced by index.
Definition at line 367 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 371 of file MissingETAssociation_v1.cxx.
| size_t xAOD::MissingETAssociation_v1::size | ( | ) | const |
Update all internally used ElementLink instances.
[Deprecated] Update link to reference jet only
| size_t xAOD::MissingETAssociation_v1::sizeCal | ( | ) | const |
| size_t xAOD::MissingETAssociation_v1::sizeTrk | ( | ) | const |
|
static |
Definition at line 873 of file MissingETAssociation_v1.cxx.
|
staticprotected |
Definition at line 879 of file MissingETAssociation_v1.cxx.
Get the vector of \( E \).
| float xAOD::MissingETAssociation_v1::trke | ( | size_t | keyIdx | ) | const |
Get the vector \( E \) for a given object referenced by index.
Definition at line 486 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 490 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 480 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 482 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 484 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 488 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 548 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 563 of file MissingETAssociation_v1.cxx.
|
staticprivate |
Definition at line 431 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 428 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 429 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 430 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 432 of file MissingETAssociation_v1.h.
Definition at line 443 of file MissingETAssociation_v1.h.
Definition at line 440 of file MissingETAssociation_v1.h.
Definition at line 441 of file MissingETAssociation_v1.h.
Definition at line 442 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 444 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 437 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 434 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 435 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 436 of file MissingETAssociation_v1.h.
|
staticprivate |
Definition at line 438 of file MissingETAssociation_v1.h.
|
protected |
Cache object constituents for overlap-finding.
Definition at line 423 of file MissingETAssociation_v1.h.
Definition at line 426 of file MissingETAssociation_v1.h.