#include <L1TriggerScaler.h>
Classes | |
struct | Lumi |
Public Types | |
typedef std::vector< Lumi > ::const_iterator | LumiIterator |
Public Member Functions | |
L1TriggerScaler () | |
void | printAllValues () const |
void | printFormat () const |
void | printGTAlgoCounts () const |
void | printGTAlgoPrescaling () const |
void | printGTAlgoRates () const |
void | printGTPartition0DeadTime () const |
void | printGTPartition0DeadTimeRatio () const |
void | printGTPartition0TriggerCounts () const |
void | printGTPartition0TriggerRates () const |
void | printGTTechCounts () const |
void | printGTTechPrescaling () const |
void | printGTTechRates () const |
void | printLumiSegmentValues () const |
void | printRunValue () const |
void | SetRunNumber (int n) |
virtual | ~L1TriggerScaler () |
Public Attributes | |
std::vector< Lumi > | m_run |
Private Attributes | |
int | m_lumisegment |
int | m_runnumber |
Definition at line 17 of file L1TriggerScaler.h.
typedef std::vector<Lumi>::const_iterator L1TriggerScaler::LumiIterator |
Definition at line 85 of file L1TriggerScaler.h.
L1TriggerScaler::L1TriggerScaler | ( | ) |
virtual L1TriggerScaler::~L1TriggerScaler | ( | ) | [inline, virtual] |
Definition at line 64 of file L1TriggerScaler.h.
{}
void L1TriggerScaler::printAllValues | ( | ) | const |
Definition at line 6 of file L1TriggerScaler.cc.
References gather_cfg::cout, i, and m_run.
{ for(LumiIterator it=m_run.begin(); it!=m_run.end(); ++it){ std::cout << " run: " <<it->m_rn<< "\n lumisegment: " << it->m_lumisegment<< "\n start_time: " << it->m_start_time <<std::endl; for(size_t i=0; i<it->m_GTAlgoRates.size(); i++ ){ std::cout << "m_GTAlgoRates["<<i<<"] = "<< it->m_GTAlgoRates[i]<<std::endl; } for(size_t i=0; i<it->m_GTAlgoPrescaling.size(); i++ ){ std::cout << "m_GTAlgoPrescaling["<<i<<"] = "<< it->m_GTAlgoPrescaling[i]<<std::endl; } for(size_t i=0; i<it->m_GTTechCounts.size(); i++ ){ std::cout << " m_GTTechCounts["<<i<<"] = "<< it->m_GTTechCounts[i]<<std::endl; } for(size_t i=0; i<it->m_GTTechRates.size(); i++ ){ std::cout << " m_GTTechRates["<<i<<"] = "<< it->m_GTTechRates[i]<<std::endl; } for(size_t i=0; i<it->m_GTTechPrescaling.size(); i++ ){ std::cout << " m_GTTechPrescaling["<<i<<"] = "<< it->m_GTTechPrescaling[i]<<std::endl; } for(size_t i=0; i<it->m_GTPartition0TriggerCounts.size(); i++ ){ std::cout << " m_GTPartition0TriggerCounts["<<i<<"] = "<< it->m_GTPartition0TriggerCounts[i]<<std::endl; } for(size_t i=0; i<it->m_GTPartition0TriggerRates.size(); i++ ){ std::cout << " m_GTPartition0TriggerRates["<<i<<"] = "<< it->m_GTPartition0TriggerRates[i]<<std::endl; } for(size_t i=0; i<it->m_GTPartition0DeadTime.size(); i++ ){ std::cout << " m_GTPartition0DeadTime["<<i<<"] = "<< it->m_GTPartition0DeadTime[i]<<std::endl; } for(size_t i=0; i<it->m_GTPartition0DeadTimeRatio.size(); i++ ){ std::cout << " m_GTPartition0DeadTimeRatio["<<i<<"] = "<< it->m_GTPartition0DeadTimeRatio[i]<<std::endl; } } }
void L1TriggerScaler::printFormat | ( | ) | const |
Definition at line 55 of file L1TriggerScaler.cc.
References gather_cfg::cout, and m_run.
{ for(LumiIterator it=m_run.begin(); it!=m_run.end(); ++it){ std::cout << " run: " <<it->m_rn<< "\n lumisegment: " << it->m_lumisegment<<std::endl; std::cout<< "format :" << it->m_string_format <<std::endl; } }
void L1TriggerScaler::printGTAlgoCounts | ( | ) | const |
Definition at line 63 of file L1TriggerScaler.cc.
References gather_cfg::cout, i, and m_run.
void L1TriggerScaler::printGTAlgoPrescaling | ( | ) | const |
Definition at line 83 of file L1TriggerScaler.cc.
References gather_cfg::cout, i, and m_run.
void L1TriggerScaler::printGTAlgoRates | ( | ) | const |
Definition at line 73 of file L1TriggerScaler.cc.
References gather_cfg::cout, i, and m_run.
void L1TriggerScaler::printGTPartition0DeadTime | ( | ) | const |
Definition at line 142 of file L1TriggerScaler.cc.
References gather_cfg::cout, i, and m_run.
{ for(LumiIterator it=m_run.begin(); it!=m_run.end(); ++it){ std::cout << " run: " <<it->m_rn<< "\nlumisegment: " << it->m_lumisegment<<std::endl; for(size_t i=0; i<it->m_GTPartition0DeadTime.size(); i++ ){ std::cout << "m_GTPartition0DeadTime["<<i<<"] = "<< it->m_GTPartition0DeadTime[i]<<std::endl; } } }
void L1TriggerScaler::printGTPartition0DeadTimeRatio | ( | ) | const |
Definition at line 152 of file L1TriggerScaler.cc.
References gather_cfg::cout, i, and m_run.
{ for(LumiIterator it=m_run.begin(); it!=m_run.end(); ++it){ std::cout << " run: " <<it->m_rn<< "\nlumisegment: " << it->m_lumisegment<<std::endl; for(size_t i=0; i<it->m_GTPartition0DeadTimeRatio.size(); i++ ){ std::cout << "m_GTPartition0DeadTimeRatio["<<i<<"] = "<< it->m_GTPartition0DeadTimeRatio[i]<<std::endl; } } }
void L1TriggerScaler::printGTPartition0TriggerCounts | ( | ) | const |
Definition at line 122 of file L1TriggerScaler.cc.
References gather_cfg::cout, i, and m_run.
{ for(LumiIterator it=m_run.begin(); it!=m_run.end(); ++it){ std::cout << " run: " <<it->m_rn<< "\nlumisegment: " << it->m_lumisegment<<std::endl; for(size_t i=0; i<it->m_GTPartition0TriggerCounts.size(); i++ ){ std::cout << "m_GTPartition0TriggerCounts["<<i<<"] = "<< it->m_GTPartition0TriggerCounts[i]<<std::endl; } } }
void L1TriggerScaler::printGTPartition0TriggerRates | ( | ) | const |
Definition at line 132 of file L1TriggerScaler.cc.
References gather_cfg::cout, i, and m_run.
{ for(LumiIterator it=m_run.begin(); it!=m_run.end(); ++it){ std::cout << " run: " <<it->m_rn<< "\nlumisegment: " << it->m_lumisegment<<std::endl; for(size_t i=0; i<it->m_GTPartition0TriggerRates.size(); i++ ){ std::cout << "m_GTPartition0TriggerRates["<<i<<"] = "<< it->m_GTPartition0TriggerRates[i]<<std::endl; } } }
void L1TriggerScaler::printGTTechCounts | ( | ) | const |
Definition at line 92 of file L1TriggerScaler.cc.
References gather_cfg::cout, i, and m_run.
void L1TriggerScaler::printGTTechPrescaling | ( | ) | const |
Definition at line 112 of file L1TriggerScaler.cc.
References gather_cfg::cout, i, and m_run.
void L1TriggerScaler::printGTTechRates | ( | ) | const |
Definition at line 102 of file L1TriggerScaler.cc.
References gather_cfg::cout, i, and m_run.
void L1TriggerScaler::printLumiSegmentValues | ( | ) | const |
Definition at line 47 of file L1TriggerScaler.cc.
References gather_cfg::cout, and m_run.
{ for(LumiIterator it=m_run.begin(); it!=m_run.end(); ++it){ std::cout << " run: " <<it->m_rn<< "\n lumisegment: " << it->m_lumisegment<< "\n start_time: " << it->m_start_time <<std::endl; } }
void L1TriggerScaler::printRunValue | ( | ) | const |
Definition at line 42 of file L1TriggerScaler.cc.
References gather_cfg::cout, and m_run.
{ LumiIterator it=m_run.begin(); std::cout<<it->m_rn<<std::endl; }
void L1TriggerScaler::SetRunNumber | ( | int | n | ) | [inline] |
int L1TriggerScaler::m_lumisegment [private] |
Definition at line 101 of file L1TriggerScaler.h.
std::vector<Lumi> L1TriggerScaler::m_run |
Definition at line 66 of file L1TriggerScaler.h.
Referenced by L1TriggerScalerHandler::getNewObjects(), L1TriggerScaler(), printAllValues(), printFormat(), printGTAlgoCounts(), printGTAlgoPrescaling(), printGTAlgoRates(), printGTPartition0DeadTime(), printGTPartition0DeadTimeRatio(), printGTPartition0TriggerCounts(), printGTPartition0TriggerRates(), printGTTechCounts(), printGTTechPrescaling(), printGTTechRates(), printLumiSegmentValues(), and printRunValue().
int L1TriggerScaler::m_runnumber [private] |
Definition at line 102 of file L1TriggerScaler.h.
Referenced by SetRunNumber().