ATLAS Offline Software
|
#include <TrigDecisionToolCore.h>
Public Member Functions | |
TrigDecisionToolCore () | |
virtual | ~TrigDecisionToolCore () |
virtual StatusCode | initialize () |
virtual StatusCode | finalize () |
const Trig::ExpertMethods & | ExperimentalAndExpertMethods () const |
const Trig::ChainGroup * | getChainGroup (const std::vector< std::string > &patterns, TrigDefs::Group props=TrigDefs::Group::Default) const |
Create/get chain group (. More... | |
const Trig::ChainGroup * | getChainGroup (const std::string &pattern, TrigDefs::Group props=TrigDefs::Group::Default) const |
Create/get chain group (. More... | |
std::vector< std::string > | getListOfTriggers (const Trig::ChainGroup *chaingroup) const |
std::vector< std::string > | getListOfTriggers (const std::string &triggerNames=".*") const |
std::vector< std::string > | getListOfStreams (const Trig::ChainGroup *chaingroup) const |
std::vector< std::string > | getListOfStreams (const std::string &triggerNames=".*") const |
std::vector< std::string > | getListOfGroups (const Trig::ChainGroup *chaingroup) const |
std::vector< std::string > | getListOfGroups (const std::string &triggerNames=".*") const |
std::vector< std::vector< std::string > > | getListOfTriggerElements (const Trig::ChainGroup *chaingroup) const |
std::vector< std::vector< std::string > > | getListOfTriggerElements (const std::string &triggerNames=".*") const |
float | getPrescale (const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const |
float | getPrescale (const std::string &triggerNames="EF._*", unsigned int condition=TrigDefs::Physics) const |
bool | isPassed (const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const |
true if given group of chains passed More... | |
bool | isPassed (const std::string &chain, unsigned int condition) const |
true if given chain passed More... | |
bool | isPassed (const std::string &chain) const |
unsigned int | isPassedBits (const Trig::ChainGroup *chaingroup) const |
Return expert-level information about the various trigger flags as a bit mask. More... | |
unsigned int | isPassedBits (const std::string &chain) const |
FeatureContainer | features (const Trig::ChainGroup *group, unsigned int condition=TrigDefs::Physics) const |
Runs 1, 2. More... | |
FeatureContainer | features (const std::string &chainName="EF_.*", unsigned int condition=TrigDefs::Physics) const |
Runs 1, 2. More... | |
template<class CONTAINER > | |
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > | features (const Trig::FeatureRequestDescriptor &featureRequest) const |
Runs 3+. More... | |
template<class CONTAINER > | |
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > | features (const Trig::ChainGroup *group, const unsigned int condition=TrigDefs::Physics, const std::string &containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1) const |
Runs 3+. More... | |
template<class CONTAINER > | |
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > | features (const std::string &chainGroupName, const unsigned int condition=TrigDefs::Physics, const std::string &containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1) const |
Runs 3+. More... | |
template<class T > | |
Feature< T > | ancestor (const HLT::TriggerElement *te, std::string label="") const |
gives back feature matching (by seeding relation) More... | |
const Trig::ChainGroup * | getChainGroup (const std::vector< std::string > &patterns, TrigDefs::Group props=TrigDefs::Group::Default) const |
Create/get chain group (. More... | |
const Trig::ChainGroup * | getChainGroup (const std::string &pattern, TrigDefs::Group props=TrigDefs::Group::Default) const |
Create/get chain group (. More... | |
std::vector< std::string > | getListOfTriggers (const Trig::ChainGroup *chaingroup) const |
std::vector< std::string > | getListOfTriggers (const std::string &triggerNames=".*") const |
std::vector< std::string > | getListOfStreams (const Trig::ChainGroup *chaingroup) const |
std::vector< std::string > | getListOfStreams (const std::string &triggerNames=".*") const |
std::vector< std::string > | getListOfGroups (const Trig::ChainGroup *chaingroup) const |
std::vector< std::string > | getListOfGroups (const std::string &triggerNames=".*") const |
std::vector< std::vector< std::string > > | getListOfTriggerElements (const Trig::ChainGroup *chaingroup) const |
std::vector< std::vector< std::string > > | getListOfTriggerElements (const std::string &triggerNames=".*") const |
float | getPrescale (const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const |
float | getPrescale (const std::string &triggerNames="EF._*", unsigned int condition=TrigDefs::Physics) const |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
bool | msgLvl (const MSG::Level lvl) const |
bool | isPassed (const Trig::ChainGroup *chaingroup, unsigned int condition=TrigDefs::Physics) const |
true if given group of chains passed More... | |
bool | isPassed (const std::string &chain, unsigned int condition) const |
true if given chain passed More... | |
bool | isPassed (const std::string &chain) const |
std::vector< bool > | isPassedForEach (const Trig::ChainGroup *chainGroup, unsigned int condition=TrigDefs::Physics) const |
return decision for each chain in group More... | |
std::vector< bool > | isPassedForEach (const std::string &chain, unsigned int condition=TrigDefs::Physics) const |
return decision for each chain defined by given pattern More... | |
unsigned int | isPassedBits (const Trig::ChainGroup *chaingroup) const |
Return expert-level information about the various trigger flags as a bit mask. More... | |
unsigned int | isPassedBits (const std::string &chain) const |
std::vector< unsigned int > | isPassedBitsForEach (const Trig::ChainGroup *chaingroup) const |
Return the result of isPassedBits for each chain in the group. More... | |
std::vector< unsigned int > | isPassedBitsForEach (const std::string &chain) const |
char | getBGCode () const |
get the bunch group code bit X=1: BG X fired (X=0..7) use: bool BGXfired = BGCode & (0x1<<X) More... | |
FeatureContainer | features (const Trig::ChainGroup *group, unsigned int condition=TrigDefs::Physics) const |
Runs 1, 2. More... | |
FeatureContainer | features (const std::string &chainName="EF_.*", unsigned int condition=TrigDefs::Physics) const |
Runs 1, 2. More... | |
template<class T > | |
Feature< T > | ancestor (const HLT::TriggerElement *te, std::string label="") const |
gives back feature matching (by seeding relation) More... | |
template<class T > | |
std::vector< Trig::Feature< T > > | ancestors (const HLT::TriggerElement *te, std::string label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const |
gives back features matching (by seeding relation) - will also flatten containers if necessary More... | |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
bool | msgLvl (const MSG::Level lvl) const |
Protected Member Functions | |
virtual Trig::CacheGlobalMemory * | cgm () |
virtual const Trig::CacheGlobalMemory * | cgm () const |
void | ChainGroupInitialize () |
void | configurationUpdate (const TrigConf::HLTChainList *confChains, const TrigConf::CTPConfig *confItems) |
Protected Attributes | |
HLT::TrigNavStructure * | m_navigation = nullptr |
Private Member Functions | |
TrigDecisionToolCore (const TrigDecisionToolCore &) | |
TrigDecisionToolCore & | operator= (const TrigDecisionToolCore &) |
Private Attributes | |
SG::SlotSpecificObj< Trig::CacheGlobalMemory > | m_cacheGlobalMemory |
Trig::ExpertMethods | m_expertMethods |
Static Private Attributes | |
static asg::AsgTool *s_logger | ATLAS_THREAD_SAFE {nullptr} |
Definition at line 48 of file TrigDecisionToolCore.h.
Trig::TrigDecisionToolCore::TrigDecisionToolCore | ( | ) |
Definition at line 25 of file TrigDecisionToolCore.cxx.
|
virtual |
Definition at line 46 of file TrigDecisionToolCore.cxx.
|
private |
Feature<T> Trig::DecisionAccess::ancestor | ( | class T | ) |
gives back feature matching (by seeding relation)
te | - is trigger element to start with, not that thanks to conversion operators Feature object can be given here as well |
|
inherited |
gives back feature matching (by seeding relation)
te | - is trigger element to start with, not that thanks to conversion operators Feature object can be given here as well |
|
inherited |
gives back features matching (by seeding relation) - will also flatten containers if necessary
te | - is trigger element to start with, not that thanks to conversion operators Feature object can be given here as well |
|
inherited |
Runs 3+.
Returns a range over a container which are associated with a particular EventView instance from online. Instance mapping done via supplied ElementLink<TrigRoiDescriptorCollection>.
[in] | inViewContainer | The ReadHandle of the collection which was produced online inside an EventView. |
[in] | roi | TrigRoiDescriptor used to seed the desired EventView. |
|
inherited |
Runs 3+.
Returns a range over a container which are associated with a particular EventView instance from online. Instance mapping done via an ElementLink<TrigRoiDescriptorCollection> obtained from the supplied Decision object pointer
[in] | inViewContainer | The ReadHandle of the collection which was produced online inside an EventView. |
[in] | decisionObject | Decision node from which a TrigRoiDescriptor can be located. |
[in] | roiName | Name of the TrigRoiDescriptor inside the Navigation. |
|
inherited |
Runs 3+.
Returns a range over a container which are associated with a particular EventView instance from online. Instance mapping done via an ElementLink<TrigRoiDescriptorCollection> obtained from the supplied LinkInfo
[in] | inViewContainer | The ReadHandle of the collection which was produced online inside an EventView. |
[in] | linkInfo | LinkInfo from which a TrigRoiDescriptor can be located. |
[in] | roiName | Name of the TrigRoiDescriptor inside the Navigation. |
|
inherited |
Runs 3+.
Returns a range over a container which are associated with a particular EventView instance from online. Instance mapping done via matchIndex and optional matchKey (leave matchKey = 0 to not cut on this).
[in] | inViewContainer | The ReadHandle of the collection which was produced online inside an EventView. |
[in] | matchIndex | The index of the desired EventView. |
[in] | matchKey | Optional. SGKey of the index of the desired EventView (collection hosting the ROI used to span the Event View) |
[in] | isFullscan | Optional. If true, and inViewContainer has no viewIndex decorations, then return iterators over the full span of the inViewContainer instead of throwing an exception. This allows the associateToEventView interface to be used also for non-EventView containers, with the FS ROI used to indicate that the lack of decorations is expected rather than being indicative of a configuration problem. |
|
protectedvirtual |
|
protectedvirtual |
|
protectedinherited |
Definition at line 25 of file ChainGroupFunctions.cxx.
|
protectedinherited |
Definition at line 26 of file ConfigurationAccess.cxx.
|
inline |
Definition at line 87 of file TrigDecisionToolCore.h.
std::vector< TrigCompositeUtils::LinkInfo<CONTAINER> > Trig::DecisionAccess::features | ( | class CONTAINER | ) |
Runs 3+.
Returns features related to given chain
[in] | group | Chain group to return features for. |
[in] | condition | Condition requirement. Only TrigDefs::Physics and TrigDefs::includeFailedDecisions are supported. |
[in] | containerSGKey | Optional requirement to return only features within the specified container name. Not checked if not specified. |
[in] | featureCollectionMode | For lastFeatureOfType, stop exploring each route through the navigation once one matching feature has been found. |
[in] | navElementLinkKey | Optional name of element link as saved online. The "feature" link is enforced, others may have been added. |
[in] | restrictToLegIndex | Optional index of a leg for mult-leg chains. Features will only be returned on the specified leg. Default is all legs. |
|
inherited |
Runs 3+.
Returns features related to given chain
[in] | group | Chain group to return features for. |
[in] | condition | Condition requirement. Only TrigDefs::Physics and TrigDefs::includeFailedDecisions are supported. |
[in] | containerSGKey | Optional requirement to return only features within the specified container name. Not checked if not specified. |
[in] | featureCollectionMode | For lastFeatureOfType, stop exploring each route through the navigation once one matching feature has been found. |
[in] | navElementLinkKey | Optional name of element link as saved online. The "feature" link is enforced, others may have been added. |
[in] | restrictToLegIndex | Optional index of a leg for mult-leg chains. Features will only be returned on the specified leg. Default is all legs. |
Trig::FeatureContainer Trig::DecisionAccess::features |
Runs 1, 2.
Returns features related to given chain
Definition at line 135 of file DecisionAccess.cxx.
|
inherited |
Runs 1, 2.
Returns features related to given chain
Definition at line 97 of file DecisionAccess.cxx.
std::vector< TrigCompositeUtils::LinkInfo<CONTAINER> > Trig::DecisionAccess::features | ( | class CONTAINER | ) |
Runs 3+.
Returns all features related to given chain group
[in] | group | Chain group to return features for. |
[in] | condition | Condition requirement. Only TrigDefs::Physics and TrigDefs::includeFailedDecisions are supported. |
[in] | containerSGKey | Optional requirement to return only features within the specified container name. Not checked if not specified. |
[in] | featureCollectionMode | For lastFeatureOfType, stop exploring each route through the navigation once one matching feature has been found. |
[in] | navElementLinkKey | Optional name of element link as saved online. The "feature" link is enforced, others may have been added. |
[in] | restrictToLegIndex | Optional index of a leg for mult-leg chains. Features will only be returned on the specified leg. Default is all legs. |
|
inherited |
Runs 3+.
Returns all features related to given chain group
[in] | group | Chain group to return features for. |
[in] | condition | Condition requirement. Only TrigDefs::Physics and TrigDefs::includeFailedDecisions are supported. |
[in] | containerSGKey | Optional requirement to return only features within the specified container name. Not checked if not specified. |
[in] | featureCollectionMode | For lastFeatureOfType, stop exploring each route through the navigation once one matching feature has been found. |
[in] | navElementLinkKey | Optional name of element link as saved online. The "feature" link is enforced, others may have been added. |
[in] | restrictToLegIndex | Optional index of a leg for mult-leg chains. Features will only be returned on the specified leg. Default is all legs. |
Trig::FeatureContainer Trig::DecisionAccess::features |
Runs 1, 2.
Returns all features related to given chain group
Definition at line 129 of file DecisionAccess.cxx.
|
inherited |
Runs 1, 2.
Returns all features related to given chain group
Definition at line 92 of file DecisionAccess.cxx.
std::vector< TrigCompositeUtils::LinkInfo<CONTAINER> > Trig::DecisionAccess::features | ( | class CONTAINER | ) |
Runs 3+.
Returns all features related to given chain group
[in] | featureRequest | Helper object which encapsulates all configurable options of a request for features from the TDT |
|
inherited |
Runs 3+.
Returns all features related to given chain group
[in] | featureRequest | Helper object which encapsulates all configurable options of a request for features from the TDT |
|
virtual |
Reimplemented in Trig::TrigDecisionTool.
Definition at line 55 of file TrigDecisionToolCore.cxx.
|
inherited |
get the bunch group code bit X=1: BG X fired (X=0..7) use: bool BGXfired = BGCode & (0x1<<X)
Definition at line 103 of file DecisionAccess.cxx.
|
inherited |
Create/get chain group (.
Definition at line 43 of file ChainGroupFunctions.cxx.
const Trig::ChainGroup * Trig::ChainGroupFunctions::getChainGroup |
Create/get chain group (.
Definition at line 52 of file ChainGroupFunctions.cxx.
|
inherited |
Create/get chain group (.
Definition at line 38 of file ChainGroupFunctions.cxx.
const Trig::ChainGroup * Trig::ChainGroupFunctions::getChainGroup |
Create/get chain group (.
Definition at line 48 of file ChainGroupFunctions.cxx.
|
inherited |
Definition at line 67 of file ConfigurationAccess.cxx.
std::vector< std::string > Trig::ConfigurationAccess::getListOfGroups |
Definition at line 57 of file ConfigurationAccess.cxx.
|
inherited |
Definition at line 63 of file ConfigurationAccess.cxx.
std::vector< std::string > Trig::ConfigurationAccess::getListOfGroups |
Definition at line 56 of file ConfigurationAccess.cxx.
|
inherited |
Definition at line 54 of file ConfigurationAccess.cxx.
std::vector< std::string > Trig::ConfigurationAccess::getListOfStreams |
Definition at line 54 of file ConfigurationAccess.cxx.
|
inherited |
Definition at line 50 of file ConfigurationAccess.cxx.
std::vector< std::string > Trig::ConfigurationAccess::getListOfStreams |
Definition at line 53 of file ConfigurationAccess.cxx.
|
inherited |
Definition at line 80 of file ConfigurationAccess.cxx.
std::vector< std::vector< std::string > > Trig::ConfigurationAccess::getListOfTriggerElements |
Definition at line 60 of file ConfigurationAccess.cxx.
|
inherited |
Definition at line 76 of file ConfigurationAccess.cxx.
std::vector< std::vector< std::string > > Trig::ConfigurationAccess::getListOfTriggerElements |
Definition at line 59 of file ConfigurationAccess.cxx.
|
inherited |
Definition at line 41 of file ConfigurationAccess.cxx.
std::vector< std::string > Trig::ConfigurationAccess::getListOfTriggers |
Definition at line 51 of file ConfigurationAccess.cxx.
|
inherited |
Definition at line 37 of file ConfigurationAccess.cxx.
std::vector< std::string > Trig::ConfigurationAccess::getListOfTriggers |
Definition at line 50 of file ConfigurationAccess.cxx.
|
inherited |
Definition at line 94 of file ConfigurationAccess.cxx.
float Trig::ConfigurationAccess::getPrescale |
Definition at line 63 of file ConfigurationAccess.cxx.
|
inherited |
Definition at line 88 of file ConfigurationAccess.cxx.
float Trig::ConfigurationAccess::getPrescale |
Definition at line 62 of file ConfigurationAccess.cxx.
|
virtual |
Reimplemented in Trig::TrigDecisionTool.
Definition at line 50 of file TrigDecisionToolCore.cxx.
|
inherited |
Definition at line 48 of file DecisionAccess.cxx.
bool Trig::DecisionAccess::isPassed |
Definition at line 74 of file DecisionAccess.cxx.
|
inherited |
true if given chain passed
Definition at line 40 of file DecisionAccess.cxx.
bool Trig::DecisionAccess::isPassed |
true if given chain passed
Definition at line 71 of file DecisionAccess.cxx.
|
inherited |
true if given group of chains passed
Definition at line 34 of file DecisionAccess.cxx.
bool Trig::DecisionAccess::isPassed |
true if given group of chains passed
Definition at line 64 of file DecisionAccess.cxx.
unsigned int Trig::DecisionAccess::isPassedBits |
Definition at line 110 of file DecisionAccess.cxx.
|
inherited |
Definition at line 72 of file DecisionAccess.cxx.
unsigned int Trig::DecisionAccess::isPassedBits |
Return expert-level information about the various trigger flags as a bit mask.
Note: this does not accept a conditions flag – the prescription is always enforceLogicalFlow. The mask can be comprehended using the following constants from TrigDefs:: EF_passedRaw EF_passThrough EF_prescaled EF_resurrected L2_passedRaw L2_passThrough L2_prescaled L2_resurrected L1_isPassedAfterPrescale L1_isPassedBeforePrescale L1_isPassedAfterVeto
Definition at line 109 of file DecisionAccess.cxx.
|
inherited |
Return expert-level information about the various trigger flags as a bit mask.
Note: this does not accept a conditions flag – the prescription is always enforceLogicalFlow. The mask can be comprehended using the following constants from TrigDefs:: EF_passedRaw EF_passThrough EF_prescaled EF_resurrected L2_passedRaw L2_passThrough L2_prescaled L2_resurrected L1_isPassedAfterPrescale L1_isPassedBeforePrescale L1_isPassedAfterVeto
Definition at line 67 of file DecisionAccess.cxx.
|
inherited |
Definition at line 85 of file DecisionAccess.cxx.
|
inherited |
Return the result of isPassedBits for each chain in the group.
Definition at line 79 of file DecisionAccess.cxx.
|
inherited |
return decision for each chain defined by given pattern
Definition at line 60 of file DecisionAccess.cxx.
|
inherited |
return decision for each chain in group
Definition at line 53 of file DecisionAccess.cxx.
|
inlineinherited |
Definition at line 29 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
inlineinherited |
Definition at line 29 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
inlineinherited |
Definition at line 33 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
inlineinherited |
Definition at line 33 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
inlineinherited |
Definition at line 34 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
inlineinherited |
Definition at line 34 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
private |
|
inlinestaticprivateinherited |
Definition at line 38 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
private |
Definition at line 96 of file TrigDecisionToolCore.h.
|
private |
Definition at line 98 of file TrigDecisionToolCore.h.
|
protected |
Definition at line 104 of file TrigDecisionToolCore.h.