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 
23 
28 
29 #include <memory>
30 #include <string>
31 
33 
34 public:
35 
38 
40  virtual ~MuonTestSummary();
41 
42 protected:
43 
45  void beginJob(void);
46 
48  void analyze(const edm::Event& e, const edm::EventSetup& c){}
49 
51  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
52  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
53 
55  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
56  void endRun(edm::Run const& run, edm::EventSetup const& eSetup);
57 
59  void doKinematicsTests(std::string muonType, int bin);
61  void doMuonIDTests();
62  void doEnergyTests(std::string nameHisto, std::string muonType, int bin);
63  void doMultiplicityTests();
64  void ResidualCheck(std::string muType, const std::vector<std::string>& resHistos, int &numPlot, double &Mean, double &Mean_err, double &Sigma, double &Sigma_err);
65  void GaussFit(std::string type, std::string parameter, MonitorElement * Histo, float &mean, float &mean_err, float &sigma, float &sigma_err);
66 
67 
68 private:
69 
71  // Switch for verbosity
73 
74  // test ranges
75  double etaExpected;
76  double phiExpected;
77  double chi2Fraction;
78  double chi2Spread;
85  double pullEtaSpread;
86  double pullPhiSpread;
112 
113  // the report MEs
114 //------
117 //-----
125  std::vector<MonitorElement*> theSummaryContents;
128  std::vector<MonitorElement*> theCertificationContents;
129 
130 };
131 
132 #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:41
void doKinematicsTests(std::string muonType, int bin)
test operations
double expMultiplicitySta_max
double matchesFractionDt_min