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 
42 
43 #include <iostream>
44 #include <fstream>
45 #include <vector>
46 #include <map>
48 
50  typedef std::map<uint32_t, float, std::less<uint32_t> > MapType;
51 
52 public:
55 
57  ~EcalDigisValidation() override;
58 
59  void bookHistograms(DQMStore::IBooker& i, edm::Run const&, edm::EventSetup const&) override;
60 
61 protected:
63  void analyze(edm::Event const& e, edm::EventSetup const& c) override;
64  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
65 
66 private:
67  void checkCalibrations(edm::EventSetup const& c);
68 
69  bool verbose_;
70 
72 
76 
81 
84 
85  std::map<int, double, std::less<int> > gainConv_;
86 
89 
93 
96 
99 
102 };
103 
104 #endif
EcalDigisValidation::g4TkInfoToken_
edm::EDGetTokenT< edm::SimTrackContainer > g4TkInfoToken_
Definition: EcalDigisValidation.h:74
EcalDigisValidation::EEdigiCollectionToken_
edm::EDGetTokenT< EEDigiCollection > EEdigiCollectionToken_
Definition: EcalDigisValidation.h:78
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
EcalDigisValidation::meEBDigiSimRatio_
MonitorElement * meEBDigiSimRatio_
Definition: EcalDigisValidation.h:94
mps_fire.i
i
Definition: mps_fire.py:428
MessageLogger.h
EcalDigisValidation::ESdigiCollectionToken_
edm::EDGetTokenT< ESDigiCollection > ESdigiCollectionToken_
Definition: EcalDigisValidation.h:79
EcalDigisValidation::meGunEta_
MonitorElement * meGunEta_
Definition: EcalDigisValidation.h:91
EcalDigisValidation::dqmBeginRun
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: EcalDigisValidation.cc:63
EcalDigisValidation::crossingFramePCaloHitEBToken_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitEBToken_
Definition: EcalDigisValidation.h:82
ESHandle.h
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< edm::HepMCProduct >
EcalDigisValidation::meEEDigiSimRatio_
MonitorElement * meEEDigiSimRatio_
Definition: EcalDigisValidation.h:95
CrossingFrame.h
DQMStore.h
EcalDigisValidation::meEEDigiSimRatiogt20ADC_
MonitorElement * meEEDigiSimRatiogt20ADC_
Definition: EcalDigisValidation.h:98
EDAnalyzer.h
EcalDigisValidation::verbose_
bool verbose_
Definition: EcalDigisValidation.h:69
EcalTrivialConditionRetriever.h
ESDataFrame.h
MakerMacros.h
EcalDigisValidation::meGunPhi_
MonitorElement * meGunPhi_
Definition: EcalDigisValidation.h:92
MixCollection.h
EcalDigisValidation::meEBDigiSimRatiogt100ADC_
MonitorElement * meEBDigiSimRatiogt100ADC_
Definition: EcalDigisValidation.h:100
Service.h
EcalDigisValidation::outputFile_
std::string outputFile_
Definition: EcalDigisValidation.h:71
SimVertex.h
EcalDigisValidation::analyze
void analyze(edm::Event const &e, edm::EventSetup const &c) override
Analyze.
Definition: EcalDigisValidation.cc:98
EcalDigiCollections.h
EcalDigisValidation::gainConv_
std::map< int, double, std::less< int > > gainConv_
Definition: EcalDigisValidation.h:85
EcalDigisValidation::meEBDigiSimRatiogt10ADC_
MonitorElement * meEBDigiSimRatiogt10ADC_
Definition: EcalDigisValidation.h:97
DQMEDAnalyzer.h
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:73
EcalDigisValidation::meGunEnergy_
MonitorElement * meGunEnergy_
Definition: EcalDigisValidation.h:90
Event.h
PCaloHit.h
EcalDigisValidation::crossingFramePCaloHitESToken_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitESToken_
Definition: EcalDigisValidation.h:82
EcalDigisValidation::EBdigiCollectionToken_
edm::EDGetTokenT< EBDigiCollection > EBdigiCollectionToken_
Definition: EcalDigisValidation.h:77
EBDataFrame.h
edm::EventSetup
Definition: EventSetup.h:58
EcalDigisValidation::endcapADCtoGeV_
double endcapADCtoGeV_
Definition: EcalDigisValidation.h:88
EcalDigisValidation
Definition: EcalDigisValidation.h:49
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalDigisValidation::~EcalDigisValidation
~EcalDigisValidation() override
Destructor.
Definition: EcalDigisValidation.cc:61
EEDataFrame.h
EcalDigisValidation::g4VtxInfoToken_
edm::EDGetTokenT< edm::SimVertexContainer > g4VtxInfoToken_
Definition: EcalDigisValidation.h:75
EcalDigisValidation::crossingFramePCaloHitEEToken_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitEEToken_
Definition: EcalDigisValidation.h:82
Frameworkfwd.h
EcalDigisValidation::pAgc
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > pAgc
Definition: EcalDigisValidation.h:80
EcalDigisValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: EcalDigisValidation.cc:65
EventSetup.h
EcalDigisValidation.h
PCaloHitContainer.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
EcalDigisValidation::checkCalibrations
void checkCalibrations(edm::EventSetup const &c)
Definition: EcalDigisValidation.cc:384
SimTrack.h
ParameterSet.h
HepMCProduct.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition: Event.h:73
EcalDigisValidation::MapType
std::map< uint32_t, float, std::less< uint32_t > > MapType
Definition: EcalDigisValidation.h:50
SimTrackContainer.h
SimVertexContainer.h
EcalDigisValidation::barrelADCtoGeV_
double barrelADCtoGeV_
Definition: EcalDigisValidation.h:87
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
EncodedEventId.h
EcalDigisValidation::meEEDigiSimRatiogt100ADC_
MonitorElement * meEEDigiSimRatiogt100ADC_
Definition: EcalDigisValidation.h:101