CMS 3D CMS Logo

MuonTestSummary.h
Go to the documentation of this file.
1 #ifndef MuonTestSummary_H
2 #define MuonTestSummary_H
3 
18 
21 
23 
24 #include <memory>
25 #include <string>
26 
28 public:
31 
33  ~MuonTestSummary() override;
34 
35 protected:
36  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; //performed in the endJob
37 
41 
43  void doEnergyTests(DQMStore::IGetter &, std::string nameHisto, std::string muonType, int bin);
46  std::string muType,
47  const std::vector<std::string> &resHistos,
48  int &numPlot,
49  double &Mean,
50  double &Mean_err,
51  double &Sigma,
52  double &Sigma_err);
55  MonitorElement *Histo,
56  float &mean,
57  float &mean_err,
58  float &sigma,
59  float &sigma_err);
60 
61 private:
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 #endif
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
std::vector< MonitorElement * > theSummaryContents
void doMuonIDTests(DQMStore::IGetter &)
MonitorElement * muonIdSummaryMap
double matchesFractionCsc_min
MonitorElement * summaryCertification
double resEtaSpread_glbSta
double resPhiSpread_glbSta
double resOneOvPSpread_glbSta
double expPeakEcalS9_max
double resOneOvPSpread_tkGlb
double resEtaSpread_tkGlb
double resChargeLimit_glbSta
~MuonTestSummary() override
Destructor.
double numMatchedExpected_min
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
std::vector< MonitorElement * > theCertificationContents
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