5#ifndef TrigConf_HLTChain
6#define TrigConf_HLTChain
18#include <unordered_map>
56 const std::string&
level,
123 std::pair<bool, float>
stream_prescale(
const std::string& streamName)
const;
150 return m_level[0]>e.m_level[0] ||
165 std::string
__str__()
const override;
__attribute__((always_inline)) inline uint16_t TileCalibDrawerBase
bool HLTChain_lt(const TrigConf::HLTChain *ch1, const TrigConf::HLTChain *ch2)
HLT chain configuration information.
std::pair< bool, float > stream_prescale(const std::string &streamName) const
HLTChain(void)
default constructor
int lower_chain_counter() const
DiffStruct * compareTo(const HLTChain *o) const
HLTChain & set_chain_version(int chain_version)
std::string m_level
trigger level
std::set< std::string > m_groups
HLTChain & set_triggerTypeList(const std::vector< HLTTriggerType * > &trigList)
float pass_through() const
virtual ~HLTChain() override
destructor
HLTChain & set_leg_multiplicities(const std::vector< size_t > &mult)
void shiftStepCounter(int shift)
const std::vector< HLTTriggerType * > & triggerTypeList() const
std::pair< bool, float > rerun_prescale(const std::string &targetName) const
const std::vector< HLTStreamTag * > & streams() const
std::vector< unsigned int > lower_chain_hash_ids() const
std::vector< size_t > m_leg_multiplicities
Number of objects required per leg.
const std::vector< HLTStreamTag * > & streams_orig() const
const std::string & lower_chain_name() const
HLTPrescale & prescales()
HLTChain & set_prescale(float prescale)
HLTChain & set_pass_through(float pass_through)
int m_EB_after_step
EB_after_step flag.
std::unordered_map< std::string, HLTStreamTag * > m_streams_map
const std::set< std::string > & groups() const
const std::string & chain_name() const
std::vector< HLTSignature * > & signatureList()
const std::vector< int > & lower_chain_counters() const
HLTChain & set_rerun_prescale(float rerun_prescale)
const std::vector< size_t > & leg_multiplicities() const
std::vector< HLTStreamTag * > m_streams_orig
std::vector< int > m_lower_chain_counters
counters of the lower trigger items if more than 1
const std::vector< HLTSignature * > & signatureList() const
int m_chain_counter
chain counter
unsigned int m_lower_chain_hash_id
hash value from m_lower_chain_name, this is used to match to a chain from the previous trigger level
int chain_counter() const
int m_chain_version
chain version
HLTChain & set_EB_after_step(int EB_after_step)
bool hasMultipleLowerChains() const
std::vector< HLTStreamTag * > m_streams
int chain_version() const
bool operator<(const HLTChain &e) const
HLTChain & set_signatureList(const std::vector< HLTSignature * > &sigList)
const std::vector< HLTStreamTag * > & streamTagList() const __attribute__((deprecated))
HLTChain & set_chain_name(const std::string &chain_name)
unsigned int chain_hash_id() const
std::string __str__() const override
HLTChain & set_lower_chain_counters(const std::vector< int > &low_ccs)
int EB_after_step() const
HLTLevel level_enum() const
HLTChain & set_lower_chain_counter(int lower_chain_counter)
HLTChain & set_groupList(const std::set< std::string > &groups)
void print(const std::string &indent="", unsigned int detail=1) const override
print the chain
unsigned int lastStep() const
std::string m_lower_chain_name
name of the lower trigger chain (or the LVL1 trigger item)
const std::set< std::string > & groupList() const __attribute__((deprecated))
void createSignatureLabels()
label the signatures
std::vector< HLTTriggerType * > & triggerTypeList()
float rerun_prescale() const __attribute__((deprecated))
void addGroup(const std::string &group)
HLTChain & set_level(const std::string &level)
unsigned int m_chain_hash_id
hash value from m_chain_name, this is used to identify the chain in the HLTResult
int m_lower_chain_counter
counter of the lower trigger chain (or the ID of the LVL1 trigger item)
HLTChain & set_chain_counter(int chain_counter)
const std::string & level() const
struct TrigConf::HLTChain::@145022354365266131341076355027225065251152241206 mergeCounter
const HLTPrescale & prescales() const
const std::vector< HLTSignature * > & signatures() const
void writeXML(std::ofstream &xmlfile)
std::vector< HLTSignature * > m_HLTSignatureList
void addStream(HLTStreamTag *)
friend std::ostream & operator<<(std::ostream &, const HLTChain &)
HLTChain & set_prescales(const HLTPrescale &prescales)
HLTChain & set_lower_chain_name(const std::string &lower_chain_name)
unsigned int lower_chain_hash_id() const
std::vector< HLTTriggerType * > m_HLTTriggerTypeList
float pass_through() const
std::pair< bool, float > getRerunPrescale(const std::string &targetName) const
HLT signature configuration information.
HLT stream configuration information.
HLT trigger type configuration information.
std::ostream & indent(std::ostream &o, int lvl, int size) const
const std::string & name() const
TrigConfData(const std::string &name="")
static std::vector< std::string > xmlfile
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Forward iterator to traverse the main components of the trigger configuration.
std::ostream & operator<<(std::ostream &os, const TrigConf::IsolationLegacy &iso)