![]() |
ATLAS Offline Software
|
Go to the source code of this file.
Classes | |
| struct | LinkInfo< T > |
| Helper to keep a Decision object, ElementLink and ActiveState (with respect to some requested ChainGroup) linked together (for convenience) More... | |
Typedefs | |
| typedef xAOD::TrigCompositeAuxContainer | DecisionAuxContainer |
| typedef xAOD::TrigCompositeContainer | DecisionContainer |
| typedef std::set< DecisionID > | DecisionIDContainer |
Functions | |
| SG::WriteHandle< DecisionContainer > | createAndStore (const SG::WriteHandleKey< DecisionContainer > &key, const EventContext &ctx) |
| Creates and right away records the DecisionContainer with the key. | |
| void | decisionIDs (const Decision *d, DecisionIDContainer &id) |
| Extracts DecisionIDs stored in the Decision object. | |
| const std::string & | featureString () |
| template<typename T> | |
| LinkInfo< T > | findLink (const Decision *start, const std::string &linkName, const bool suppressMultipleLinksWarning=false) |
| Perform a recursive search for ElementLinks of type T and name 'linkName', starting from Decision object 'start' For the case of multiple links, this function only returns the first one found. | |
| void | linkToPrevious (Decision *d, const std::string &previousCollectionKey, size_t previousIndex) |
| Links to the previous object, location of previous 'seed' decision supplied by hand. | |
| Decision * | newDecisionIn (DecisionContainer *dc, const std::string &name="") |
| Helper method to create a Decision object, place it in the container and return a pointer to it. | |
| const std::string & | viewString () |
| const std::string & | hypoAlgNodeName () |
Definition at line 20 of file TrigCompositeAuxContainer.h.
Definition at line 21 of file Event/xAOD/xAODTrigger/xAODTrigger/TrigCompositeContainer.h.
| typedef std::set<DecisionID> TrigCompositeUtils::DecisionIDContainer |
Definition at line 28 of file TrigComposite_v1.h.
| SG::WriteHandle< DecisionContainer > TrigCompositeUtils::createAndStore | ( | const SG::WriteHandleKey< DecisionContainer > & | key, |
| const EventContext & | ctx ) |
Creates and right away records the DecisionContainer with the key.
Returns the WriteHandle.
Definition at line 28 of file TrigCompositeUtilsRoot.cxx.
| void TrigCompositeUtils::decisionIDs | ( | const Decision * | d, |
| DecisionIDContainer & | destination ) |
Extracts DecisionIDs stored in the Decision object.
Definition at line 65 of file TrigCompositeUtilsRoot.cxx.
|
inline |
Definition at line 421 of file TrigCompositeUtils.h.
| LinkInfo< T > TrigCompositeUtils::findLink | ( | const Decision * | start, |
| const std::string & | linkName, | ||
| const bool | suppressMultipleLinksWarning = false ) |
Perform a recursive search for ElementLinks of type T and name 'linkName', starting from Decision object 'start' For the case of multiple links, this function only returns the first one found.
| [in] | start | the Decision Object from where recursive search should begin |
| [in] | linkName | the name of the ElementLink stored inside one or more DecisionObjects. |
| [in] | suppressMultipleLinksWarning | findLink will print a warning if more than one ElementLink is found, this can be silenced here. |
|
inline |
Definition at line 427 of file TrigCompositeUtils.h.
| void TrigCompositeUtils::linkToPrevious | ( | Decision * | d, |
| const std::string & | previousCollectionKey, | ||
| size_t | previousIndex ) |
Links to the previous object, location of previous 'seed' decision supplied by hand.
Definition at line 140 of file TrigCompositeUtilsRoot.cxx.
| Decision * TrigCompositeUtils::newDecisionIn | ( | DecisionContainer * | dc, |
| const std::string & | name = "" ) |
Helper method to create a Decision object, place it in the container and return a pointer to it.
This is to make this: auto d = newDecisionIn(output); instead of: auto d = new Decision; output->push_back(d); If provided, the name is assigned to the TC object Note that the supplied DecisionContainer must have been recorded in the event store.
Definition at line 44 of file TrigCompositeUtilsRoot.cxx.
|
inline |
Definition at line 420 of file TrigCompositeUtils.h.