1 #ifndef DQM_L1TMONITORCLIENT_L1TOCCUPANCYCLIENT_H
2 #define DQM_L1TMONITORCLIENT_L1TOCCUPANCYCLIENT_H
25 #include <TProfile2D.h>
57 std::string test_name,
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 std::vector<std::pair<int,double> > statDev,
102 std::string test_name);
105 double getAvrg(TH2F* h2f, std::string
test,
int axis,
int nBins,
int binStrip,
int avrgMode);
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.
int compareWithStrip(TH2F *histo, std::string test, int binStrip, int nBins, int axis, double avg, edm::ParameterSet ps, std::vector< std::pair< int, double > > &deadChannels)
double getAvrg(TH2F *h2f, std::string test, int axis, int nBins, int binStrip, int avrgMode)
std::map< std::string, MonitorElement * > meCertification
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
double xySymmetry(edm::ParameterSet ps, std::string test_name, std::vector< std::pair< int, double > > &deadChannels, std::vector< std::pair< int, double > > &statDev, bool &enoughStats)
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_
void printDeadChannels(std::vector< std::pair< int, double > > deadChannels, TH2F *h2f, std::vector< std::pair< int, double > > statDev, std::string test_name)
std::vector< edm::ParameterSet * > mValidTests
L1TOccupancyClient(const edm::ParameterSet &ps)
Constructor.
std::vector< edm::ParameterSet > tests_
L1TOccupancyClientHistogramService * hservice_