Public Member Functions | |
| MissingETAssociationMap_v1 (SG::OwnershipPolicy own=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES) | |
| Default constructor. | |
| MissingETAssociationMap_v1 (MissingETAssociationMap_v1::iterator first, MissingETAssociationMap_v1::iterator last, SG::OwnershipPolicy own=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES) | |
| Constructor from iterators. | |
| virtual | ~MissingETAssociationMap_v1 () |
| Base class destructor. | |
| void | resize (size_type sz) |
| void | pop_back () |
| void | clear () |
| void | sort () |
| Sort the container. | |
| template<class COMPARE > | |
| void | sort (COMPARE comp) |
| Sort the container with a user-specified comparison operator. | |
| void | clear (SG::OwnershipPolicy ownPolicy) |
| void | clear (SG::OwnershipPolicy ownPolicy, SG::IndexTrackingPolicy trackIndices) |
| iterator | erase (iterator position) |
| Remove element at a given position. | |
| iterator | erase (iterator first, iterator last) |
| Remove a range of elements. | |
| void | resetAssocCache () const |
Find methods | |
| const_iterator | find (const Jet *pJet) const |
| Find association from jet pointer. | |
| iterator | find (const Jet *pJet) |
| Find association from jet pointer. | |
| size_t | findIndex (const Jet *pJet) const |
| const_iterator | findByJetConst (const IParticle *pConst) const |
| Find association from jet constituent. | |
| iterator | findByJetConst (const IParticle *pConst) |
| Find association from jet constituent. | |
| const_iterator | findByJetConst (ElementLink< IParticleContainer > constLink) const |
| Find association from jet constituent. | |
| iterator | findByJetConst (ElementLink< IParticleContainer > constLink) |
| Find association from jet constituent. | |
| size_t | findIndexByJetConst (const IParticle *pConst) const |
| size_t | findIndexByJetConst (ElementLink< IParticleContainer > pConstLink) const |
| const MissingETAssociation_v1 * | getMiscAssociation () const |
| Get an association for miscellaneous objects not associated to jets. | |
| MissingETAssociation_v1 * | getMiscAssociation () |
Jet constituent and overlap removal methods | |
| bool | setJetConstituents (const Jet *pJet) const |
| Set constituent map for a jet. | |
| bool | setJetConstituents (const std::vector< ElementLink< IParticleContainer > > &constLinks, const Jet *pJet) const |
| Set constituent map for a jet. | |
| bool | setJetConstituents (const std::vector< ElementLink< IParticleContainer > > &constLinks, size_t jetIndex) const |
| Set constituent map for a jet. | |
| bool | identifyOverlaps () |
| Do overlap-finding in all associations. | |
| void | clearOverlaps () |
| const IParticleContainer * | getUniqueSignals (const IParticleContainer *signals, MissingETBase::UsageHandler::Policy p=MissingETBase::UsageHandler::TrackCluster) const |
| Extract a container of constituents that are not in jets. | |
| const IParticleContainer * | getOverlapRemovedSignals (const IParticleContainer *signals, MissingETBase::UsageHandler::Policy p=MissingETBase::UsageHandler::TrackCluster) const |
| Extract a container of constituents that do not overlap physics objects. | |
Reset mutable map flags | |
| void | resetObjSelectionFlags () const |
Protected Member Functions | |
| void | f_setJetConstMap (std::map< ElementLink< IParticleContainer >, size_t > map) |
| void | f_clearJetConstMap () |
Protected Attributes | |
|
std::map< ElementLink < IParticleContainer >, size_t > | m_jetConstLinks |
| Map jet constituents to the jet index. | |
Internal find methods for constant access | |
|
| |
| const_iterator | f_findConst (const Jet *pJet) const |
| Find contribution by reference jet pointer. | |
| void | f_setConstCache (const_iterator fCont) const |
| iterator | f_find (const Jet *pJet) |
| void | f_setCache (iterator fCont) |
| void | resetCache () const |
| xAOD::MissingETAssociationMap_v1::iterator xAOD::MissingETAssociationMap_v1::erase | ( | iterator | first, | |
| iterator | last | |||
| ) | [inline] |
Remove a range of elements.
| first | Iterator pointing to the first element to be removed. | |
| last | Iterator pointing one past the last element to be removed. |
end()).If the container owns its elements, then the removed elements will be deleted. Any duplicates will be removed in this process, but don't rely on this.
Reimplemented from DataVector< MissingETAssociation_v1 >.
| xAOD::MissingETAssociationMap_v1::iterator xAOD::MissingETAssociationMap_v1::erase | ( | iterator | position | ) | [inline] |
Remove element at a given position.
| position | Iterator pointing to the element to be removed. |
end()).If the container owns its elements, then the pointed-to element will be deleted.
Reimplemented from DataVector< MissingETAssociation_v1 >.
| MissingETAssociationMap_v1::const_iterator MissingETAssociationMap_v1::f_findConst | ( | const Jet * | pJet | ) | const [protected] |
Find contribution by reference jet pointer.
This method finds a xAOD::MissingETAssociation_v1 object linked to the specified xAOD::Jet object. It is invoked internally by find(const Jet*). It uses an internal cache to determine if this jet has been found in the latest invocation of the find method, and returns without further action in this case. If a different jet is searched for, it initiates a linear search and updates the internal cache with the new pointer (will be NULL if referenced jet not found) and the datawords storing the const_iterator and the iterator referencing the non-modifiable and modifiable xAOD::MissingETAssociation_v1 object in the association map, respectively (both iterators will be set to the corresponding end iterator if the jet is not in the association map).
| [in] | pJet | pointer to non-modifiable Jet object to be found in the association map. |
| MissingETAssociationMap_v1::iterator MissingETAssociationMap_v1::find | ( | const Jet * | pJet | ) |
Find association from jet pointer.
| [in] | pJet | pointer to the xAOD::Jet object searched for in the association map. |
| MissingETAssociationMap_v1::const_iterator MissingETAssociationMap_v1::find | ( | const Jet * | pJet | ) | const |
Find association from jet pointer.
| [in] | pJet | pointer to the xAOD::Jet object searched for in the association map. |
| MissingETAssociationMap_v1::iterator MissingETAssociationMap_v1::findByJetConst | ( | ElementLink< IParticleContainer > | constLink | ) |
Find association from jet constituent.
| [in] | ElementLink | to the xAOD::IParticle object searched for in the association map. |
| MissingETAssociationMap_v1::const_iterator MissingETAssociationMap_v1::findByJetConst | ( | ElementLink< IParticleContainer > | constLink | ) | const |
Find association from jet constituent.
| [in] | ElementLink | to the xAOD::IParticle object searched for in the association map. |
| MissingETAssociationMap_v1::iterator MissingETAssociationMap_v1::findByJetConst | ( | const IParticle * | pConst | ) |
Find association from jet constituent.
| [in] | pointer | to the xAOD::IParticle object searched for in the association map. |
| MissingETAssociationMap_v1::const_iterator MissingETAssociationMap_v1::findByJetConst | ( | const IParticle * | pConst | ) | const |
Find association from jet constituent.
| [in] | pointer | to the xAOD::IParticle object searched for in the association map. |
| const MissingETAssociation_v1 * MissingETAssociationMap_v1::getMiscAssociation | ( | ) | const |
Get an association for miscellaneous objects not associated to jets.
| const xAOD::IParticleContainer * MissingETAssociationMap_v1::getOverlapRemovedSignals | ( | const IParticleContainer * | signals, | |
| MissingETBase::UsageHandler::Policy | p = MissingETBase::UsageHandler::TrackCluster | |||
| ) | const |
Extract a container of constituents that do not overlap physics objects.
| [in] | Non-modifiable | IParticleContainer holding the constituents to be tested |
| [in] | MissingETBase::UsageHandler::Policy | stating which types of constituents to check |
| const xAOD::IParticleContainer * MissingETAssociationMap_v1::getUniqueSignals | ( | const IParticleContainer * | signals, | |
| MissingETBase::UsageHandler::Policy | p = MissingETBase::UsageHandler::TrackCluster | |||
| ) | const |
Extract a container of constituents that are not in jets.
| [in] | Non-modifiable | IParticleContainer holding the constituents to be tested |
| [in] | MissingETBase::UsageHandler::Policy | stating which types of constituents to check |
| bool MissingETAssociationMap_v1::identifyOverlaps | ( | ) |
Do overlap-finding in all associations.
| bool MissingETAssociationMap_v1::setJetConstituents | ( | const std::vector< ElementLink< IParticleContainer > > & | constLinks, | |
| size_t | jetIndex | |||
| ) | const |
Set constituent map for a jet.
| [in] | Index | of the jet's association in the map |
| [in] | Non-modifiable | vector of ElementLink to the jet constituents |
| bool MissingETAssociationMap_v1::setJetConstituents | ( | const std::vector< ElementLink< IParticleContainer > > & | constLinks, | |
| const Jet * | pJet | |||
| ) | const |
Set constituent map for a jet.
| [in] | Pointer | to the jet |
| [in] | Non-modifiable | vector of ElementLink to the jet constituents |
| bool MissingETAssociationMap_v1::setJetConstituents | ( | const Jet * | pJet | ) | const |
Set constituent map for a jet.
| [in] | Pointer | to the jet |
| void xAOD::MissingETAssociationMap_v1::sort | ( | COMPARE | comp | ) | [inline] |
Sort the container with a user-specified comparison operator.
| comp | Functional to compare two values. |
Reimplemented from DataVector< MissingETAssociation_v1 >.
| void xAOD::MissingETAssociationMap_v1::sort | ( | ) | [inline] |
Sort the container.
This just sorts by pointer value, so it's probably not very useful.
Reimplemented from DataVector< MissingETAssociation_v1 >.
1.6.1