CMS 3D CMS Logo

EcalDigisValidation.h
Go to the documentation of this file.
1 #ifndef EcalDigisValidation_H
2 #define EcalDigisValidation_H
3 
4 /*
5  * \file EcalDigisValidation.h
6  *
7  * \author F. Cossutti
8  *
9 */
10 
13 
18 
21 
24 
33 
40 
41 #include <iostream>
42 #include <fstream>
43 #include <vector>
44 #include <map>
46 
48  typedef std::map<uint32_t, float, std::less<uint32_t> > MapType;
49 
50 public:
53 
55  ~EcalDigisValidation() override;
56 
57  void bookHistograms(DQMStore::IBooker& i, edm::Run const&, edm::EventSetup const&) override;
58 
59 protected:
61  void analyze(edm::Event const& e, edm::EventSetup const& c) override;
62  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
63 
64 private:
65  void checkCalibrations(edm::EventSetup const& c);
66 
67  bool verbose_;
68 
70 
74 
78 
81 
82  std::map<int, double, std::less<int> > gainConv_;
83 
86 
90 
93 
96 
99 };
100 
101 #endif
EcalDigisValidation::g4TkInfoToken_
edm::EDGetTokenT< edm::SimTrackContainer > g4TkInfoToken_
Definition: EcalDigisValidation.h:72
EcalDigisValidation::EEdigiCollectionToken_
edm::EDGetTokenT< EEDigiCollection > EEdigiCollectionToken_
Definition: EcalDigisValidation.h:76
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
EcalDigisValidation::meEBDigiSimRatio_
MonitorElement * meEBDigiSimRatio_
Definition: EcalDigisValidation.h:91
mps_fire.i
i
Definition: mps_fire.py:428
MessageLogger.h
EcalDigisValidation::ESdigiCollectionToken_
edm::EDGetTokenT< ESDigiCollection > ESdigiCollectionToken_
Definition: EcalDigisValidation.h:77
EcalDigisValidation::meGunEta_
MonitorElement * meGunEta_
Definition: EcalDigisValidation.h:88
EcalDigisValidation::dqmBeginRun
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: EcalDigisValidation.cc:62
EcalDigisValidation::crossingFramePCaloHitEBToken_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitEBToken_
Definition: EcalDigisValidation.h:79
ESHandle.h
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< edm::HepMCProduct >
EcalDigisValidation::meEEDigiSimRatio_
MonitorElement * meEEDigiSimRatio_
Definition: EcalDigisValidation.h:92
CrossingFrame.h
DQMStore.h
EcalDigisValidation::meEEDigiSimRatiogt20ADC_
MonitorElement * meEEDigiSimRatiogt20ADC_
Definition: EcalDigisValidation.h:95
EDAnalyzer.h
EcalDigisValidation::verbose_
bool verbose_
Definition: EcalDigisValidation.h:67
ESDataFrame.h
MakerMacros.h
EcalDigisValidation::meGunPhi_
MonitorElement * meGunPhi_
Definition: EcalDigisValidation.h:89
MixCollection.h
EcalDigisValidation::meEBDigiSimRatiogt100ADC_
MonitorElement * meEBDigiSimRatiogt100ADC_
Definition: EcalDigisValidation.h:97
Service.h
EcalDigisValidation::outputFile_
std::string outputFile_
Definition: EcalDigisValidation.h:69
SimVertex.h
EcalDigisValidation::analyze
void analyze(edm::Event const &e, edm::EventSetup const &c) override
Analyze.
Definition: EcalDigisValidation.cc:97
EcalDigiCollections.h
EcalDigisValidation::gainConv_
std::map< int, double, std::less< int > > gainConv_
Definition: EcalDigisValidation.h:82
EcalDigisValidation::meEBDigiSimRatiogt10ADC_
MonitorElement * meEBDigiSimRatiogt10ADC_
Definition: EcalDigisValidation.h:94
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalDigisValidation::EcalDigisValidation
EcalDigisValidation(const edm::ParameterSet &ps)
Constructor.
Definition: EcalDigisValidation.cc:14
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:47
EcalDigisValidation::HepMCToken_
edm::EDGetTokenT< edm::HepMCProduct > HepMCToken_
Definition: EcalDigisValidation.h:71
EcalDigisValidation::meGunEnergy_
MonitorElement * meGunEnergy_
Definition: EcalDigisValidation.h:87
Event.h
PCaloHit.h
EcalDigisValidation::crossingFramePCaloHitESToken_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitESToken_
Definition: EcalDigisValidation.h:79
EcalDigisValidation::EBdigiCollectionToken_
edm::EDGetTokenT< EBDigiCollection > EBdigiCollectionToken_
Definition: EcalDigisValidation.h:75
EBDataFrame.h
edm::EventSetup
Definition: EventSetup.h:58
EcalDigisValidation::endcapADCtoGeV_
double endcapADCtoGeV_
Definition: EcalDigisValidation.h:85
EcalDigisValidation
Definition: EcalDigisValidation.h:47
EcalDigisValidation::~EcalDigisValidation
~EcalDigisValidation() override
Destructor.
Definition: EcalDigisValidation.cc:60
EEDataFrame.h
EcalDigisValidation::g4VtxInfoToken_
edm::EDGetTokenT< edm::SimVertexContainer > g4VtxInfoToken_
Definition: EcalDigisValidation.h:73
EcalDigisValidation::crossingFramePCaloHitEEToken_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitEEToken_
Definition: EcalDigisValidation.h:79
Frameworkfwd.h
EcalDigisValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: EcalDigisValidation.cc:64
EventSetup.h
PCaloHitContainer.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
EcalDigisValidation::checkCalibrations
void checkCalibrations(edm::EventSetup const &c)
Definition: EcalDigisValidation.cc:383
SimTrack.h
ParameterSet.h
HepMCProduct.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition: Event.h:73
EcalDigisValidation::MapType
std::map< uint32_t, float, std::less< uint32_t > > MapType
Definition: EcalDigisValidation.h:48
SimTrackContainer.h
SimVertexContainer.h
EcalDigisValidation::barrelADCtoGeV_
double barrelADCtoGeV_
Definition: EcalDigisValidation.h:84
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
EncodedEventId.h
EcalDigisValidation::meEEDigiSimRatiogt100ADC_
MonitorElement * meEEDigiSimRatiogt100ADC_
Definition: EcalDigisValidation.h:98