38 #ifndef HLTSCALERSCLIENT_H 39 #define HLTSCALERSCLIENT_H 55 #define MAX_LUMI_SEG_HLT 2400 72 std::pair<
int,double>(ls,cnt)
76 return ls == this->
first;
80 return this->
first< rhs.first;
113 if ( p != this->
end() ) {
114 p->second = T.second;
124 if ( this->
size() > targetSize_ ) {
126 while (
size() > targetSize_ ) {
210 #endif // HLTSCALERSCLIENT_H
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
bool operator==(int ls) const
MonitorElement * updates_
CountLS_t(int ls, double cnt)
std::vector< MonitorElement * > rateHistories_
MonitorElement * currentNormRate_
std::vector< CountLSFifo_t > recentNormedPathCountsPerLS_
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
int currentLumiBlockNumber_
std::vector< MonitorElement * > hltCurrentNormRate_
void beginJob(void) override
BeginJob.
void beginRun(const edm::Run &run, const edm::EventSetup &c) override
BeginRun.
MonitorElement * hltRate_
std::vector< MonitorElement * > countHistories_
std::deque< int > ignores_
void endRun(const edm::Run &run, const edm::EventSetup &c) override
EndRun.
MonitorElement * mergeCount_
unsigned int kRateIntegWindow_
~HLTScalersClient() override
Destructor.
CountLSFifo_t recentOverallCountsPerLS_
MonitorElement * currentRate_
bool operator<(CountLS_t &rhs)
void analyze(const edm::Event &e, const edm::EventSetup &c) override
void update(const CountLS_t &T)
std::vector< CountLSFifo_t > recentPathCountsPerLS_
CountLSFifo_t(unsigned int sz=3)
MonitorElement * hltCount_
HLTScalersClient(const edm::ParameterSet &ps)
Constructors.
std::pair< double, double > getSlope_(const CountLSFifo_t &points)
CountLSFifo_t recentNormedOverallCountsPerLS_
std::vector< MonitorElement * > hltCurrentRate_
MonitorElement * hltNormRate_
std::vector< MonitorElement * > rateNormHistories_
unsigned int targetSize() const