ATLAS Offline Software
|
Class used to describe composite objects in the HLT. More...
#include <TrigComposite_v1.h>
Public Types | |
using | sgkey_t = SG::sgkey_t |
using | index_type = uint32_t |
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 | |
TrigComposite_v1 () | |
Default constructor. More... | |
TrigComposite_v1 (const TrigComposite_v1 &parent) | |
Copy constructor. More... | |
TrigComposite_v1 & | operator= (const TrigComposite_v1 &rhs) |
Assignment operator. More... | |
void | assign (const AuxElement &other, bool warnUnlocked=false) |
Assignment. 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, bool warnUnlocked=false) |
Create a new private store for this object and copy aux data. More... | |
template<class U1 > | |
void | makePrivateStore (const U1 *other, bool warnUnlocked=false) |
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... | |
const SG::auxid_set_t & | getDecorIDs () const |
Return a set of identifiers for decorations 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... | |
Basic properties | |
const std::string & | name () const |
Get a human-readable name for the object. More... | |
void | setName (const std::string &name) |
Set a human-readable name for the object. More... | |
const std::vector< TrigCompositeUtils::DecisionID > & | decisions () const |
Get positive HLT chain decisions associated with this TrigComposite. Navigation use. More... | |
void | setDecisions (const std::vector< TrigCompositeUtils::DecisionID > &decisions) |
Set positive HLT chain decisions associated with this TrigComposite. Navigation use. More... | |
Functions for accessing basic properties on the object | |
template<typename TYPE > | |
bool | hasDetail (const std::string &name) const |
Check if a given type of detail is available. More... | |
template<typename TYPE > | |
bool | setDetail (const std::string &name, const TYPE &value) |
Set an TYPE detail on the object. More... | |
template<typename TYPE > | |
bool | getDetail (const std::string &name, TYPE &value) const |
Get an TYPE detail from the object. More... | |
template<typename TYPE > | |
TYPE | getDetail (const std::string &name) const |
Get a detail by name, missing detail will result on std::runtime_error exception. More... | |
Functions for accessing links to component objects and object collections | |
template<class CONTAINER > | |
bool | setObjectLink (const std::string &name, const ElementLink< CONTAINER > &link) |
Set the link to an object. More... | |
bool | hasObjectLink (const std::string &name, const CLID clid=CLID_NULL) const |
Check if a link to an object with a given name and type exists. CLID_NULL to not check type. More... | |
template<class CONTAINER > | |
ElementLink< CONTAINER > | objectLink (const std::string &name) const |
Get the link with the requested name. More... | |
template<class OBJECT > | |
const OBJECT * | object (const std::string &name) const |
Get a bare pointer with the requested name. More... | |
template<class CONTAINER > | |
bool | addObjectCollectionLink (const std::string &collectionName, const ElementLink< CONTAINER > &link) |
Add a link to a single object within a collection. Performs de-duplication. More... | |
template<class CONTAINER > | |
bool | addObjectCollectionLinks (const std::string &collectionName, const std::vector< ElementLink< CONTAINER >> &links) |
Add links to multiple objects within a collection. Performs de-duplication. More... | |
bool | hasObjectCollectionLinks (const std::string &collectionName, const CLID clid=CLID_NULL) const |
Check if links exist to a collection of objects with given name and type. CLID_NULL to not check type. More... | |
template<class CONTAINER > | |
std::vector< ElementLink< CONTAINER > > | objectCollectionLinks (const std::string &collectionName) const |
Get a vector of all element links from the collection. More... | |
void | typelessSetObjectLink (const std::string &name, const sgkey_t key, const uint32_t clid, const index_type beginIndex, const index_type endIndex=0) |
Add a link without type. More... | |
bool | typelessGetObjectLink (const std::string &name, sgkey_t &key, uint32_t &clid, index_type &index) const |
Fetches a single link without type. More... | |
bool | typelessGetObjectCollectionLinks (const std::string &name, std::vector< sgkey_t > &keyVec, std::vector< uint32_t > &clidVec, std::vector< index_type > &indexVec) const |
Fetches a collection of links without type. More... | |
template<class CONTAINER > | |
std::vector< std::string > | getObjectNames () const |
Look up all links stored to objects of (container) type CONTAINER. More... | |
template<class CONTAINER > | |
std::vector< std::string > | getObjectCollectionNames () const |
Look up all links stored to collections objects from (container) type CONTAINER. More... | |
bool | removeObjectLink (const std::string &name) |
Delete any stored element link with the given name. More... | |
bool | removeObjectCollectionLinks (const std::string &name) |
Delete any stored collection of element links with the given name. More... | |
Functions for copying links between objects | |
bool | copyLinkFrom (const xAOD::TrigComposite_v1 &other, const std::string &name, std::string newName="") |
Copy one named link from another object. More... | |
bool | copyLinkFrom (const xAOD::TrigComposite_v1 *other, const std::string &name, std::string newName="") |
bool | copyLinkCollectionFrom (const xAOD::TrigComposite_v1 &other, const std::string &name, std::string newName="") |
Copy one named link collection from another object. More... | |
bool | copyLinkCollectionFrom (const xAOD::TrigComposite_v1 *other, const std::string &name, std::string newName="") |
bool | copyAllLinksFrom (const xAOD::TrigComposite_v1 &other) |
Copy all single links and collections of links from another object. More... | |
bool | copyAllLinksFrom (const xAOD::TrigComposite_v1 *other) |
Functions for accessing raw data used to construct ElementLinks | |
const std::vector< std::string > & | linkColNames () const |
Raw access to the persistent link names. More... | |
const std::vector< sgkey_t > & | linkColKeys () const |
Raw access to the persistent link labels. More... | |
const std::vector< index_type > & | linkColIndices () const |
Raw access to the persistent link indices. More... | |
const std::vector< uint32_t > & | linkColClids () const |
Raw access to the persistent link CLIDs. More... | |
bool | isRemapped () const |
Information on if linkColKeys() and linkColIndices() are able to access remapped link data Remapping happens at the end of HLT execution when EDM objects are copied out of their per-EventView containers and into the global Trigger EDM containers. More... | |
const std::vector< sgkey_t > & | linkColKeysRemap () const |
Raw access to the persistent link labels. Will attempt to access remapped link data. More... | |
const std::vector< index_type > & | linkColIndicesRemap () const |
Raw access to the persistent link indices. Will attempt to access remapped link data. More... | |
Static Public Attributes | |
static bool s_throwOnCopyError | ATLAS_THREAD_SAFE |
For use in validation, when copying element links from one object to another. More... | |
static const std::string | s_initialRoIString {"initialRoI"} |
Constant used to identify an initial ROI from L1. More... | |
static const std::string | s_initialRecRoIString {"initialRecRoI"} |
Constant used to identify an initial HLT ROI derived from L1. More... | |
static const std::string | s_roiString {"roi"} |
Constant used to identify an (explicitly) updated HLT ROI. More... | |
static const std::string | s_viewString {"view"} |
Constant used to identify a view. More... | |
static const std::string | s_featureString {"feature"} |
Constant used to identify a feature. More... | |
static const std::string | s_seedString {"seed"} |
Constant used to identify a seed (parent) More... | |
static const std::string | s_hltSeedingNodeNameString {"L1"} |
Constant used to identify a navigation graph node as being from the HLTSeeding. More... | |
static const std::string | s_filterNodeNameString {"F"} |
Constant used to identify a navigation graph node as being from a Filter. More... | |
static const std::string | s_inputMakerNodeNameString {"IM"} |
Constant used to identify a navigation graph node as being from a Input Maker. More... | |
static const std::string | s_hypoAlgNodeNameString {"H"} |
Constant used to identify a navigation graph node as being from a Hypo Alg. More... | |
static const std::string | s_comboHypoAlgNodeNameString {"CH"} |
Constant used to identify a navigation graph node as being from a Combo Hypo Alg. More... | |
static const std::string | s_summaryFilterNodeNameString {"SF"} |
Constant used to identify a navigation graph node as being from a final Filter created by the DecisionSummaryMaker algorithm. More... | |
static const std::string | s_summaryPassNodeNameString {"HLTPassRaw"} |
Constant used to identify the single terminus graph node the end point of all chains which accept the event. More... | |
static const std::string | s_summaryPassExpressNodeNameString {"HLTPassExpress"} |
Constant used to identify the single express-accept graph node. More... | |
static const std::string | s_summaryPrescaledNodeNameString {"HLTPrescaled"} |
Constant used to identify the single prescaled graph node. More... | |
static constexpr bool | supportsThinning = true |
Mark that this type supports thinning operations. More... | |
Protected Member Functions | |
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... | |
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 | |
std::vector< std::string > & | linkColNamesNC () |
Raw access to the persistent link names (non-const) More... | |
std::vector< sgkey_t > & | linkColKeysNC () |
Raw access to the persistent link labels (non-const) More... | |
std::vector< index_type > & | linkColIndicesNC () |
Raw access to the persistent link indices (non-const) More... | |
std::vector< uint32_t > & | linkColClidsNC () |
Raw access to the persistent link CLIDs (non-const) More... | |
bool | hasObjectLinkExact (const std::string &name, const sgkey_t key, const index_type index, const uint32_t clid) const |
void | copyLinkInternal (const xAOD::TrigComposite_v1 &other, const size_t index, const std::string &newName) |
Helper function, copy one link into this object. More... | |
bool | derivesFromIParticle (const CLID clid) const |
Helper function. Check if the requested type can be down cast to an IParticle transient interface. More... | |
template<class CONTAINER > | |
void | checkTypes (const CLID storedCLID, const std::string &name) const |
Helper function. Contains type logic check for use during actual link retrieval. Throws on error. More... | |
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 *other, bool warnUnlocked) |
Create a new private store for this object and copy aux data. More... | |
void | makePrivateStore1 (const AuxElement *other, bool warnUnlocked) |
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, bool warnUnlocked=false) |
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 |
Static Private Attributes | |
static const std::string | s_collectionSuffix {"__COLL"} |
Class used to describe composite objects in the HLT.
This is a generic class for describing the output of high-level HLT algorithms that combine lower-level objects into one.
Definition at line 52 of file TrigComposite_v1.h.
|
inherited |
Definition at line 572 of file AuxElement.h.
|
inherited |
Definition at line 569 of file AuxElement.h.
|
inherited |
Definition at line 575 of file AuxElement.h.
Definition at line 56 of file TrigComposite_v1.h.
Definition at line 55 of file TrigComposite_v1.h.
|
inherited |
Definition at line 566 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.
xAOD::TrigComposite_v1::TrigComposite_v1 | ( | ) |
xAOD::TrigComposite_v1::TrigComposite_v1 | ( | const TrigComposite_v1 & | parent | ) |
Copy constructor.
Definition at line 77 of file TrigComposite_v1.cxx.
bool xAOD::TrigComposite_v1::addObjectCollectionLink | ( | const std::string & | collectionName, |
const ElementLink< CONTAINER > & | link | ||
) |
Add a link to a single object within a collection. Performs de-duplication.
bool xAOD::TrigComposite_v1::addObjectCollectionLinks | ( | const std::string & | collectionName, |
const std::vector< ElementLink< CONTAINER >> & | links | ||
) |
Add links to multiple objects within a collection. Performs de-duplication.
|
inherited |
Assignment.
other | The object from which we're assigning. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
We don't copy container/index, as assignment doesn't change where this object is. However, if we have aux data, then we copy aux data if we're copying from an object that also has it; otherwise, if we're copying from an object with no aux data, then we clear ours.
|
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.
|
private |
Helper function. Contains type logic check for use during actual link retrieval. Throws on error.
|
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 580 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 339 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 428 of file AuxElement.cxx.
|
inherited |
Return the container holding this element.
|
inherited |
Return the container holding this element.
bool xAOD::TrigComposite_v1::copyAllLinksFrom | ( | const xAOD::TrigComposite_v1 & | other | ) |
Copy all single links and collections of links from another object.
Will not overwrite existing links, or link collections, or append to existing link collections.
other | TrigComposite object to copy all links and link collections from, which do not already exist. |
Definition at line 177 of file TrigComposite_v1.cxx.
bool xAOD::TrigComposite_v1::copyAllLinksFrom | ( | const xAOD::TrigComposite_v1 * | other | ) |
Definition at line 197 of file TrigComposite_v1.cxx.
|
privateinherited |
Copy aux data from another object.
other | The object from which to copy. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
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 607 of file AuxElement.cxx.
bool xAOD::TrigComposite_v1::copyLinkCollectionFrom | ( | const xAOD::TrigComposite_v1 & | other, |
const std::string & | name, | ||
std::string | newName = "" |
||
) |
Copy one named link collection from another object.
Will not overwrite or append to an existing collection of links
other | TrigComposite object to copy the link collection from |
name | Name of link collection |
newName | Optional parameter to rename the link collection during the copy |
Definition at line 148 of file TrigComposite_v1.cxx.
bool xAOD::TrigComposite_v1::copyLinkCollectionFrom | ( | const xAOD::TrigComposite_v1 * | other, |
const std::string & | name, | ||
std::string | newName = "" |
||
) |
Definition at line 173 of file TrigComposite_v1.cxx.
bool xAOD::TrigComposite_v1::copyLinkFrom | ( | const xAOD::TrigComposite_v1 & | other, |
const std::string & | name, | ||
std::string | newName = "" |
||
) |
Copy one named link from another object.
Will not overwrite an existing link
other | TrigComposite object to copy the link from |
name | Name of link to copy |
newName | Optional parameter to rename the link during the copy |
Definition at line 123 of file TrigComposite_v1.cxx.
bool xAOD::TrigComposite_v1::copyLinkFrom | ( | const xAOD::TrigComposite_v1 * | other, |
const std::string & | name, | ||
std::string | newName = "" |
||
) |
Definition at line 144 of file TrigComposite_v1.cxx.
|
private |
Helper function, copy one link into this object.
Definition at line 111 of file TrigComposite_v1.cxx.
const std::vector<TrigCompositeUtils::DecisionID>& xAOD::TrigComposite_v1::decisions | ( | ) | const |
Get positive HLT chain decisions associated with this TrigComposite. Navigation use.
Helper function. Check if the requested type can be down cast to an IParticle transient interface.
Definition at line 292 of file TrigComposite_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 355 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 304 of file AuxElement.cxx.
|
inherited |
Return a set of identifiers for decorations 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 378 of file AuxElement.cxx.
Get a detail by name, missing detail will result on std::runtime_error exception.
bool xAOD::TrigComposite_v1::getDetail | ( | const std::string & | name, |
TYPE & | value | ||
) | const |
Get an TYPE detail from the object.
std::vector<std::string> xAOD::TrigComposite_v1::getObjectCollectionNames | ( | ) | const |
Look up all links stored to collections objects from (container) type CONTAINER.
std::vector<std::string> xAOD::TrigComposite_v1::getObjectNames | ( | ) | const |
Look up all links stored to objects of (container) type CONTAINER.
|
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 319 of file AuxElement.cxx.
|
protectedinherited |
True if this element had private data before it was added to its current container.
Check if a given type of detail is available.
|
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 411 of file AuxElement.cxx.
bool xAOD::TrigComposite_v1::hasObjectCollectionLinks | ( | const std::string & | collectionName, |
const CLID | clid = CLID_NULL |
||
) | const |
Check if links exist to a collection of objects with given name and type. CLID_NULL to not check type.
Definition at line 275 of file TrigComposite_v1.cxx.
bool xAOD::TrigComposite_v1::hasObjectLink | ( | const std::string & | name, |
const CLID | clid = CLID_NULL |
||
) | const |
Check if a link to an object with a given name and type exists. CLID_NULL to not check type.
Definition at line 246 of file TrigComposite_v1.cxx.
|
private |
Definition at line 281 of file TrigComposite_v1.cxx.
|
inherited |
Return true if this object has an associated store.
This will be true for either a private or standalone store.
Definition at line 398 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.
bool xAOD::TrigComposite_v1::isRemapped | ( | ) | const |
Information on if linkColKeys() and linkColIndices() are able to access remapped link data Remapping happens at the end of HLT execution when EDM objects are copied out of their per-EventView containers and into the global Trigger EDM containers.
Definition at line 454 of file TrigComposite_v1.cxx.
Raw access to the persistent link CLIDs.
|
private |
Raw access to the persistent link CLIDs (non-const)
Definition at line 340 of file TrigComposite_v1.cxx.
const std::vector< TrigComposite_v1::index_type > & xAOD::TrigComposite_v1::linkColIndices | ( | ) | const |
Raw access to the persistent link indices.
Definition at line 314 of file TrigComposite_v1.cxx.
|
private |
Raw access to the persistent link indices (non-const)
Definition at line 336 of file TrigComposite_v1.cxx.
const std::vector< TrigComposite_v1::index_type > & xAOD::TrigComposite_v1::linkColIndicesRemap | ( | ) | const |
Raw access to the persistent link indices. Will attempt to access remapped link data.
Definition at line 322 of file TrigComposite_v1.cxx.
linkColClids const std::vector< SG::sgkey_t > & xAOD::TrigComposite_v1::linkColKeys | ( | ) | const |
Raw access to the persistent link labels.
Definition at line 310 of file TrigComposite_v1.cxx.
|
private |
Raw access to the persistent link labels (non-const)
Definition at line 332 of file TrigComposite_v1.cxx.
const std::vector< SG::sgkey_t > & xAOD::TrigComposite_v1::linkColKeysRemap | ( | ) | const |
Raw access to the persistent link labels. Will attempt to access remapped link data.
Definition at line 318 of file TrigComposite_v1.cxx.
const std::vector< std::string >& xAOD::TrigComposite_v1::linkColNames | ( | ) | const |
Raw access to the persistent link names.
|
private |
Raw access to the persistent link names (non-const)
Definition at line 328 of file TrigComposite_v1.cxx.
|
inherited |
Create a new (empty) private store for this object.
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
Definition at line 192 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. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
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. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
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. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
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 565 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. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
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.
const std::string& xAOD::TrigComposite_v1::name | ( | ) | const |
Get a human-readable name for the object.
|
protectedinherited |
True if this element has no private data.
const OBJECT* xAOD::TrigComposite_v1::object | ( | const std::string & | name | ) | const |
Get a bare pointer with the requested name.
std::vector<ElementLink< CONTAINER > > xAOD::TrigComposite_v1::objectCollectionLinks | ( | const std::string & | collectionName | ) | const |
Get a vector of all element links from the collection.
ElementLink< CONTAINER > xAOD::TrigComposite_v1::objectLink | ( | const std::string & | name | ) | const |
Get the link with the requested name.
TrigComposite_v1 & xAOD::TrigComposite_v1::operator= | ( | const TrigComposite_v1 & | rhs | ) |
|
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 210 of file AuxElement.cxx.
|
privateinherited |
Out-of-line portion of destructor.
Delete a private store if we have one.
Definition at line 441 of file AuxElement.cxx.
Delete any stored collection of element links with the given name.
[in] | name | Name of the stored link collection |
Definition at line 227 of file TrigComposite_v1.cxx.
Delete any stored element link with the given name.
[in] | name | Name of the stored link |
Definition at line 210 of file TrigComposite_v1.cxx.
|
inherited |
Synonym for setStore
with IConstAuxStore
.
store | The new store. |
void xAOD::TrigComposite_v1::setDecisions | ( | const std::vector< TrigCompositeUtils::DecisionID > & | decisions | ) |
Set positive HLT chain decisions associated with this TrigComposite. Navigation use.
bool xAOD::TrigComposite_v1::setDetail | ( | const std::string & | name, |
const TYPE & | value | ||
) |
Set an TYPE detail on the object.
|
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 505 of file AuxElement.cxx.
void xAOD::TrigComposite_v1::setName | ( | const std::string & | name | ) |
Set a human-readable name for the object.
|
inherited |
Synonym for setStore
with IAuxStore
.
store | The new store. |
|
privateinherited |
Record that this element does not have private data.
bool xAOD::TrigComposite_v1::setObjectLink | ( | const std::string & | name, |
const ElementLink< CONTAINER > & | link | ||
) |
Set the link to an object.
|
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 269 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 241 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 257 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 461 of file AuxElement.cxx.
|
inherited |
Return true if index tracking is enabled for this object.
Always returns true. Included here to be consistent with AuxVectorBase when standalone objects may be used as template parameters.
bool xAOD::TrigComposite_v1::typelessGetObjectCollectionLinks | ( | const std::string & | name, |
std::vector< sgkey_t > & | keyVec, | ||
std::vector< uint32_t > & | clidVec, | ||
std::vector< index_type > & | indexVec | ||
) | const |
Fetches a collection of links without type.
[in] | name | Name of the stored link |
[out] | keyVec | Storegte key of the link-objects will be pushed on to this vector |
[out] | clidVec | Type of the objects will be pushed on to this vector |
[out] | indexVec | Index of the objects within their collections will be pushed on to this vector |
Definition at line 430 of file TrigComposite_v1.cxx.
bool xAOD::TrigComposite_v1::typelessGetObjectLink | ( | const std::string & | name, |
sgkey_t & | key, | ||
uint32_t & | clid, | ||
TrigComposite_v1::index_type & | index | ||
) | const |
Fetches a single link without type.
Note: Will not work for collections of links, use typelessGetObjectCollectionLinks
[in] | name | Name of the stored link |
[out] | key | Storegate key of the link-object's collection |
[out] | clid | Type of the object's collection |
[out] | index | Index within the collection of the link-object |
Definition at line 411 of file TrigComposite_v1.cxx.
void xAOD::TrigComposite_v1::typelessSetObjectLink | ( | const std::string & | name, |
const sgkey_t | key, | ||
const uint32_t | clid, | ||
const index_type | beginIndex, | ||
const index_type | endIndex = 0 |
||
) |
Add a link without type.
Definition at line 344 of file TrigComposite_v1.cxx.
|
inherited |
Test to see if this object is currently using a private store.
Definition at line 280 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 290 of file AuxElement.cxx.
|
static |
For use in validation, when copying element links from one object to another.
Definition at line 243 of file TrigComposite_v1.h.
|
privateinherited |
The container of which this object is an element.
Should be null if this object is not within a container, except that it may also point at a private store.
Definition at line 335 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.
|
staticprivate |
Definition at line 305 of file TrigComposite_v1.h.
|
static |
Constant used to identify a navigation graph node as being from a Combo Hypo Alg.
Definition at line 267 of file TrigComposite_v1.h.
|
static |
Constant used to identify a feature.
Definition at line 254 of file TrigComposite_v1.h.
|
static |
Constant used to identify a navigation graph node as being from a Filter.
Definition at line 261 of file TrigComposite_v1.h.
|
static |
Constant used to identify a navigation graph node as being from the HLTSeeding.
Definition at line 259 of file TrigComposite_v1.h.
|
static |
Constant used to identify a navigation graph node as being from a Hypo Alg.
Definition at line 265 of file TrigComposite_v1.h.
|
static |
Constant used to identify an initial HLT ROI derived from L1.
Definition at line 248 of file TrigComposite_v1.h.
|
static |
Constant used to identify an initial ROI from L1.
Definition at line 246 of file TrigComposite_v1.h.
|
static |
Constant used to identify a navigation graph node as being from a Input Maker.
Definition at line 263 of file TrigComposite_v1.h.
|
static |
Constant used to identify an (explicitly) updated HLT ROI.
Definition at line 250 of file TrigComposite_v1.h.
|
static |
Constant used to identify a seed (parent)
Definition at line 256 of file TrigComposite_v1.h.
|
static |
Constant used to identify a navigation graph node as being from a final Filter created by the DecisionSummaryMaker algorithm.
Definition at line 270 of file TrigComposite_v1.h.
|
static |
Constant used to identify the single express-accept graph node.
A record of all chains which triggered express streaming.
Definition at line 276 of file TrigComposite_v1.h.
|
static |
Constant used to identify the single terminus graph node the end point of all chains which accept the event.
Definition at line 273 of file TrigComposite_v1.h.
|
static |
Constant used to identify the single prescaled graph node.
A record of all chains which did not execute due to HLT prescale.
Definition at line 279 of file TrigComposite_v1.h.
|
static |
Constant used to identify a view.
Definition at line 252 of file TrigComposite_v1.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 959 of file AuxElement.h.