![]() |
ATLAS Offline Software
|
#include <ChainGroup.h>
Public Types | |
| typedef std::vector< std::string >::const_iterator | const_iterator |
Public Member Functions | |
| ChainGroup (const std::vector< std::string > &triggerNames, Trig::CacheGlobalMemory &parent) | |
| ~ChainGroup ()=default | |
| const Trig::ChainGroup & | operator+ (const Trig::ChainGroup &rhs) |
| bool | operator== (const Trig::ChainGroup &rhs) |
| bool | operator!= (const Trig::ChainGroup &rhs) |
| void | addAlias (const std::string &alias) |
| adds alias (sort understandabel name) to the group | |
| bool | isPassed (unsigned int condition=TrigDefs::Physics) const |
| tells if chain group passed | |
| std::vector< bool > | isPassedForEach (unsigned int condition=TrigDefs::Physics) const |
| return vector with isPassed decision for each chain | |
| float | getPrescale (unsigned int condition=TrigDefs::Physics) const |
| returns prescale factor for chain group with single chain in returns real prescale factor for real chain group composed of many prescaled chains returns 1 if at least one chain is unprescaled | |
| std::vector< std::string > | getListOfTriggers () const |
| std::vector< std::string > | getListOfStreams () const |
| std::vector< std::string > | getListOfGroups () const |
| std::vector< std::string > | getListOfThresholds () const |
| std::vector< std::string > | getListOfSignatures () const |
| std::vector< std::vector< std::string > > | getListOfTriggerElements () const |
| std::vector< std::vector< TrigConf::HLTTriggerElement * > > | getHLTTriggerElements () const |
| unsigned int | isPassedBits () const |
| returns bits (OR ed) of the chain group Meaning of the returned bits can be understood by using masks defined in TrigDefs | |
| std::vector< unsigned int > | isPassedBitsForEach () const |
| return result of isPassedBits for each chain in the group | |
| HLT::ErrorCode | error () const |
| returns most severe error in the chains composing that chain group for L1 it is just OK If there is suspicion that there are other problems in the CG one needs to loop over chains and check each of them. | |
| const FeatureContainer | features (unsigned int condition=TrigDefs::Physics) const |
| returns all features related to given chain group of HLT chains or L1 items Note: This does not yet work for L1_FJ..., i.e. | |
| template<class CONTAINER> | |
| std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > | features (const asg::EventStoreType *eventStore, const SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > &HLTSummaryKeyIn, unsigned int condition=TrigDefs::Physics, std::string_view containerSGKey="", const unsigned int featureCollectionMode=TrigDefs::lastFeatureOfType, const std::string &navElementLinkKey=TrigCompositeUtils::featureString(), const int restrictToLegIndex=-1) const |
| returns typed features related to given chain group of HLT chains or L1 items Note: This is a RUN 3 (and on) function. | |
| const std::vector< std::string > & | patterns () const |
| MsgStream & | msg () const |
| MsgStream & | msg (const MSG::Level lvl) const |
| bool | msgLvl (const MSG::Level lvl) const |
Private Member Functions | |
| bool | isPassed (const TrigConf::HLTChain &chain, unsigned int condition) const |
| bool | isCorrelatedL1items (const std::string &item) const |
| float | correlatedL1Prescale (const std::string &item) const |
| float | calculatePrescale (unsigned int condition=TrigDefs::Physics) |
| void | appendFeatures (std::vector< std::vector< HLT::TriggerElement * > > &tes, FeatureContainer &fc) const |
| const std::vector< std::string > & | names () const |
| names of triggers within chain group | |
| bool | HLTResult (const std::string &chain, unsigned int condition) const |
| bool | L1Result (const std::string &item, unsigned int condition) const |
| unsigned int | HLTBits (const std::string &chain, const std::string &level, const TrigCompositeUtils::DecisionIDContainer &passExpress) const |
| unsigned int | L1Bits (const std::string &item) const |
| float | HLTPrescale (const std::string &chain, unsigned int condition) const |
| float | L1Prescale (const std::string &item, unsigned int condition) const |
| std::string | getLowerName (const std::string &EFname) const |
| const Trig::CacheGlobalMemory & | cgm_assert () const |
| const Trig::CacheGlobalMemory & | cgm () const |
| Trig::CacheGlobalMemory & | cgm () |
| void | update (const TrigConf::HLTChainList *confChains, const TrigConf::ItemContainer *confItems, TrigDefs::Group prop=TrigDefs::Group::Default) |
| ChainGroup & | operator= (const ChainGroup &) |
Private Attributes | |
| std::vector< std::string > | m_patterns |
| patterns with which the CG was constructed | |
| std::vector< const TrigConf::HLTChain * > | m_confChains |
| std::vector< const TrigConf::TriggerItem * > | m_confItems |
| Trig::CacheGlobalMemory & | m_cgm |
| std::vector< std::string > | m_names |
| names of trigger derived from patterns & current configuration | |
| float | m_prescale {0} |
Static Private Attributes | |
| static asg::AsgTool *s_logger | ATLAS_THREAD_SAFE {nullptr} |
Friends | |
| class | CacheGlobalMemory |
Definition at line 54 of file ChainGroup.h.
| typedef std::vector<std::string>::const_iterator Trig::ChainGroup::const_iterator |
Definition at line 64 of file ChainGroup.h.
| Trig::ChainGroup::ChainGroup | ( | const std::vector< std::string > & | triggerNames, |
| Trig::CacheGlobalMemory & | parent ) |
Definition at line 41 of file ChainGroup.cxx.
|
default |
| void Trig::ChainGroup::addAlias | ( | const std::string & | alias | ) |
adds alias (sort understandabel name) to the group
Definition at line 66 of file ChainGroup.cxx.
|
private |
Definition at line 795 of file ChainGroup.cxx.
|
private |
Definition at line 421 of file ChainGroup.cxx.
|
inlineprivate |
Definition at line 194 of file ChainGroup.h.
|
inlineprivate |
Definition at line 193 of file ChainGroup.h.
|
private |
Definition at line 70 of file ChainGroup.cxx.
|
private |
Definition at line 356 of file ChainGroup.cxx.
| HLT::ErrorCode Trig::ChainGroup::error | ( | ) | const |
returns most severe error in the chains composing that chain group for L1 it is just OK If there is suspicion that there are other problems in the CG one needs to loop over chains and check each of them.
Definition at line 323 of file ChainGroup.cxx.
| std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > Trig::ChainGroup::features | ( | const asg::EventStoreType * | eventStore, |
| const SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > & | HLTSummaryKeyIn, | ||
| unsigned int | condition = TrigDefs::Physics, | ||
| std::string_view | containerSGKey = "", | ||
| const unsigned int | featureCollectionMode = TrigDefs::lastFeatureOfType, | ||
| const std::string & | navElementLinkKey = TrigCompositeUtils::featureString(), | ||
| const int | restrictToLegIndex = -1 ) const |
returns typed features related to given chain group of HLT chains or L1 items Note: This is a RUN 3 (and on) function.
| [in] | eventStore | Event store pointer. To migrate to readHandles with the rest of the TDT soon |
| [in] | HLTSummaryKeyIn | SG Key to the navigation summary container |
| [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. |
| const Trig::FeatureContainer Trig::ChainGroup::features | ( | unsigned int | condition = TrigDefs::Physics | ) | const |
returns all features related to given chain group of HLT chains or L1 items Note: This does not yet work for L1_FJ..., i.e.
no features are returned for these items.
Definition at line 733 of file ChainGroup.cxx.
| std::vector< std::vector< TrigConf::HLTTriggerElement * > > Trig::ChainGroup::getHLTTriggerElements | ( | ) | const |
Definition at line 585 of file ChainGroup.cxx.
Definition at line 495 of file ChainGroup.cxx.
| std::vector< std::string > Trig::ChainGroup::getListOfSignatures | ( | ) | const |
Definition at line 509 of file ChainGroup.cxx.
| std::vector< std::string > Trig::ChainGroup::getListOfStreams | ( | ) | const |
Definition at line 480 of file ChainGroup.cxx.
Definition at line 525 of file ChainGroup.cxx.
| std::vector< std::vector< std::string > > Trig::ChainGroup::getListOfTriggerElements | ( | ) | const |
Definition at line 563 of file ChainGroup.cxx.
| std::vector< std::string > Trig::ChainGroup::getListOfTriggers | ( | ) | const |
Definition at line 475 of file ChainGroup.cxx.
|
private |
Definition at line 160 of file ChainGroup.cxx.
| float Trig::ChainGroup::getPrescale | ( | unsigned int | condition = TrigDefs::Physics | ) | const |
returns prescale factor for chain group with single chain in returns real prescale factor for real chain group composed of many prescaled chains returns 1 if at least one chain is unprescaled
Definition at line 415 of file ChainGroup.cxx.
|
private |
Definition at line 226 of file ChainGroup.cxx.
|
private |
Definition at line 334 of file ChainGroup.cxx.
|
private |
Definition at line 78 of file ChainGroup.cxx.
|
private |
Definition at line 351 of file ChainGroup.cxx.
|
private |
Definition at line 172 of file ChainGroup.cxx.
| bool Trig::ChainGroup::isPassed | ( | unsigned int | condition = TrigDefs::Physics | ) | const |
tells if chain group passed
| conditions | is modifying the question |
Definition at line 213 of file ChainGroup.cxx.
| unsigned int Trig::ChainGroup::isPassedBits | ( | ) | const |
returns bits (OR ed) of the chain group Meaning of the returned bits can be understood by using masks defined in TrigDefs
Definition at line 313 of file ChainGroup.cxx.
| std::vector< unsigned int > Trig::ChainGroup::isPassedBitsForEach | ( | ) | const |
return result of isPassedBits for each chain in the group
Definition at line 266 of file ChainGroup.cxx.
| std::vector< bool > Trig::ChainGroup::isPassedForEach | ( | unsigned int | condition = TrigDefs::Physics | ) | const |
return vector with isPassed decision for each chain
| conditions | is modifying the question |
The order of decisions is the same as in getListOfTriggers().
Definition at line 198 of file ChainGroup.cxx.
|
private |
Definition at line 249 of file ChainGroup.cxx.
|
private |
Definition at line 382 of file ChainGroup.cxx.
|
private |
Definition at line 129 of file ChainGroup.cxx.
|
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 34 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
inlineprivate |
| bool Trig::ChainGroup::operator!= | ( | const Trig::ChainGroup & | rhs | ) |
Definition at line 62 of file ChainGroup.cxx.
| const Trig::ChainGroup & Trig::ChainGroup::operator+ | ( | const Trig::ChainGroup & | rhs | ) |
Definition at line 48 of file ChainGroup.cxx.
|
private |
| bool Trig::ChainGroup::operator== | ( | const Trig::ChainGroup & | rhs | ) |
Definition at line 58 of file ChainGroup.cxx.
|
inline |
Definition at line 155 of file ChainGroup.h.
|
private |
Definition at line 599 of file ChainGroup.cxx.
|
friend |
Definition at line 56 of file ChainGroup.h.
|
inlinestaticprivateinherited |
Definition at line 38 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
private |
Definition at line 188 of file ChainGroup.h.
|
private |
Definition at line 183 of file ChainGroup.h.
|
private |
Definition at line 184 of file ChainGroup.h.
|
private |
names of trigger derived from patterns & current configuration
Definition at line 190 of file ChainGroup.h.
|
private |
patterns with which the CG was constructed
Definition at line 181 of file ChainGroup.h.
|
private |
Definition at line 203 of file ChainGroup.h.