CMS 3D CMS Logo

EcalPreshowerSimHitsValidation.h
Go to the documentation of this file.
1 #ifndef EcalPreshowerSimHitsValidation_H
2 #define EcalPreshowerSimHitsValidation_H
3 
4 /*
5  * \file EcalPreshowerSimHitsValidation.h
6  *
7  * \author C.Rovelli
8  *
9  */
10 
13 
21 
23 
28 
29 #include <fstream>
30 #include <iostream>
31 #include <map>
32 #include <vector>
33 
35  typedef std::map<uint32_t, float, std::less<uint32_t>> MapType;
36 
37 public:
40 
41 protected:
42  void bookHistograms(DQMStore::IBooker &ib, edm::Run const &, edm::EventSetup const &c) override;
43 
45  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
46 
47 private:
52 
56 
57  bool verbose_;
58 
61 
64 
67 
70 
73 
76 
79 
82 };
83 
84 #endif
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
EcalPreshowerSimHitsValidation::ESHitsToken
edm::EDGetTokenT< edm::PCaloHitContainer > ESHitsToken
Definition: EcalPreshowerSimHitsValidation.h:55
MessageLogger.h
EcalPreshowerSimHitsValidation::meEShitLog10Energy_
MonitorElement * meEShitLog10Energy_
Definition: EcalPreshowerSimHitsValidation.h:65
ESHandle.h
EcalPreshowerSimHitsValidation::meESEnergyHits2zm_
MonitorElement * meESEnergyHits2zm_
Definition: EcalPreshowerSimHitsValidation.h:72
edm::Run
Definition: Run.h:45
EcalPreshowerSimHitsValidation::verbose_
bool verbose_
Definition: EcalPreshowerSimHitsValidation.h:57
edm::EDGetTokenT< edm::HepMCProduct >
EcalPreshowerSimHitsValidation::meEEoverESzm_
MonitorElement * meEEoverESzm_
Definition: EcalPreshowerSimHitsValidation.h:78
EcalPreshowerSimHitsValidation::meEEoverESzp_
MonitorElement * meEEoverESzp_
Definition: EcalPreshowerSimHitsValidation.h:77
EcalPreshowerSimHitsValidation::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
Definition: EcalPreshowerSimHitsValidation.cc:87
EDAnalyzer.h
EcalPreshowerSimHitsValidation::EcalPreshowerSimHitsValidation
EcalPreshowerSimHitsValidation(const edm::ParameterSet &ps)
Constructor.
Definition: EcalPreshowerSimHitsValidation.cc:18
MakerMacros.h
EcalPreshowerSimHitsValidation::EEHitsCollection
std::string EEHitsCollection
Definition: EcalPreshowerSimHitsValidation.h:50
EcalPreshowerSimHitsValidation::HepMCToken
edm::EDGetTokenT< edm::HepMCProduct > HepMCToken
Definition: EcalPreshowerSimHitsValidation.h:53
EcalPreshowerSimHitsValidation::MapType
std::map< uint32_t, float, std::less< uint32_t > > MapType
Definition: EcalPreshowerSimHitsValidation.h:35
EcalPreshowerSimHitsValidation::meESEnergyHits1zp_
MonitorElement * meESEnergyHits1zp_
Definition: EcalPreshowerSimHitsValidation.h:68
EcalPreshowerSimHitsValidation::meE1alphaE2zm_
MonitorElement * meE1alphaE2zm_
Definition: EcalPreshowerSimHitsValidation.h:75
EcalPreshowerSimHitsValidation::EEHitsToken
edm::EDGetTokenT< edm::PCaloHitContainer > EEHitsToken
Definition: EcalPreshowerSimHitsValidation.h:54
EcalPreshowerSimHitsValidation::meESEnergyHits2zp_
MonitorElement * meESEnergyHits2zp_
Definition: EcalPreshowerSimHitsValidation.h:69
EcalPreshowerSimHitsValidation::meE1alphaE2zp_
MonitorElement * meE1alphaE2zp_
Definition: EcalPreshowerSimHitsValidation.h:74
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
PCaloHit.h
EcalPreshowerSimHitsValidation::me2eszpOver1eszp_
MonitorElement * me2eszpOver1eszp_
Definition: EcalPreshowerSimHitsValidation.h:80
EcalPreshowerSimHitsValidation::g4InfoLabel
std::string g4InfoLabel
Definition: EcalPreshowerSimHitsValidation.h:49
cuy.ib
ib
Definition: cuy.py:662
EcalPreshowerSimHitsValidation
Definition: EcalPreshowerSimHitsValidation.h:34
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
EcalPreshowerSimHitsValidation::menESHits2zm_
MonitorElement * menESHits2zm_
Definition: EcalPreshowerSimHitsValidation.h:63
EcalPreshowerSimHitsValidation::menESHits2zp_
MonitorElement * menESHits2zp_
Definition: EcalPreshowerSimHitsValidation.h:60
EcalPreshowerSimHitsValidation::HepMCLabel
std::string HepMCLabel
Definition: EcalPreshowerSimHitsValidation.h:48
Frameworkfwd.h
EcalPreshowerSimHitsValidation::menESHits1zm_
MonitorElement * menESHits1zm_
Definition: EcalPreshowerSimHitsValidation.h:62
EcalPreshowerSimHitsValidation::menESHits1zp_
MonitorElement * menESHits1zp_
Definition: EcalPreshowerSimHitsValidation.h:59
EcalPreshowerSimHitsValidation::meESEnergyHits1zm_
MonitorElement * meESEnergyHits1zm_
Definition: EcalPreshowerSimHitsValidation.h:71
EventSetup.h
PCaloHitContainer.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
ConsumesCollector.h
ParameterSet.h
HepMCProduct.h
EcalPreshowerSimHitsValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &ib, edm::Run const &, edm::EventSetup const &c) override
Definition: EcalPreshowerSimHitsValidation.cc:34
edm::Event
Definition: Event.h:73
EcalPreshowerSimHitsValidation::me2eszmOver1eszm_
MonitorElement * me2eszmOver1eszm_
Definition: EcalPreshowerSimHitsValidation.h:81
EcalPreshowerSimHitsValidation::meEShitLog10EnergyNorm_
MonitorElement * meEShitLog10EnergyNorm_
Definition: EcalPreshowerSimHitsValidation.h:66
PValidationFormats.h
EcalPreshowerSimHitsValidation::ESHitsCollection
std::string ESHitsCollection
Definition: EcalPreshowerSimHitsValidation.h:51
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37