19 if(level < 1 || level > 2) {
23 if(counter < 0 || counter >= 16384) {
48 unsigned int chain_id,
49 const std::string &level,
50 const std::string &lower_chain_name,
51 int lower_chain_counter,
52 unsigned int lower_chain_id,
66 if(0 <= chain_counter && chain_counter < 16384) {
73 if(0 <= lower_chain_counter && lower_chain_counter < 16384) {
79 else if(level ==
"HLT")
m_level = 2;
82 <<
"TrigConfChain ctor error! " << chain_name <<
": bad level " << level;
89 unsigned int chain_id,
102 if(0 <= chain_counter && chain_counter < 16384) {
169 else if(
m_level == 2)
return "HLT";
198 for(std::vector<TrigConfSig>::const_iterator it =
m_signature.begin();
211 os <<
str(*
this) << std::endl;
216 std::cout <<
str(*
this) << std::endl;
224 s <<
"TrigConfChain: "
229 s <<
" signatures: ";
230 for(
unsigned int i = 0; i < o.
getSignature().size(); ++i) {
236 for(
unsigned int i = 0; i < o.
getStream().size(); ++i) {
242 for(
unsigned int i = 0; i < o.
getGroup().size(); ++i) {
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
std::vector< std::string > m_ebhypo_names
unsigned int getLevelId() const
float getSignaturePrescale(const std::string &name) const
std::vector< std::string > m_stream_name
const std::vector< std::string > & getStream() const
const std::string & getName() const
std::vector< float > m_stream_prescale
std::vector< std::string > m_group
const std::string & getLowerName() const
const std::vector< std::string > & getGroup() const
uint16_t getLowerEncodedId() const
uint16_t getLowerCounter() const
bool matchOutputTE(uint32_t te_id) const
uint16_t getEncodedId() const
const std::vector< TrigConfSig > & getSignature() const
uint16_t getCounter() const
const std::string getLevel() const
std::vector< TrigConfSig > m_signature
void addStream(const std::string &name, float prescale)
const uint16_t shiftLevel
uint16_t getEncodedId(int level, int counter)