CMS 3D CMS Logo

MuonTestSummary.h
Go to the documentation of this file.
1 #ifndef MuonTestSummary_H
2 #define MuonTestSummary_H
3 
4 
23 
27 
30 
31 #include <memory>
32 #include <string>
33 
35 
36 public:
37 
40 
42  ~MuonTestSummary() override;
43 
44 protected:
45 
46  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; //performed in the endJob
47 
51 
53  void doEnergyTests(DQMStore::IGetter &, std::string nameHisto, std::string muonType, int bin);
55  void ResidualCheck(DQMStore::IGetter &, std::string muType, const std::vector<std::string>& resHistos, int &numPlot, double &Mean, double &Mean_err, double &Sigma, double &Sigma_err);
56  void GaussFit(std::string type, std::string parameter, MonitorElement * Histo, float &mean, float &mean_err, float &sigma, float &sigma_err);
57 
58 
59 private:
60 
62  // Switch for verbosity
64 
65  // test ranges
66  double etaExpected;
67  double phiExpected;
68  double chi2Fraction;
69  double chi2Spread;
76  double pullEtaSpread;
77  double pullPhiSpread;
103 
104  // the report MEs
105 //------
108 //-----
116  std::vector<MonitorElement*> theSummaryContents;
119  std::vector<MonitorElement*> theCertificationContents;
120 
121 };
122 
123 #endif
type
Definition: HCALResponse.h:21
double matchesFractionCsc_max
double expMultiplicityTk_max
double expPeakEcalS9_min
void ResidualCheck(DQMStore::IGetter &, std::string muType, const std::vector< std::string > &resHistos, int &numPlot, double &Mean, double &Mean_err, double &Sigma, double &Sigma_err)
double resSegmTrack_rms_min
double resSegmTrack_rms_max
MonitorElement * KolmogorovTestSummaryMap
double expMultiplicityGlb_min
double resSegmTrack_mean_min
MonitorElement * multiplicitySummaryMap
void doMultiplicityTests(DQMStore::IGetter &)
double resSegmTrack_mean_max
std::string metname
double resPhiSpread_tkGlb
MonitorElement * kinematicsSummaryMap
double matchesFractionDt_max
void doMuonIDTests(DQMStore::IGetter &)
MonitorElement * muonIdSummaryMap
double matchesFractionCsc_min
MonitorElement * summaryCertification
std::vector< MonitorElement * > theSummaryContents
double resEtaSpread_glbSta
double resPhiSpread_glbSta
double resOneOvPSpread_glbSta
double expPeakEcalS9_max
bin
set the eta bin as selection string.
double resOneOvPSpread_tkGlb
double resEtaSpread_tkGlb
double resChargeLimit_glbSta
~MuonTestSummary() override
Destructor.
double numMatchedExpected_min
std::vector< MonitorElement * > theCertificationContents
MonitorElement * energySummaryMap
MonitorElement * summaryReport
double expMultiplicityGlb_max
void doKinematicsTests(DQMStore::IGetter &, std::string, int)
test operations
double expMultiplicityTk_min
double numMatchedExpected_max
void doEnergyTests(DQMStore::IGetter &, std::string nameHisto, std::string muonType, int bin)
void GaussFit(std::string type, std::string parameter, MonitorElement *Histo, float &mean, float &mean_err, float &sigma, float &sigma_err)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
MonitorElement * summaryCertificationMap
MonitorElement * summaryReportMap
double resChargeLimit_tkGlb
double resChargeLimit_tkSta
double expMultiplicitySta_min
MonitorElement * chi2TestSummaryMap
double sigmaResSegmTrackExp
MuonTestSummary(const edm::ParameterSet &ps)
Constructor.
MonitorElement * residualsSummaryMap
void doResidualsTests(DQMStore::IGetter &, std::string, std::string, int)
double expMultiplicitySta_max
double matchesFractionDt_min