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>
47 
49 
50  typedef std::map<uint32_t,float,std::less<uint32_t> > MapType;
51 
52 public:
53 
56 
59 
60 void bookHistograms(DQMStore::IBooker &i, edm::Run const&, edm::EventSetup const&) override;
61 
62 protected:
63 
65 void analyze(edm::Event const & e, edm::EventSetup const & c) override;
66 void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
67 
68 private:
69 
70  void checkCalibrations(edm::EventSetup const & c);
71 
72  bool verbose_;
73 
75 
79 
83 
85 
86  std::map<int, double, std::less<int> > gainConv_;
87 
90 
94 
97 
100 
103 
104 };
105 
106 #endif
edm::EDGetTokenT< EEDigiCollection > EEdigiCollectionToken_
edm::EDGetTokenT< EBDigiCollection > EBdigiCollectionToken_
std::map< uint32_t, float, std::less< uint32_t > > MapType
~EcalDigisValidation()
Destructor.
edm::EDGetTokenT< edm::SimVertexContainer > g4VtxInfoToken_
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
MonitorElement * meEEDigiSimRatiogt100ADC_
std::map< int, double, std::less< int > > gainConv_
MonitorElement * meGunEnergy_
MonitorElement * meEBDigiSimRatiogt10ADC_
void analyze(edm::Event const &e, edm::EventSetup const &c) override
Analyze.
MonitorElement * meEBDigiSimRatio_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitESToken_
MonitorElement * meGunEta_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitEBToken_
EcalDigisValidation(const edm::ParameterSet &ps)
Constructor.
MonitorElement * meEEDigiSimRatio_
MonitorElement * meGunPhi_
edm::EDGetTokenT< ESDigiCollection > ESdigiCollectionToken_
MonitorElement * meEEDigiSimRatiogt20ADC_
edm::EDGetTokenT< edm::HepMCProduct > HepMCToken_
void checkCalibrations(edm::EventSetup const &c)
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitEEToken_
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
MonitorElement * meEBDigiSimRatiogt100ADC_
edm::EDGetTokenT< edm::SimTrackContainer > g4TkInfoToken_
Definition: Run.h:43