|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGGER_DECISION_TOOL_CHAIN_GROUP_H
6 #define TRIGGER_DECISION_TOOL_CHAIN_GROUP_H
45 class HLTTriggerElement;
57 ChainGroup(
const std::vector< std::string >& triggerNames,
142 template<
class CONTAINER>
145 unsigned int condition = TrigDefs::Physics,
146 const std::string& containerSGKey =
"",
147 const unsigned int featureCollectionMode = TrigDefs::lastFeatureOfType,
149 const int restrictToLegIndex = -1)
const;
171 unsigned int L1Bits(
const std::string&
item)
const;
176 std::string
getLowerName(
const std::string& EFname)
const;
std::vector< unsigned int > isPassedBitsForEach() const
return result of isPassedBits for each chain in the group
void update(const TrigConf::HLTChainList *confChains, const TrigConf::ItemContainer *confItems, TrigDefs::Group prop=TrigDefs::Group::Default)
std::vector< std::string > getListOfSignatures() const
float correlatedL1Prescale(const std::string &item) const
std::vector< std::string > m_names
names of trigger derived from patterns & current configuration
Group
Properties of a chain group.
std::string getLowerName(const std::string &EFname) const
void addAlias(const std::string &alias)
adds alias (sort understandabel name) to the group
bool operator!=(const Trig::ChainGroup &rhs)
The common trigger namespace for trigger analysis tools.
The definition of error codes in HLT. This is a class (note; before was simple enum) to enable safer ...
Logging adaptor to provide interfaces required for ATH_MSG macros.
bool HLTResult(const std::string &chain, unsigned int condition) const
ChainGroup(const std::vector< std::string > &triggerNames, Trig::CacheGlobalMemory &parent)
std::vector< std::string > getListOfThresholds() const
Trig::CacheGlobalMemory & m_cgm
unsigned int HLTBits(const std::string &chain, const std::string &level, const TrigCompositeUtils::DecisionIDContainer &passExpress) const
float calculatePrescale(unsigned int condition=TrigDefs::Physics)
Property holding a SG store/key/clid from which a ReadHandle is made.
HLT chain configuration information.
bool operator==(const Trig::ChainGroup &rhs)
const Trig::ChainGroup & operator+(const Trig::ChainGroup &rhs)
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 w...
Forward iterator to traverse the main components of the trigger configuration.
std::vector< const TrigConf::HLTChain * > m_confChains
The Athena Transient Store API.
std::vector< std::string > getListOfGroups() const
std::vector< std::string > getListOfStreams() const
float HLTPrescale(const std::string &chain, unsigned int condition) const
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
list of all HLT chains in a trigger menu
std::vector< TrigCompositeUtils::LinkInfo< CONTAINER > > features(const asg::EventStoreType *eventStore, const SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > &HLTSummaryKeyIn, 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
returns typed features related to given chain group of HLT chains or L1 items Note: This is a RUN 3 (...
float L1Prescale(const std::string &item, unsigned int condition) const
bool L1Result(const std::string &item, unsigned int condition) const
const std::vector< std::string > & patterns() const
void appendFeatures(std::vector< std::vector< HLT::TriggerElement * > > &tes, FeatureContainer &fc) const
std::vector< std::vector< TrigConf::HLTTriggerElement * > > getHLTTriggerElements() const
const std::string & featureString()
bool isPassed(unsigned int condition=TrigDefs::Physics) const
tells if chain group passed
const Trig::CacheGlobalMemory & cgm() const
std::vector< std::string > m_patterns
patterns with which the CG was constructed
const Trig::CacheGlobalMemory & cgm_assert() const
boost::multi_index::multi_index_container< TriggerItem *, boost::multi_index::indexed_by< boost::multi_index::random_access<>, boost::multi_index::ordered_unique< boost::multi_index::identity< TriggerItem > >, boost::multi_index::ordered_unique< boost::multi_index::tag< tag_ctpid >, boost::multi_index::const_mem_fun< TriggerItem, int, &TriggerItem::ctpId > >, boost::multi_index::hashed_unique< boost::multi_index::tag< tag_name_hash >, boost::multi_index::const_mem_fun< TrigConfData, const std::string &, &TrigConfData::name > > > > ItemContainer
const std::vector< std::string > & names() const
names of triggers within chain group
unsigned int isPassedBits() const
returns bits (OR ed) of the chain group Meaning of the returned bits can be understood by using masks...
std::set< DecisionID > DecisionIDContainer
std::vector< std::string >::const_iterator const_iterator
bool isCorrelatedL1items(const std::string &item) const
float getPrescale(unsigned int condition=TrigDefs::Physics) const
returns prescale factor for chain group with single chain in returns real prescale factor for real ch...
std::vector< bool > isPassedForEach(unsigned int condition=TrigDefs::Physics) const
return vector with isPassed decision for each chain
ChainGroup & operator=(const ChainGroup &)
std::vector< std::vector< std::string > > getListOfTriggerElements() const
HLT::ErrorCode error() const
returns most severe error in the chains composing that chain group for L1 it is just OK If there is s...
std::vector< std::string > getListOfTriggers() const
unsigned int L1Bits(const std::string &item) const
Trig::CacheGlobalMemory & cgm()
std::vector< const TrigConf::TriggerItem * > m_confItems