CMS 3D CMS Logo

EcalBarrelDigisValidation.h
Go to the documentation of this file.
1 #ifndef EcalBarrelDigisValidation_H
2 #define EcalBarrelDigisValidation_H
3 
4 /*
5  * \file EcalBarrelDigisValidation.h
6  *
7  * \author F. Cossutti
8  *
9 */
10 
13 
18 
21 
24 
27 
28 #include <iostream>
29 #include <fstream>
30 #include <vector>
31 #include <map>
33 
36 
38  typedef std::map<uint32_t, float, std::less<uint32_t> > MapType;
39 
40 public:
43 
45  ~EcalBarrelDigisValidation() override;
46 
47  void bookHistograms(DQMStore::IBooker& i, edm::Run const&, edm::EventSetup const&) override;
48 
49 protected:
51  void analyze(edm::Event const& e, edm::EventSetup const& c) override;
52  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
53  void checkCalibrations(edm::EventSetup const& c);
54 
55 private:
56  bool verbose_;
57 
59 
62  std::map<int, double, std::less<int> > gainConv_;
63 
66 
68 
70 
72 
74 
79 
81 
83 
85 
87 
89 };
90 
91 #endif
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
mps_fire.i
i
Definition: mps_fire.py:428
MessageLogger.h
EcalBarrelDigisValidation::meEBDigiADCg12_
MonitorElement * meEBDigiADCg12_[10]
Definition: EcalBarrelDigisValidation.h:78
ESHandle.h
EcalBarrelDigisValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: EcalBarrelDigisValidation.cc:57
EcalBarrelDigisValidation::MapType
std::map< uint32_t, float, std::less< uint32_t > > MapType
Definition: EcalBarrelDigisValidation.h:38
EcalBarrelDigisValidation::meEBMaximumgt10ADC_
MonitorElement * meEBMaximumgt10ADC_
Definition: EcalBarrelDigisValidation.h:86
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< EBDigiCollection >
EcalBarrelDigisValidation.h
EcalBarrelDigisValidation::meEBDigiMultiplicity_
MonitorElement * meEBDigiMultiplicity_
Definition: EcalBarrelDigisValidation.h:69
DQMStore.h
EDAnalyzer.h
EcalBarrelDigisValidation::dqmBeginRun
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: EcalBarrelDigisValidation.cc:104
EcalBarrelDigisValidation::meEBDigiADCg6_
MonitorElement * meEBDigiADCg6_[10]
Definition: EcalBarrelDigisValidation.h:77
EcalBarrelDigisValidation::checkCalibrations
void checkCalibrations(edm::EventSetup const &c)
Definition: EcalBarrelDigisValidation.cc:251
EcalBarrelDigisValidation::~EcalBarrelDigisValidation
~EcalBarrelDigisValidation() override
Destructor.
Definition: EcalBarrelDigisValidation.cc:55
EcalBarrelDigisValidation
Definition: EcalBarrelDigisValidation.h:37
EcalTrivialConditionRetriever.h
EcalBarrelDigisValidation::EBdigiCollection_
edm::EDGetTokenT< EBDigiCollection > EBdigiCollection_
Definition: EcalBarrelDigisValidation.h:60
MakerMacros.h
EcalBarrelDigisValidation::gainConv_
std::map< int, double, std::less< int > > gainConv_
Definition: EcalBarrelDigisValidation.h:62
EcalBarrelDigisValidation::meEBDigiADCAnalog_
MonitorElement * meEBDigiADCAnalog_[10]
Definition: EcalBarrelDigisValidation.h:73
Service.h
EcalBarrelDigisValidation::meEBDigiADCgS_
MonitorElement * meEBDigiADCgS_[10]
Definition: EcalBarrelDigisValidation.h:75
EcalBarrelDigisValidation::endcapADCtoGeV_
double endcapADCtoGeV_
Definition: EcalBarrelDigisValidation.h:65
EcalDigiCollections.h
EcalBarrelDigisValidation::EcalBarrelDigisValidation
EcalBarrelDigisValidation(const edm::ParameterSet &ps)
Constructor.
Definition: EcalBarrelDigisValidation.cc:16
EcalBarrelDigisValidation::meEBnADCafterSwitch_
MonitorElement * meEBnADCafterSwitch_
Definition: EcalBarrelDigisValidation.h:88
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:47
EcalBarrelDigisValidation::outputFile_
std::string outputFile_
Definition: EcalBarrelDigisValidation.h:58
Event.h
EcalBarrelDigisValidation::meEBDigiGain_
MonitorElement * meEBDigiGain_[10]
Definition: EcalBarrelDigisValidation.h:80
EcalBarrelDigisValidation::barrelADCtoGeV_
double barrelADCtoGeV_
Definition: EcalBarrelDigisValidation.h:64
EcalBarrelDigisValidation::verbose_
bool verbose_
Definition: EcalBarrelDigisValidation.h:56
EBDataFrame.h
edm::EventSetup
Definition: EventSetup.h:58
EcalBarrelDigisValidation::meEBDigiADCGlobal_
MonitorElement * meEBDigiADCGlobal_
Definition: EcalBarrelDigisValidation.h:71
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalBarrelDigisValidation::meEBPedestal_
MonitorElement * meEBPedestal_
Definition: EcalBarrelDigisValidation.h:82
Frameworkfwd.h
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
EcalBarrelDigisValidation::meEBDigiOccupancy_
MonitorElement * meEBDigiOccupancy_
Definition: EcalBarrelDigisValidation.h:67
ParameterSet.h
EcalBarrelDigisValidation::meEBMaximumgt100ADC_
MonitorElement * meEBMaximumgt100ADC_
Definition: EcalBarrelDigisValidation.h:84
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
EcalBarrelDigisValidation::meEBDigiADCg1_
MonitorElement * meEBDigiADCg1_[10]
Definition: EcalBarrelDigisValidation.h:76
EcalBarrelDigisValidation::analyze
void analyze(edm::Event const &e, edm::EventSetup const &c) override
Analyze.
Definition: EcalBarrelDigisValidation.cc:106
edm::Event
Definition: Event.h:73
EcalBarrelDigisValidation::pAgc
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > pAgc
Definition: EcalBarrelDigisValidation.h:61
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37