CMS 3D CMS Logo

GlobalRecHitsHistogrammer.h
Go to the documentation of this file.
1 #ifndef GlobalRecHitsHistogrammer_h
2 #define GlobalRecHitsHistogrammer_h
3 
13 // framework & common header files
20 
21 //DQM services
25 
26 //#include "DataFormats/Common/interface/Provenance.h"
31 
32 // event info
34 
35 // helper files
36 //#include <CLHEP/Vector/LorentzVector.h>
37 //#include <CLHEP/Units/SystemOfUnits.h>
38 
39 #include <iostream>
40 #include <cstdlib>
41 #include <string>
42 #include <memory>
43 #include <vector>
44 #include <map>
45 #include <cmath>
46 
47 #include "TString.h"
48 
50 public:
51  //typedef std::vector<float> FloatVector;
52  //typedef std::vector<double> DoubleVector;
53  //typedef std::vector<int> IntVector;
54  typedef std::map<uint32_t, float, std::less<uint32_t> > MapType;
55 
57  ~GlobalRecHitsHistogrammer() override;
58  void analyze(const edm::Event &, const edm::EventSetup &) override;
59  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
60 
61 private:
62  // parameter information
64  int verbosity;
65  int frequency;
69 
71  bool doOutput;
72 
75  //edm::InputTag srcGlobalRecHits;
76 
77  // Electromagnetic info
78  // ECal info
79 
82 
83  // HCal info
84 
87 
88  // Tracker info
89  // SiStrip
90 
94 
95  // SiPxl
96 
100 
101  // Muon info
102  // DT
103 
110 
111  // private statistics information
112  unsigned int count;
113 
114 }; // end class declaration
115 
116 #endif //PGlobalRecHitsProducer_h
GlobalRecHitsHistogrammer::GlobalRecHitSrc_
edm::InputTag GlobalRecHitSrc_
Definition: GlobalRecHitsHistogrammer.h:73
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
GlobalRecHitsHistogrammer::mehSiPixelResY
MonitorElement * mehSiPixelResY[7]
Definition: GlobalRecHitsHistogrammer.h:99
Handle.h
MessageLogger.h
GlobalRecHitsHistogrammer::mehCSCn
MonitorElement * mehCSCn
Definition: GlobalRecHitsHistogrammer.h:105
GlobalRecHitsHistogrammer::outputfile
std::string outputfile
Definition: GlobalRecHitsHistogrammer.h:70
ESHandle.h
GlobalRecHitsHistogrammer::mehSiStripResX
MonitorElement * mehSiStripResX[19]
Definition: GlobalRecHitsHistogrammer.h:92
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< PGlobalRecHit >
GlobalRecHitsHistogrammer::mehSiPixeln
MonitorElement * mehSiPixeln[7]
Definition: GlobalRecHitsHistogrammer.h:97
GlobalRecHitsHistogrammer::mehEcaln
MonitorElement * mehEcaln[3]
Definition: GlobalRecHitsHistogrammer.h:80
GlobalRecHitsHistogrammer::fName
std::string fName
Definition: GlobalRecHitsHistogrammer.h:63
DQMStore.h
GlobalRecHitsHistogrammer::count
unsigned int count
Definition: GlobalRecHitsHistogrammer.h:112
EDAnalyzer.h
GlobalRecHitsHistogrammer::frequency
int frequency
Definition: GlobalRecHitsHistogrammer.h:65
GlobalRecHitsHistogrammer
Definition: GlobalRecHitsHistogrammer.h:49
GlobalRecHitsHistogrammer::MapType
std::map< uint32_t, float, std::less< uint32_t > > MapType
Definition: GlobalRecHitsHistogrammer.h:54
MakerMacros.h
GlobalRecHitsHistogrammer::mehEcalRes
MonitorElement * mehEcalRes[3]
Definition: GlobalRecHitsHistogrammer.h:81
GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer
GlobalRecHitsHistogrammer(const edm::ParameterSet &)
Definition: GlobalRecHitsHistogrammer.cc:12
GlobalRecHitsHistogrammer::printProvenanceInfo
bool printProvenanceInfo
Definition: GlobalRecHitsHistogrammer.h:68
Service.h
Provenance.h
GlobalRecHitsHistogrammer::mehSiPixelResX
MonitorElement * mehSiPixelResX[7]
Definition: GlobalRecHitsHistogrammer.h:98
GlobalRecHitsHistogrammer::mehDtMuonRes
MonitorElement * mehDtMuonRes
Definition: GlobalRecHitsHistogrammer.h:107
GlobalRecHitsHistogrammer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: GlobalRecHitsHistogrammer.cc:70
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:47
GlobalRecHitsHistogrammer::verbosity
int verbosity
Definition: GlobalRecHitsHistogrammer.h:64
Event.h
GlobalRecHitsHistogrammer::mehSiStripn
MonitorElement * mehSiStripn[19]
Definition: GlobalRecHitsHistogrammer.h:91
GlobalRecHitsHistogrammer::mehSiStripResY
MonitorElement * mehSiStripResY[19]
Definition: GlobalRecHitsHistogrammer.h:93
GlobalRecHitsHistogrammer::GlobalRecHitSrc_Token_
edm::EDGetTokenT< PGlobalRecHit > GlobalRecHitSrc_Token_
Definition: GlobalRecHitsHistogrammer.h:74
GlobalRecHitsHistogrammer::mehHcaln
MonitorElement * mehHcaln[4]
Definition: GlobalRecHitsHistogrammer.h:85
edm::EventSetup
Definition: EventSetup.h:58
GlobalRecHitsHistogrammer::mehCSCResRDPhi
MonitorElement * mehCSCResRDPhi
Definition: GlobalRecHitsHistogrammer.h:108
GlobalRecHitsHistogrammer::getAllProvenances
bool getAllProvenances
Definition: GlobalRecHitsHistogrammer.h:67
GlobalRecHitsHistogrammer::mehHcalRes
MonitorElement * mehHcalRes[4]
Definition: GlobalRecHitsHistogrammer.h:86
GlobalRecHitsHistogrammer::mehRPCn
MonitorElement * mehRPCn
Definition: GlobalRecHitsHistogrammer.h:106
Frameworkfwd.h
GlobalRecHitsHistogrammer::doOutput
bool doOutput
Definition: GlobalRecHitsHistogrammer.h:71
EventSetup.h
GlobalRecHitsHistogrammer::~GlobalRecHitsHistogrammer
~GlobalRecHitsHistogrammer() override
Definition: GlobalRecHitsHistogrammer.cc:68
GlobalRecHitsHistogrammer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: GlobalRecHitsHistogrammer.cc:255
dqm::implementation::IBooker
Definition: DQMStore.h:43
GlobalRecHitsHistogrammer::mehDtMuonn
MonitorElement * mehDtMuonn
Definition: GlobalRecHitsHistogrammer.h:104
ParameterSet.h
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
GlobalRecHitsHistogrammer::label
std::string label
Definition: GlobalRecHitsHistogrammer.h:66
PValidationFormats.h
GlobalRecHitsHistogrammer::mehRPCResX
MonitorElement * mehRPCResX
Definition: GlobalRecHitsHistogrammer.h:109