CMS 3D CMS Logo

SiPixelPhase1Summary.h
Go to the documentation of this file.
1 #ifndef SiPixelPhase1Summary_SiPixelPhase1Summary_h
2 #define SiPixelPhase1Summary_SiPixelPhase1Summary_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelPhase1Summary
6 // Class : SiPixelPhase1Summary
7 //
16 //
17 // Original Author: Duncan Leggat
18 // Created: 2nd December 2016
19 //
20 
21 //#include <memory>
22 
23 // user include files
27 
30 
37 
39 
41 public:
42  explicit SiPixelPhase1Summary(const edm::ParameterSet& conf);
43  ~SiPixelPhase1Summary() override;
44 
45  // virtual void analyze(const edm::Event&, const edm::EventSetup&);
46  //void dqmBeginRun(const edm::Run&, edm::EventSetup const&) ;
47  //virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
48 protected:
49  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
50 
52  DQMStore::IGetter& iGetter,
53  edm::LuminosityBlock const& lumiSeg,
54  edm::EventSetup const& c) override;
55  //(edm::LuminosityBlock const&, edm::EventSetup const&) override;
56  void dqmEndJob(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter) override;
57  // virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
58 
62 
63 private:
67  bool firstLumi;
68 
69  std::map<std::string, MonitorElement*> summaryMap_;
71  std::map<std::string, MonitorElement*> residuals_;
72  MonitorElement* reportSummary; //Float value of the average of the ins in the grand summary
73 
74  std::map<std::string, std::string> summaryPlotName_;
75 
76  //The dead and innefficient roc trend plot
77  std::map<trendPlots, MonitorElement*> deadROCTrends_;
78  std::map<trendPlots, MonitorElement*> ineffROCTrends_;
79 
80  //Error thresholds for the dead ROC plots
81  std::vector<double> deadRocThresholds_;
82 
83  //book the summary plots
84  void bookSummaries(DQMStore::IBooker& iBooker);
85 
86  //Book trend plots
87  void bookTrendPlots(DQMStore::IBooker& iBooker);
88 
89  void fillSummaries(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter);
90 
91  void fillTrendPlots(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter, int lumiSeg = 0);
92 };
93 
94 #endif
DQMEDHarvester.h
SiPixelPhase1Summary::ineffROCTrends_
std::map< trendPlots, MonitorElement * > ineffROCTrends_
Definition: SiPixelPhase1Summary.h:78
SiPixelPhase1Summary::runOnEndLumi_
bool runOnEndLumi_
Definition: SiPixelPhase1Summary.h:60
Handle.h
SiPixelPhase1Summary::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: SiPixelPhase1Summary.cc:71
EDProducer.h
ESHandle.h
SiPixelPhase1Summary::residuals_
std::map< std::string, MonitorElement * > residuals_
Definition: SiPixelPhase1Summary.h:71
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
SiPixelPhase1Summary::layer4
Definition: SiPixelPhase1Summary.h:64
LuminosityBlock.h
SiPixelPhase1Summary::fpix
Definition: SiPixelPhase1Summary.h:64
SiPixelPhase1Summary::reportSummary
MonitorElement * reportSummary
Definition: SiPixelPhase1Summary.h:72
SiPixelPhase1Summary::runOnEndJob_
bool runOnEndJob_
Definition: SiPixelPhase1Summary.h:61
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
EDAnalyzer.h
SiPixelPhase1Summary::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) override
Definition: SiPixelPhase1Summary.cc:73
SiPixelPhase1Summary::layer3
Definition: SiPixelPhase1Summary.h:64
SiPixelPhase1Summary
Definition: SiPixelPhase1Summary.h:40
SiPixelPhase1Summary::firstLumi
bool firstLumi
Definition: SiPixelPhase1Summary.h:67
SiPixelPhase1Summary::deadRocThresholds_
std::vector< double > deadRocThresholds_
Definition: SiPixelPhase1Summary.h:81
MakerMacros.h
SiPixelPhase1Summary::trendPlots
trendPlots
Definition: SiPixelPhase1Summary.h:64
SiPixelPhase1Summary::bookTrendPlots
void bookTrendPlots(DQMStore::IBooker &iBooker)
Definition: SiPixelPhase1Summary.cc:296
SiPixelPhase1Summary::SiPixelPhase1Summary
SiPixelPhase1Summary(const edm::ParameterSet &conf)
Definition: SiPixelPhase1Summary.cc:49
SiPixelPhase1Summary::summaryPlotName_
std::map< std::string, std::string > summaryPlotName_
Definition: SiPixelPhase1Summary.h:74
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelPhase1Summary::layer1
Definition: SiPixelPhase1Summary.h:64
SiPixelPhase1Summary::deadROCSummary
MonitorElement * deadROCSummary
Definition: SiPixelPhase1Summary.h:70
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
SiPixelPhase1Summary::fillSummaries
void fillSummaries(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter)
Definition: SiPixelPhase1Summary.cc:329
SiPixelPhase1Summary::bookSummaries
void bookSummaries(DQMStore::IBooker &iBooker)
Definition: SiPixelPhase1Summary.cc:113
SiPixelPhase1Summary::ring1
Definition: SiPixelPhase1Summary.h:64
SiPixelPhase1Summary::conf_
edm::ParameterSet conf_
Definition: SiPixelPhase1Summary.h:65
edm::EventSetup
Definition: EventSetup.h:58
SiPixelPhase1Summary::ring2
Definition: SiPixelPhase1Summary.h:64
DQMEDHarvester
Definition: DQMEDHarvester.py:1
SiPixelPhase1Summary::layer2
Definition: SiPixelPhase1Summary.h:64
writedatasetfile.run
run
Definition: writedatasetfile.py:27
Frameworkfwd.h
dqm::implementation::IGetter
Definition: DQMStore.h:484
SiPixelPhase1Summary::topFolderName_
std::string topFolderName_
Definition: SiPixelPhase1Summary.h:59
SiPixelPhase1Summary::fillTrendPlots
void fillTrendPlots(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, int lumiSeg=0)
Definition: SiPixelPhase1Summary.cc:556
EventSetup.h
SiPixelPhase1Summary::~SiPixelPhase1Summary
~SiPixelPhase1Summary() override
Definition: SiPixelPhase1Summary.cc:65
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiPixelPhase1Summary::summaryMap_
std::map< std::string, MonitorElement * > summaryMap_
Definition: SiPixelPhase1Summary.h:69
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
SiPixelPhase1Summary::src_
edm::InputTag src_
Definition: SiPixelPhase1Summary.h:66
edm::InputTag
Definition: InputTag.h:15
SiPixelPhase1Summary::dqmEndJob
void dqmEndJob(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
Definition: SiPixelPhase1Summary.cc:95
SiPixelPhase1Summary::offline
Definition: SiPixelPhase1Summary.h:64
SiPixelPhase1Summary::deadROCTrends_
std::map< trendPlots, MonitorElement * > deadROCTrends_
Definition: SiPixelPhase1Summary.h:77
SiPixelPhase1Summary::bpix
Definition: SiPixelPhase1Summary.h:64