|
|
|
static bool | add (MissingETComponentMap *pMap, const MissingET *pMET, MissingETBase::Types::bitmask_t sw=MissingETBase::Status::clearedStatus()) |
| Adding a MissingET object to the map. More...
|
|
static bool | insert (MissingETComponentMap *pMap, const MissingET *pMET, const IParticle *pPart, MissingETBase::Types::weight_t weight=MissingETBase::Types::weight_t()) |
| Insert contributing signal or physics object by pointer, with optional kinematic weight object. More...
|
|
static bool | insert (MissingETComponentMap *pMap, const MissingET *pMET, const IParticle *pPart, const MissingETBase::Types::object_vector_t &signalList, MissingETBase::Types::weight_t weight=MissingETBase::Types::weight_t(), MissingETBase::UsageHandler::Policy p=MissingETBase::UsageHandler::OnlyCluster) |
| Insert MET object and contributing object by pointers, with list of signals and optional kinematic weight object. More...
|
|
static bool | insert (MissingETComponentMap *pMap, const MissingET *pMET, const IParticle *pPart, double wpx, double wpy, double wet) |
| Insert MET object and contributing object by pointers, with individual weights. More...
|
|
static bool | insert (MissingETComponentMap *pMap, const MissingET *pMET, const IParticle *pPart, const MissingETBase::Types::object_vector_t &signalList, double wpx, double wpy, double wet, MissingETBase::UsageHandler::Policy p=MissingETBase::UsageHandler::OnlyCluster) |
| Insert MET object and contributing object by pointers, with list of signals and individual weight components. More...
|
|
|
static MissingETComponentMap::const_iterator | find (const MissingETComponentMap *pMap, const MissingET *pmetObj) |
| Find non-modifiable contribution for a given MET object. More...
|
|
static MissingETComponentMap::iterator | find (MissingETComponentMap *pMap, const MissingET *pmetObj) |
|
static MissingETComponentMap::const_iterator | find (const MissingETComponentMap *pMap, const std::string &metName) |
|
static MissingETComponentMap::iterator | find (MissingETComponentMap *pMap, const std::string &metName) |
|
static MissingETComponentMap::const_iterator | find (const MissingETComponentMap *pMap, MissingETBase::Types::bitmask_t src) |
|
static MissingETComponentMap::iterator | find (MissingETComponentMap *pMap, MissingETBase::Types::bitmask_t src) |
|
static size_t | findIndex (const MissingETComponentMap *pMap, const MissingET *pmetObj) |
|
static size_t | findIndex (const MissingETComponentMap *pMap, const std::string &metName) |
|
static size_t | findIndex (const MissingETComponentMap *pMap, MissingETBase::Types::bitmask_t src) |
|
static MissingETComponentMap::const_iterator | find (const MissingETComponentMap *pMap, const IParticle *pPart) |
| Find non-modifiable contribution for given particle. More...
|
|
static MissingETComponentMap::iterator | find (MissingETComponentMap *pMap, const IParticle *pPart) |
| Find modifiable contribution for given particle. More...
|
|
static MissingETAssociationMap::const_iterator | find (const MissingETAssociationMap *pMap, const Jet *pJet) |
| Find non-modifiable contribution for a given MET object. More...
|
|
static MissingETAssociationMap::iterator | find (MissingETAssociationMap *pMap, const Jet *pJet) |
|
static MissingETAssociationMap::const_iterator | find (const MissingETAssociationMap *pMap, const IParticle *pPart) |
| Find non-modifiable contribution for given particle. More...
|
|
static MissingETAssociationMap::iterator | find (MissingETAssociationMap *pMap, const IParticle *pPart) |
| Find modifiable contribution for given particle. More...
|
|
|
static MissingETComponentMap::const_iterator | begin (const MissingETComponentMap *pMap) |
| Const iterator access to beginning of composition map. More...
|
|
static MissingETComponentMap::iterator | begin (MissingETComponentMap *pMap) |
| Iterator access to beginning of composition map. More...
|
|
static MissingETComponentMap::const_iterator | end (const MissingETComponentMap *pMap) |
|
static MissingETComponentMap::iterator | end (MissingETComponentMap *pMap) |
|
static const MissingETComponent * | getComponent (const MissingETComponentMap *pMap, const IParticle *pPart) |
| Access non-modifiable contribution object. More...
|
|
static const MissingETComponent * | getComponent (const MissingETComponentMap *pMap, const MissingET *pmetObj) |
|
static const MissingETComponent * | getComponent (const MissingETComponentMap *pMap, const std::string &metName) |
|
static const MissingETComponent * | getComponent (const MissingETComponentMap *pMap, MissingETBase::Types::bitmask_t src) |
|
static MissingETComponent * | getComponent (MissingETComponentMap *pMap, const IParticle *pPart) |
| Access non-modifiable contribution object. More...
|
|
static MissingETComponent * | getComponent (MissingETComponentMap *pMap, const MissingET *pmetObj) |
|
static MissingETComponent * | getComponent (MissingETComponentMap *pMap, const std::string &metName) |
|
static MissingETComponent * | getComponent (MissingETComponentMap *pMap, MissingETBase::Types::bitmask_t src) |
|
static std::vector< const MissingETAssociation * > | getAssociations (const MissingETAssociationMap *pMap, const IParticle *pPart) |
| Access non-modifiable contribution object. More...
|
|
static MissingETBase::Types::constvec_t | getConstVec (const MissingETAssociationMap *pMap, const IParticle *pPart, MissingETBase::UsageHandler::Policy p) |
|
static bool | objSelected (const MissingETAssociationHelper &helper, const IParticle *obj) |
|
static bool | selectIfNoOverlaps (MissingETAssociationHelper &helper, const IParticle *obj, MissingETBase::UsageHandler::Policy p) |
|
static const MissingETAssociation * | getAssociation (const MissingETAssociationMap *pMap, const Jet *pJet) |
|
static std::vector< MissingETAssociation * > | getAssociations (MissingETAssociationMap *pMap, const IParticle *pPart) |
| Access non-modifiable contribution object. More...
|
|
static MissingETAssociation * | getAssociation (MissingETAssociationMap *pMap, const Jet *pJet) |
|
|
static MissingETBase::Types::weight_t | getWeight (const MissingETComponentMap *pMap, const IParticle *pPart) |
|
static MissingETBase::Types::weight_t | getWeight (MissingETComponentMap::const_iterator fCont, const IParticle *pPart) |
|
static MissingETBase::Types::bitmask_t | getStatusWord (const MissingETComponentMap *pMap, const MissingET *pmetObj) |
|
static MissingETBase::Types::bitmask_t | getStatusWord (MissingETComponentMap::const_iterator fCont) |
|
static const MissingET * | getMissingET (const MissingETComponentMap *pMap, const IParticle *pPart) |
|
static const MissingET * | getMissingET (MissingETComponentMap::const_iterator fCont) |
|
static const MissingET * | getMissingET (const MissingETComponentMap *pMap, const std::string &name) |
|
static const MissingET * | getMissingET (const MissingETComponentMap *pMap, MissingETBase::Types::bitmask_t sw) |
|
template<int OBJTYPE> |
static bool | fillMissingET (const MissingETComponentMap *pMap, MissingET *pMET, MissingETBase::Types::bitmask_t=MissingETBase::Status::clearedStatus()) |
| Fill a given MissingET object. More...
|
|
static const Jet * | getRefJet (const MissingETAssociationMap *pMap, const IParticle *pPart) |
|
static const Jet * | getRefJet (MissingETAssociationMap::const_iterator fCont) |
|
|
|
static bool | add (MissingETAssociationMap *pMap, const Jet *pJet, const std::vector< ElementLink< IParticleContainer > > &jetconst=std::vector< ElementLink< IParticleContainer > >(), const MissingETBase::Types::constvec_t &trkvec=MissingETBase::Types::constvec_t()) |
| Adding a Jet object to the map. More...
|
|
static bool | add (MissingETAssociationMap *pMap, const Jet *pJet, const std::vector< const IParticle * > &jetracks=std::vector< const IParticle * >()) |
| Adding a Jet object to the map. More...
|
|
static bool | addMiscAssociation (MissingETAssociationMap *pMap) |
| Add an association to hold objects not associated to any jet. More...
|
|
static bool | insert (MissingETAssociationMap *pMap, size_t jetIndex, const IParticle *pPart, const std::vector< const IParticle * > &constlist) |
| Insert contributing object to jet referenced by index, with constVecs for track and calo constituents. More...
|
|
static bool | insert (MissingETAssociationMap *pMap, const Jet *pJet, const IParticle *pPart, const std::vector< const IParticle * > &constlist) |
| Insert contributing object to jet referenced by pointer, with constVecs for track and calo constituents. More...
|
|
static bool | insert (MissingETAssociationMap *pMap, const IParticle *pPart, const std::vector< const IParticle * > &constlist, std::map< const IParticle *, MissingETBase::Types::constvec_t > pOverride=std::map< const IParticle *, MissingETBase::Types::constvec_t >()) |
| Insert contributing object, finding the appropriate association automatically. More...
|
|
static bool | setJetConstSum (MissingETAssociationMap *metMap, const Jet *jet, const std::vector< const IParticle * > &altConsts, std::map< const IParticle *, MissingETBase::Types::constvec_t > pOverride) |
|
static bool | insertMisc (MissingETAssociationMap *pMap, const IParticle *pPart, const std::vector< const IParticle * > &constlist) |
| Insert contributing object into miscellaneous association. More...
|
|
Collection of functions managing the MET composition map and association map.
Preliminaries
This struct does not contain any private data, and does not support any storable data. It collects functions interacting with the data objects providing the composition of a given missing transverse momentum (MET) reconstruction configuration. One set of these data objects includes MissingETComponent for the description of the contributions to a given MET, and MissingETComponentMap , which collects all contributions to a full and consistent MET and thus describes its configuration in terms of contributions from the all physics and signal objects in the event. The other set consists of MissingETAssociation that stores objects matched to a reconstructed jet, and MissingETAssociationMap , which encodes all overlaps between objects in a physics event.
Introduction
The principal data objects describing the composition of a given reconstructed MET are (1) the MissingETComponent object and (2) the MissingETComponentMap object. The first one describes the contributions to a given MET term, as documented here , and the second object is a collection of MET contibutions describing the composition of the fully reconstructed MET.
To permit the rebuilding of MET more easily without recourse to the constituent collections, we define (1) the MissingETAssociation object and (2) the MissingETAssociationMap object. The first one describes the objects matched to a reconstructed jet, as documented here , and the second object is a collection of associations, holding all overlap removal decisions for objects in the event.
The interaction with these data objects and the rules applied to these interactions are provided by the functions collected in the MissingETComposition structure.
Insertion rules (link to code documentation)
Two different levels of
Example: add data to the composition map
Each tool reconstructing a MET term is expected to add a MissingET object to a composition map. The sequence in the tool's execute method should look like this:
if ( this->evtStore()->
retrieve(pCont,
"ElectronContainer").isFailure() )
{
ATH_MSG_ERROR(
"Cannot allocate ElectronContainer");
return StatusCode::FAILURE; }
{
ATH_MSG_WARNING(
"MissingET object <" << pMET->
name() <<
" already in composition map");
return StatusCode::SUCCESS; }
for ( ; fEle != lEle; ++fEle ) {
clusterList.clear();
this->extractClusters(*fEle,clusterList);
if ( !pMap->checkOverlap(clusterList) ) {
pMet.add((*fEle)->p4().Px(),(*fEle)->p4().Py(),(*fEle)->pt());
}
}
}
return StatusCode::SUCCESS;
}
In this example MissingETComposition::add(MissingETComponentMap*,const MissingET*,MissingETBase::Types::bitmask_t sw) and MissingETComposition::insert(MissingETComponentMap*,const MissingET*,const MissingETBase::Types::weight_t&) are used.
Definition at line 21 of file Event/xAOD/xAODMissingET/xAODMissingET/MissingETComposition.h.