1 #ifndef DQM_L1TMONITORCLIENT_L1TOCCUPANCYCLIENT_H
2 #define DQM_L1TMONITORCLIENT_L1TOCCUPANCYCLIENT_H
25 #include <TProfile2D.h>
58 std::vector<std::pair<int,double> >& deadChannels,
59 std::vector<std::pair<int,double> >& statDev,
73 std::vector<edm::ParameterSet>
tests_;
90 std::vector<std::pair<int,double> >& deadChannels);
101 const std::vector<std::pair<int,double> >& statDev,
std::map< std::string, MonitorElement * > meResults
void analyze(const edm::Event &e, const edm::EventSetup &c)
Fake Analyze.
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
void getBinCoordinateOnAxisWithValue(TH2F *h2f, double content, int &coord, int axis)
virtual ~L1TOccupancyClient()
Destructor.
void beginJob(void)
BeginJob.
void printDeadChannels(const std::vector< std::pair< int, double > > &deadChannels, TH2F *h2f, const std::vector< std::pair< int, double > > &statDev, std::string test_name)
double getAvrg(TH2F *h2f, std::string test, int axis, int nBins, int binStrip, int avrgMode)
std::map< std::string, MonitorElement * > meCertification
double xySymmetry(const edm::ParameterSet &ps, std::string test_name, std::vector< std::pair< int, double > > &deadChannels, std::vector< std::pair< int, double > > &statDev, bool &enoughStats)
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
void endRun(const edm::Run &r, const edm::EventSetup &c)
std::map< std::string, MonitorElement * > meDifferential
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
edm::ParameterSet parameters_
std::vector< edm::ParameterSet * > mValidTests
int compareWithStrip(TH2F *histo, std::string test, int binStrip, int nBins, int axis, double avg, const edm::ParameterSet &ps, std::vector< std::pair< int, double > > &deadChannels)
L1TOccupancyClient(const edm::ParameterSet &ps)
Constructor.
std::vector< edm::ParameterSet > tests_
L1TOccupancyClientHistogramService * hservice_