#include <TrigConfChain.h>
|
| | TrigConfChain () |
| | TrigConfChain (const std::string &chain_name, int chain_counter, unsigned int chain_id, const std::string &level, const std::string &lower_chain_name, int lower_chain_counter, unsigned int lower_chain_id, float prescale, float pass_through) |
| | TrigConfChain (const std::string &chain_name, int chain_counter, unsigned int chain_id, float prescale) |
| | ~TrigConfChain () |
| void | clearStrings () |
| void | addSignature (const TrigConfSig &obj) |
| void | addGroup (const std::string &name) |
| void | addStream (const std::string &name, float prescale) |
| void | addEBHypo (const std::string &name) |
| void | clearGroup () |
| void | clearStream () |
| void | clearEBHypo () |
| void | addLowerChainId (uint32_t lower_id) |
| void | setPrescale (float val) |
| void | setPassThrough (float val) |
| const std::string & | getName () const |
| const std::string & | getChainName () const |
| const std::string & | getLowerName () const |
| uint32_t | getId () const |
| uint16_t | getCounter () const |
| uint16_t | getEncodedId () const |
| uint16_t | getLowerCounter () const |
| uint32_t | getLowerId () const |
| uint16_t | getLowerEncodedId () const |
| unsigned int | getLevelId () const |
| const std::string | getLevel () const |
| float | getPrescale () const |
| float | getPS () const |
| float | getPassThrough () const |
| float | getPT () const |
| const std::vector< float > & | getStreamPS () const |
| const std::vector< TrigConfSig > & | getSignature () const |
| const std::vector< std::string > & | getStream () const |
| const std::vector< std::string > & | getGroup () const |
| const std::vector< std::string > & | getEBHypo () const |
| std::vector< float > & | getStreamPS () |
| std::vector< std::string > & | getStream () |
| std::vector< std::string > & | getGroup () |
| std::vector< std::string > & | getEBHypo () |
| const std::vector< uint32_t > & | getLowerIds () const |
| float | getSignaturePrescale (const std::string &name) const |
| bool | matchOutputTE (uint32_t te_id) const |
| void | print (std::ostream &os=std::cout) const |
Definition at line 31 of file TrigConfChain.h.
◆ TrigConfChain() [1/3]
| TrigConfChain::TrigConfChain |
( |
| ) |
|
◆ TrigConfChain() [2/3]
| TrigConfChain::TrigConfChain |
( |
const std::string & | chain_name, |
|
|
int | chain_counter, |
|
|
unsigned int | chain_id, |
|
|
const std::string & | level, |
|
|
const std::string & | lower_chain_name, |
|
|
int | lower_chain_counter, |
|
|
unsigned int | lower_chain_id, |
|
|
float | prescale, |
|
|
float | pass_through ) |
Definition at line 60 of file TrigConfChain.cxx.
78{
79
80 if(0 <= chain_counter && chain_counter < 16384) {
82 }
83 else {
85 }
86
87 if(0 <= lower_chain_counter && lower_chain_counter < 16384) {
89 }
90
91
93 else if(level ==
"HLT")
m_level = 2;
94 else {
96 <<
"TrigConfChain ctor error! " << chain_name <<
": bad level " <<
level;
97 }
98}
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
◆ TrigConfChain() [3/3]
| TrigConfChain::TrigConfChain |
( |
const std::string & | chain_name, |
|
|
int | chain_counter, |
|
|
unsigned int | chain_id, |
|
|
float | prescale ) |
Definition at line 101 of file TrigConfChain.cxx.
114{
115
116 if(0 <= chain_counter && chain_counter < 16384) {
118 }
119 else {
121 }
122}
◆ ~TrigConfChain()
| TrigConfChain::~TrigConfChain |
( |
| ) |
|
|
inline |
◆ addEBHypo()
| void TrigConfChain::addEBHypo |
( |
const std::string & | name | ) |
|
|
inline |
Definition at line 61 of file TrigConfChain.h.
std::vector< std::string > m_ebhypo_names
◆ addGroup()
| void TrigConfChain::addGroup |
( |
const std::string & | name | ) |
|
|
inline |
◆ addLowerChainId()
| void TrigConfChain::addLowerChainId |
( |
uint32_t | lower_id | ) |
|
|
inline |
◆ addSignature()
| void TrigConfChain::addSignature |
( |
const TrigConfSig & | obj | ) |
|
|
inline |
Definition at line 58 of file TrigConfChain.h.
std::vector< TrigConfSig > m_signature
◆ addStream()
| void TrigConfChain::addStream |
( |
const std::string & | name, |
|
|
float | prescale ) |
Definition at line 125 of file TrigConfChain.cxx.
126{
127
128
129
132}
std::vector< std::string > m_stream_name
std::vector< float > m_stream_prescale
◆ clearEBHypo()
| void TrigConfChain::clearEBHypo |
( |
| ) |
|
|
inline |
◆ clearGroup()
| void TrigConfChain::clearGroup |
( |
| ) |
|
|
inline |
◆ clearStream()
| void TrigConfChain::clearStream |
( |
| ) |
|
|
inline |
◆ clearStrings()
| void TrigConfChain::clearStrings |
( |
| ) |
|
◆ getChainName()
| const std::string & TrigConfChain::getChainName |
( |
| ) |
const |
|
inline |
◆ getCounter()
| uint16_t TrigConfChain::getCounter |
( |
| ) |
const |
|
inline |
◆ getEBHypo() [1/2]
| std::vector< std::string > & TrigConfChain::getEBHypo |
( |
| ) |
|
|
inline |
◆ getEBHypo() [2/2]
| const std::vector< std::string > & TrigConfChain::getEBHypo |
( |
| ) |
const |
|
inline |
◆ getEncodedId()
| uint16_t TrigConfChain::getEncodedId |
( |
| ) |
const |
Definition at line 151 of file TrigConfChain.cxx.
152{
153
154
155
157 return 0;
158 }
159
161}
unsigned int getLevelId() const
uint16_t getCounter() const
uint16_t getEncodedId(int level, int counter)
◆ getGroup() [1/2]
| std::vector< std::string > & TrigConfChain::getGroup |
( |
| ) |
|
|
inline |
◆ getGroup() [2/2]
| const std::vector< std::string > & TrigConfChain::getGroup |
( |
| ) |
const |
|
inline |
◆ getId()
| uint32_t TrigConfChain::getId |
( |
| ) |
const |
|
inline |
◆ getLevel()
| const std::string TrigConfChain::getLevel |
( |
| ) |
const |
◆ getLevelId()
| unsigned int TrigConfChain::getLevelId |
( |
| ) |
const |
|
inline |
◆ getLowerCounter()
| uint16_t TrigConfChain::getLowerCounter |
( |
| ) |
const |
|
inline |
◆ getLowerEncodedId()
| uint16_t TrigConfChain::getLowerEncodedId |
( |
| ) |
const |
Definition at line 164 of file TrigConfChain.cxx.
165{
166
167
168
171 }
172
173 return 0;
174}
uint16_t getLowerCounter() const
◆ getLowerId()
| uint32_t TrigConfChain::getLowerId |
( |
| ) |
const |
|
inline |
◆ getLowerIds()
| const std::vector< uint32_t > & TrigConfChain::getLowerIds |
( |
| ) |
const |
|
inline |
◆ getLowerName()
| const std::string & TrigConfChain::getLowerName |
( |
| ) |
const |
|
inline |
◆ getName()
| const std::string & TrigConfChain::getName |
( |
| ) |
const |
|
inline |
◆ getPassThrough()
| float TrigConfChain::getPassThrough |
( |
| ) |
const |
|
inline |
◆ getPrescale()
| float TrigConfChain::getPrescale |
( |
| ) |
const |
|
inline |
◆ getPS()
| float TrigConfChain::getPS |
( |
| ) |
const |
|
inline |
◆ getPT()
| float TrigConfChain::getPT |
( |
| ) |
const |
|
inline |
◆ getSignature()
| const std::vector< TrigConfSig > & TrigConfChain::getSignature |
( |
| ) |
const |
|
inline |
◆ getSignaturePrescale()
| float TrigConfChain::getSignaturePrescale |
( |
const std::string & | name | ) |
const |
Definition at line 189 of file TrigConfChain.cxx.
190{
191
192
193
196 return 0.0;
197 }
198
201 }
202
203 return 0.0;
204}
◆ getStream() [1/2]
| std::vector< std::string > & TrigConfChain::getStream |
( |
| ) |
|
|
inline |
◆ getStream() [2/2]
| const std::vector< std::string > & TrigConfChain::getStream |
( |
| ) |
const |
|
inline |
◆ getStreamPS() [1/2]
| std::vector< float > & TrigConfChain::getStreamPS |
( |
| ) |
|
|
inline |
◆ getStreamPS() [2/2]
| const std::vector< float > & TrigConfChain::getStreamPS |
( |
| ) |
const |
|
inline |
◆ matchOutputTE()
| bool TrigConfChain::matchOutputTE |
( |
uint32_t | te_id | ) |
const |
Definition at line 207 of file TrigConfChain.cxx.
208{
209
210
211
212 for(std::vector<TrigConfSig>::const_iterator it =
m_signature.begin();
215 return true;
216 }
217 }
218
219 return false;
220}
bool matchOutputTE(uint32_t te_id) const
◆ print()
| void TrigConfChain::print |
( |
std::ostream & | os = std::cout | ) |
const |
◆ setPassThrough()
| void TrigConfChain::setPassThrough |
( |
float | val | ) |
|
|
inline |
◆ setPrescale()
| void TrigConfChain::setPrescale |
( |
float | val | ) |
|
|
inline |
◆ m_chain_counter
| uint16_t TrigConfChain::m_chain_counter |
|
private |
◆ m_chain_id
| uint32_t TrigConfChain::m_chain_id |
|
private |
◆ m_chain_name
| std::string TrigConfChain::m_chain_name |
|
private |
◆ m_ebhypo_names
| std::vector<std::string> TrigConfChain::m_ebhypo_names |
|
private |
◆ m_group
| std::vector<std::string> TrigConfChain::m_group |
|
private |
◆ m_level
| uint8_t TrigConfChain::m_level |
|
private |
◆ m_lower_counter
| uint16_t TrigConfChain::m_lower_counter |
|
private |
◆ m_lower_id
| uint32_t TrigConfChain::m_lower_id |
|
private |
◆ m_lower_ids
| std::vector<uint32_t> TrigConfChain::m_lower_ids |
|
private |
◆ m_lower_name
| std::string TrigConfChain::m_lower_name |
|
private |
◆ m_pass_through
| float TrigConfChain::m_pass_through |
|
private |
◆ m_prescale
| float TrigConfChain::m_prescale |
|
private |
◆ m_signature
◆ m_stream_name
| std::vector<std::string> TrigConfChain::m_stream_name |
|
private |
◆ m_stream_prescale
| std::vector<float> TrigConfChain::m_stream_prescale |
|
private |
The documentation for this class was generated from the following files: