ATLAS Offline Software
|
MET component descriptor contains object links and corresponding parameters. More...
#include <MissingETComponent_v1.h>
Classes | |
class | Weight |
Kinematic weight descriptor. 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 | ||||
MissingETComponent_v1 (bool createStore=false) | ||||
Default constructor. More... | ||||
MissingETComponent_v1 (const MissingET *pmetObj, MissingETBase::Types::bitmask_t sw=MissingETBase::Status::clearedStatus()) | ||||
Construct with a link to a MissingET object. More... | ||||
MissingETComponent_v1 (const MissingET *pmetObj, const IParticle *pPart, const Weight &wght=Weight(), MissingETBase::Types::bitmask_t sw=MissingETBase::Status::clearedStatus()) | ||||
Construct with a link to a MissingET and a link to an IParticle object, and a Weight . More... | ||||
MissingETComponent_v1 (const MissingET *pmetObj, const IParticle *pPart, double wpx, double wpy, double wet, MissingETBase::Types::bitmask_t sw=MissingETBase::Status::clearedStatus()) | ||||
Construct with a link to a MissingET and a link to an IParticle object, and indivdual numerical weight components. More... | ||||
MissingETComponent_v1 (const MissingETComponent_v1 &compDescr) | ||||
Copy constructor. More... | ||||
MissingETComponent_v1 (const MissingETComponent_v1 &compDescr, MissingETBase::Types::bitmask_t sw) | ||||
Copy constructor with new status word. More... | ||||
MissingETComponent_v1 & | operator= (const MissingETComponent_v1 &compDescr) | |||
virtual | ~MissingETComponent_v1 () | |||
Assignment operator. More... | ||||
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 MET object | ||||
Base class destructor | ||||
bool | setMET (const MissingET *pmetObj, MissingETBase::Types::bitmask_t sw=MissingETBase::Status::clearedStatus()) | |||
Set MET object by object pointer reference. More... | ||||
bool | setMET (const MissingETContainer_v1 *pmetCont, size_t pmedIdx, MissingETBase::Types::bitmask_t sw=MissingETBase::Status::clearedStatus()) | |||
Set MET object by container pointer and index reference. More... | ||||
Adding data to the MET component description | ||||
bool | addObject (const IParticle *pPart, const Weight &wght=Weight()) | |||
Add object (particle) from pointer reference with optional kinematic weight. More... | ||||
bool | addObject (const IParticle *pPart, double wpx, double wpy, double wet) | |||
Add object (particle) from pointer reference with individual kinematic weight components. More... | ||||
Conventional and dedicated getter and setters | ||||
const std::vector< double > & | wpx () const | |||
Get the vector of \( w_{x} \) weight components More... | ||||
double | wpx (const IParticle *pPart) const | |||
Get the weight component \( w_{x} \) for a given object referenced by pointer. More... | ||||
double | wpx (size_t pIdx) const | |||
Get the weight component \( w_{x} \) for a given object referenced by index. More... | ||||
bool | setWpx (const std::vector< double > &wcv) | |||
Set the vector of \( w_{x} \) weight components More... | ||||
bool | setWpx (const IParticle *pPart, double wpx) | |||
Set kinematic weight component \( w_{x} \) for a given contributing object referenced by pointer. More... | ||||
bool | setWpx (size_t pIdx, double wpx) | |||
Set kinematic weight component \( w_{x} \) for a given contributing object referenced by index. More... | ||||
const std::vector< double > & | wpy () const | |||
Get the vector of \( w_{y} \) weight components More... | ||||
double | wpy (const IParticle *pPart) const | |||
Get the weight component \( w_{y} \) for a given object referenced by pointer. More... | ||||
double | wpy (size_t pIdx) const | |||
Get the weight component \( w_{y} \) for a given object referenced by index. More... | ||||
bool | setWpy (const std::vector< double > &wpyVector) | |||
Set the vector of \( w_{y} \) weight components More... | ||||
bool | setWpy (const IParticle *pPart, double wpy) | |||
Set kinematic weight component \( w_{y} \) for a given contributing object referenced by pointer. More... | ||||
bool | setWpy (size_t pIdx, double wpy) | |||
Set kinematic weight component \( w_{y} \) for a given contributing object referenced by index. More... | ||||
const std::vector< double > & | wet () const | |||
Get the vector of \( w_{\rm T} \) weight components More... | ||||
double | wet (const IParticle *pPart) const | |||
Get the weight component \( w_{\rm T} \) for a given object referenced by pointer. More... | ||||
double | wet (size_t pIdx) const | |||
Get the weight component \( w_{\rm T} \) for a given object referenced by index. More... | ||||
bool | setWet (const std::vector< double > &wcv) | |||
Set the vector of \( w_{\rm T} \) weight components More... | ||||
bool | setWet (const IParticle *pPart, double wet) | |||
Set kinematic weight \( w_{\rm T} \) for a given contributing object referenced by pointer. More... | ||||
bool | setWet (size_t pIdx, double wet) | |||
Set kinematic weight \( w_{\rm T} \) for a given contributing object referenced by index. More... | ||||
bool | setWeight (const IParticle *pPart, const Weight &wght=Weight()) | |||
Set the kinematic weight of an object contribution referenced by pointer. More... | ||||
bool | setWeight (const IParticle *pPart, double wpx, double wpy, double wet) | |||
Set the kinematic weight components of an object contribution referenced by pointer. More... | ||||
bool | setWeight (size_t pIdx, const Weight &wght=Weight()) | |||
Set the kinematic weight of an object contribution referenced by index. More... | ||||
bool | setWeight (size_t pIdx, double wpx, double wpy, double wet) | |||
Set the kinematic weight components of an object contribution referenced by index. More... | ||||
const MissingETBase::Types::metlink_t & | metLink () const | |||
Get the link to the MET object. More... | ||||
bool | setMetLink (const MissingETBase::Types::metlink_t &metLnk) | |||
Set the link to the MET object. 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... | ||||
MissingETBase::Types::bitmask_t | statusWord () const | |||
Get the statusword. More... | ||||
bool | setStatusWord (MissingETBase::Types::bitmask_t sw=MissingETBase::Status::clearedStatus()) | |||
Set the statusword of a MET term. More... | ||||
Specific methods for manipulating the component description data | ||||
bool | removeContrib (const IParticle *pPart) | |||
Remove a contribution referenced by an object pointer. More... | ||||
bool | removeContrib (size_t pIdx) | |||
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 pIdx) | |||
Reset the contribution parameters of an object referenced by an index. More... | ||||
bool | resetContrib () | |||
Reset all contribution parameters. More... | ||||
bool | mergeStatusWord (MissingETBase::Types::bitmask_t sw) | |||
Merge patterns into the MET term status. More... | ||||
bool | clearStatusWord () | |||
Clear statusword. More... | ||||
Dedicated accessors for linked objects | ||||
const MissingET * | metObject () const | |||
Access MET object. More... | ||||
const MissingETContainer_v1 * | metObjectContainer () const | |||
Access MET object container holding MET object. More... | ||||
size_t | metObjectIndex () const | |||
Access index of MET object in its container. More... | ||||
std::vector< const IParticle * > | objects () const | |||
Access contributing objects. More... | ||||
std::vector< const IParticle * > | objects (std::vector< Weight > &kinePars) const | |||
Access contributing objects and retrieve kinematic weights. More... | ||||
std::vector< const IParticle * > | objects (const std::vector< double > *&wpxPtr, const std::vector< double > *&wpyPtr, const std::vector< double > *&wetPtr) const | |||
Access contributing objects and retrieve kinematic weight components. More... | ||||
Weight | weight (const IParticle *pPart) const | |||
Get kinematic weight for a given object. More... | ||||
Weight | weight (size_t pIdx) const | |||
Get kinematic weight for a given entry (index) in the contributing object list. 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 | ||||
size_t | size () const | |||
[Deprecated] Update all internally used ElementLink instances More... | ||||
bool | empty () const | |||
Empty list of contributing objects indicator. More... | ||||
Comparators | ||||
| ||||
bool | operator== (const MissingETComponent_v1 &contrib) const | |||
bool | operator!= (const MissingETComponent_v1 &contrib) const | |||
Equality. More... | ||||
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::metlink_t & | f_metLink () |
Non-const link reference More... | |
std::vector< double > & | f_wpx () |
std::vector< double > & | f_wpy () |
std::vector< double > & | f_wet () |
MissingETBase::Types::bitmask_t & | f_statusWord () |
Helpers | |
bool | f_removeContrib (size_t pIdx) |
Copy the contribution data from a source. More... | |
void | copyData (const MissingETComponent_v1 &compDescr, MissingETBase::Types::bitmask_t sw=MissingETBase::Status::clearedStatus()) |
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) |
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 | |
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 component descriptor contains object links and corresponding parameters.
Definition at line 23 of file MissingETComponent_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.
MissingETComponent_v1::MissingETComponent_v1 | ( | bool | createStore = false | ) |
Default constructor.
Definition at line 56 of file MissingETComponent_v1.cxx.
MissingETComponent_v1::MissingETComponent_v1 | ( | const MissingET * | pmetObj, |
MissingETBase::Types::bitmask_t | sw = MissingETBase::Status::clearedStatus() |
||
) |
Construct with a link to a MissingET object.
Definition at line 62 of file MissingETComponent_v1.cxx.
MissingETComponent_v1::MissingETComponent_v1 | ( | const MissingET * | pmetObj, |
const IParticle * | pPart, | ||
const Weight & | wght = Weight() , |
||
MissingETBase::Types::bitmask_t | sw = MissingETBase::Status::clearedStatus() |
||
) |
Construct with a link to a MissingET and a link to an IParticle object, and a Weight
.
Definition at line 83 of file MissingETComponent_v1.cxx.
MissingETComponent_v1::MissingETComponent_v1 | ( | const MissingET * | pmetObj, |
const IParticle * | pPart, | ||
double | wpx, | ||
double | wpy, | ||
double | wet, | ||
MissingETBase::Types::bitmask_t | sw = MissingETBase::Status::clearedStatus() |
||
) |
Construct with a link to a MissingET and a link to an IParticle object, and indivdual numerical weight components.
Definition at line 71 of file MissingETComponent_v1.cxx.
MissingETComponent_v1::MissingETComponent_v1 | ( | const MissingETComponent_v1 & | compDescr | ) |
MissingETComponent_v1::MissingETComponent_v1 | ( | const MissingETComponent_v1 & | compDescr, |
MissingETBase::Types::bitmask_t | sw | ||
) |
|
virtual |
bool xAOD::MissingETComponent_v1::addObject | ( | const IParticle * | pPart, |
const Weight & | wght = Weight() |
||
) |
Add object (particle) from pointer reference with optional kinematic weight.
bool MissingETComponent_v1::addObject | ( | const IParticle * | pPart, |
double | wpx, | ||
double | wpy, | ||
double | wet | ||
) |
Add object (particle) from pointer reference with individual kinematic weight components.
Definition at line 122 of file MissingETComponent_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.
|
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.
|
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.
bool xAOD::MissingETComponent_v1::clearStatusWord | ( | ) |
Clear statusword.
|
inherited |
Return the container holding this element.
|
inherited |
Return the container holding this element.
|
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 341 of file MissingETComponent_v1.cxx.
bool xAOD::MissingETComponent_v1::empty | ( | ) | const |
Empty list of contributing objects indicator.
|
protected |
Non-const link reference
|
protected |
Non-const link reference.
|
protected |
Copy the contribution data from a source.
[in] | contrib | reference to non-modifiable contribution object (the source). |
Definition at line 172 of file MissingETComponent_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 |
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::MissingETComponent::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 213 of file MissingETComponent_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.
|
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.
|
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.
|
inherited |
Return the index of this element within its container.
|
inherited |
Return the index of this element within its container.
Inherited from IAuxElement.
|
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.
|
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.
bool xAOD::MissingETComponent_v1::mergeStatusWord | ( | MissingETBase::Types::bitmask_t | sw | ) |
Merge patterns into the MET term status.
const MissingETBase::Types::metlink_t& xAOD::MissingETComponent_v1::metLink | ( | ) | const |
Get the link to the MET object.
const MissingETContainer_v1* xAOD::MissingETComponent_v1::metObjectContainer | ( | ) | const |
size_t xAOD::MissingETComponent_v1::metObjectIndex | ( | ) | const |
Access index of MET object in its container.
|
protectedinherited |
True if this element has no private data.
const MissingETBase::Types::objlink_vector_t& xAOD::MissingETComponent_v1::objectLinks | ( | ) | const |
Get the vector of links to the contributing physics or signal objects.
Access contributing objects.
Definition at line 295 of file MissingETComponent_v1.cxx.
std::vector<const IParticle*> xAOD::MissingETComponent_v1::objects | ( | std::vector< Weight > & | kinePars | ) | const |
Access contributing objects and retrieve kinematic weights.
bool xAOD::MissingETComponent_v1::operator!= | ( | const MissingETComponent_v1 & | contrib | ) | const |
Equality.
MissingETComponent_v1 & MissingETComponent_v1::operator= | ( | const MissingETComponent_v1 & | compDescr | ) |
Definition at line 103 of file MissingETComponent_v1.cxx.
bool MissingETComponent_v1::operator== | ( | const MissingETComponent_v1 & | contrib | ) | const |
Definition at line 328 of file MissingETComponent_v1.cxx.
|
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 MissingETComponent_v1::removeContrib | ( | ) |
Remove all contributions.
Definition at line 165 of file MissingETComponent_v1.cxx.
Remove a contribution referenced by an object pointer.
bool xAOD::MissingETComponent_v1::removeContrib | ( | size_t | pIdx | ) |
Remove a contribution referenced by an index.
bool MissingETComponent_v1::resetContrib | ( | ) |
Reset the contribution parameters of an object referenced by a pointer.
bool MissingETComponent_v1::resetContrib | ( | size_t | pIdx | ) |
Reset the contribution parameters of an object referenced by an index.
Definition at line 185 of file MissingETComponent_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 MissingETComponent_v1::setMET | ( | const MissingET * | pmetObj, |
MissingETBase::Types::bitmask_t | sw = MissingETBase::Status::clearedStatus() |
||
) |
Set MET object by object pointer reference.
Definition at line 249 of file MissingETComponent_v1.cxx.
bool MissingETComponent_v1::setMET | ( | const MissingETContainer_v1 * | pmetCont, |
size_t | pmedIdx, | ||
MissingETBase::Types::bitmask_t | sw = MissingETBase::Status::clearedStatus() |
||
) |
Set MET object by container pointer and index reference.
Definition at line 257 of file MissingETComponent_v1.cxx.
bool MissingETComponent_v1::setMetLink | ( | const MissingETBase::Types::metlink_t & | metLnk | ) |
Set the link to the MET object.
Definition at line 264 of file MissingETComponent_v1.cxx.
|
inherited |
Synonym for setStore
with IAuxStore
.
store | The new store. |
|
privateinherited |
Record that this element does not have private data.
bool MissingETComponent_v1::setObjectLinks | ( | const MissingETBase::Types::objlink_vector_t & | objLnks | ) |
Set the vector of links to the contributing physics or signal objects.
Definition at line 270 of file MissingETComponent_v1.cxx.
bool xAOD::MissingETComponent_v1::setStatusWord | ( | MissingETBase::Types::bitmask_t | sw = MissingETBase::Status::clearedStatus() | ) |
Set the statusword of a MET term.
|
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.
bool xAOD::MissingETComponent_v1::setWeight | ( | const IParticle * | pPart, |
const Weight & | wght = Weight() |
||
) |
Set the kinematic weight of an object contribution referenced by pointer.
bool xAOD::MissingETComponent_v1::setWeight | ( | const IParticle * | pPart, |
double | wpx, | ||
double | wpy, | ||
double | wet | ||
) |
Set the kinematic weight components of an object contribution referenced by pointer.
Set the kinematic weight of an object contribution referenced by index.
Set the kinematic weight components of an object contribution referenced by index.
Definition at line 241 of file MissingETComponent_v1.cxx.
Set kinematic weight \( w_{\rm T} \) for a given contributing object referenced by pointer.
Set kinematic weight \( w_{\rm T} \) for a given contributing object referenced by index.
Definition at line 239 of file MissingETComponent_v1.cxx.
Set kinematic weight component \( w_{x} \) for a given contributing object referenced by pointer.
Set kinematic weight component \( w_{x} \) for a given contributing object referenced by index.
Definition at line 235 of file MissingETComponent_v1.cxx.
Set kinematic weight component \( w_{y} \) for a given contributing object referenced by pointer.
Set kinematic weight component \( w_{y} \) for a given contributing object referenced by index.
Definition at line 237 of file MissingETComponent_v1.cxx.
size_t xAOD::MissingETComponent_v1::size | ( | ) | const |
[Deprecated] Update all internally used ElementLink instances
[Deprecated] Update link MissingET object only
MissingETBase::Types::bitmask_t xAOD::MissingETComponent_v1::statusWord | ( | ) | const |
Get the statusword.
|
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.
|
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.
Get kinematic weight for a given object.
MissingETComponent_v1::Weight MissingETComponent_v1::weight | ( | size_t | pIdx | ) | const |
Get kinematic weight for a given entry (index) in the contributing object list.
Definition at line 319 of file MissingETComponent_v1.cxx.
Get the vector of \( w_{\rm T} \) weight components
Get the weight component \( w_{\rm T} \) for a given object referenced by pointer.
double MissingETComponent_v1::wet | ( | size_t | pIdx | ) | const |
Get the weight component \( w_{\rm T} \) for a given object referenced by index.
Definition at line 292 of file MissingETComponent_v1.cxx.
Get the vector of \( w_{x} \) weight components
Get the weight component \( w_{x} \) for a given object referenced by pointer.
double MissingETComponent_v1::wpx | ( | size_t | pIdx | ) | const |
Get the weight component \( w_{x} \) for a given object referenced by index.
Definition at line 288 of file MissingETComponent_v1.cxx.
Get the vector of \( w_{y} \) weight components
Get the weight component \( w_{y} \) for a given object referenced by pointer.
double MissingETComponent_v1::wpy | ( | size_t | pIdx | ) | const |
Get the weight component \( w_{y} \) for a given object referenced by index.
Definition at line 290 of file MissingETComponent_v1.cxx.
|
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.
|
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.