CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonTestSummary.h
Go to the documentation of this file.
1 #ifndef MuonTestSummary_H
2 #define MuonTestSummary_H
3 
4 
25 
30 
31 #include <memory>
32 #include <string>
33 
35 
36 public:
37 
40 
42  virtual ~MuonTestSummary();
43 
44 protected:
45 
47  void beginJob(void);
48 
50  void analyze(const edm::Event& e, const edm::EventSetup& c){}
51 
53  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
54  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
55 
57  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
58  void endRun(edm::Run const& run, edm::EventSetup const& eSetup);
59 
61  void doKinematicsTests(std::string muonType, int bin);
63  void doMuonIDTests();
64  void doEnergyTests(std::string nameHisto, std::string muonType, int bin);
65  void doMultiplicityTests();
66  void ResidualCheck(std::string muType, const std::vector<std::string>& resHistos, int &numPlot, double &Mean, double &Mean_err, double &Sigma, double &Sigma_err);
67  void GaussFit(std::string type, std::string parameter, MonitorElement * Histo, float &mean, float &mean_err, float &sigma, float &sigma_err);
68 
69 
70 private:
71 
73  // Switch for verbosity
75 
76  // test ranges
77  double etaExpected;
78  double phiExpected;
79  double chi2Fraction;
80  double chi2Spread;
87  double pullEtaSpread;
88  double pullPhiSpread;
114 
115  // the report MEs
116 //------
119 //-----
127  std::vector<MonitorElement*> theSummaryContents;
130  std::vector<MonitorElement*> theCertificationContents;
131 
132 };
133 
134 #endif
type
Definition: HCALResponse.h:21
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
double matchesFractionCsc_max
double expMultiplicityTk_max
double resSegmTrack_rms_min
double resSegmTrack_rms_max
MonitorElement * KolmogorovTestSummaryMap
double expMultiplicityGlb_min
double resSegmTrack_mean_min
MonitorElement * multiplicitySummaryMap
double resSegmTrack_mean_max
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
Diagnostic.
std::string metname
double resPhiSpread_tkGlb
MonitorElement * kinematicsSummaryMap
double matchesFractionDt_max
virtual ~MuonTestSummary()
Destructor.
MonitorElement * muonIdSummaryMap
double matchesFractionCsc_min
MonitorElement * summaryCertification
std::vector< MonitorElement * > theSummaryContents
double resEtaSpread_glbSta
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
Histograms initialisation.
double resPhiSpread_glbSta
double resOneOvPSpread_glbSta
double resOneOvPSpread_tkGlb
double resEtaSpread_tkGlb
double resChargeLimit_glbSta
double numMatchedExpected_min
void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
std::vector< MonitorElement * > theCertificationContents
MonitorElement * energySummaryMap
void doEnergyTests(std::string nameHisto, std::string muonType, int bin)
MonitorElement * summaryReport
double expMultiplicityGlb_max
double expMultiplicityTk_min
double numMatchedExpected_max
void doResidualsTests(std::string type, std::string parameter, int bin)
void GaussFit(std::string type, std::string parameter, MonitorElement *Histo, float &mean, float &mean_err, float &sigma, float &sigma_err)
MonitorElement * summaryCertificationMap
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
MonitorElement * summaryReportMap
void ResidualCheck(std::string muType, const std::vector< std::string > &resHistos, int &numPlot, double &Mean, double &Mean_err, double &Sigma, double &Sigma_err)
double resChargeLimit_tkGlb
double resChargeLimit_tkSta
double expMultiplicitySta_min
MonitorElement * chi2TestSummaryMap
double sigmaResSegmTrackExp
void beginJob(void)
BeginJob.
MuonTestSummary(const edm::ParameterSet &ps)
Constructor.
MonitorElement * residualsSummaryMap
Definition: Run.h:36
void doKinematicsTests(std::string muonType, int bin)
test operations
double expMultiplicitySta_max
double matchesFractionDt_min