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 
12 
17 
20 
23 
32 
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 
79 
82 
83  std::map<int, double, std::less<int> > gainConv_;
84 
87 
91 
94 
97 
100 };
101 
102 #endif
edm::EDGetTokenT< EEDigiCollection > EEdigiCollectionToken_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitESToken_
~EcalDigisValidation() override
Destructor.
std::map< uint32_t, float, std::less< uint32_t > > MapType
edm::EDGetTokenT< EBDigiCollection > EBdigiCollectionToken_
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_
MonitorElement * meGunEta_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitEEToken_
EcalDigisValidation(const edm::ParameterSet &ps)
Constructor.
MonitorElement * meEEDigiSimRatio_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitEBToken_
MonitorElement * meGunPhi_
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > pAgc
edm::EDGetTokenT< ESDigiCollection > ESdigiCollectionToken_
MonitorElement * meEEDigiSimRatiogt20ADC_
edm::EDGetTokenT< edm::HepMCProduct > HepMCToken_
void checkCalibrations(edm::EventSetup const &c)
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
MonitorElement * meEBDigiSimRatiogt100ADC_
edm::EDGetTokenT< edm::SimTrackContainer > g4TkInfoToken_
Definition: Run.h:45