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 
35  typedef std::map<uint32_t, float, std::less<uint32_t> > MapType;
36 
37 public:
40 
42  ~EcalBarrelDigisValidation() override;
43 
44  void bookHistograms(DQMStore::IBooker& i, edm::Run const&, edm::EventSetup const&) override;
45 
46 protected:
48  void analyze(edm::Event const& e, edm::EventSetup const& c) override;
49  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
50  void checkCalibrations(edm::EventSetup const& c);
51 
52 private:
53  bool verbose_;
54 
56 
58 
59  std::map<int, double, std::less<int> > gainConv_;
60 
63 
65 
67 
69 
71 
76 
78 
80 
82 
84 
86 };
87 
88 #endif
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
mps_fire.i
i
Definition: mps_fire.py:355
MessageLogger.h
EcalBarrelDigisValidation::meEBDigiADCg12_
MonitorElement * meEBDigiADCg12_[10]
Definition: EcalBarrelDigisValidation.h:75
ESHandle.h
EcalBarrelDigisValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: EcalBarrelDigisValidation.cc:56
EcalBarrelDigisValidation::MapType
std::map< uint32_t, float, std::less< uint32_t > > MapType
Definition: EcalBarrelDigisValidation.h:35
EcalBarrelDigisValidation::meEBMaximumgt10ADC_
MonitorElement * meEBMaximumgt10ADC_
Definition: EcalBarrelDigisValidation.h:83
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< EBDigiCollection >
EcalBarrelDigisValidation::meEBDigiMultiplicity_
MonitorElement * meEBDigiMultiplicity_
Definition: EcalBarrelDigisValidation.h:66
DQMStore.h
EDAnalyzer.h
EcalBarrelDigisValidation::dqmBeginRun
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: EcalBarrelDigisValidation.cc:103
EcalBarrelDigisValidation::meEBDigiADCg6_
MonitorElement * meEBDigiADCg6_[10]
Definition: EcalBarrelDigisValidation.h:74
EcalBarrelDigisValidation::checkCalibrations
void checkCalibrations(edm::EventSetup const &c)
Definition: EcalBarrelDigisValidation.cc:250
EcalBarrelDigisValidation::~EcalBarrelDigisValidation
~EcalBarrelDigisValidation() override
Destructor.
Definition: EcalBarrelDigisValidation.cc:54
EcalBarrelDigisValidation
Definition: EcalBarrelDigisValidation.h:34
EcalBarrelDigisValidation::EBdigiCollection_
edm::EDGetTokenT< EBDigiCollection > EBdigiCollection_
Definition: EcalBarrelDigisValidation.h:57
MakerMacros.h
EcalBarrelDigisValidation::gainConv_
std::map< int, double, std::less< int > > gainConv_
Definition: EcalBarrelDigisValidation.h:59
EcalBarrelDigisValidation::meEBDigiADCAnalog_
MonitorElement * meEBDigiADCAnalog_[10]
Definition: EcalBarrelDigisValidation.h:70
Service.h
EcalBarrelDigisValidation::meEBDigiADCgS_
MonitorElement * meEBDigiADCgS_[10]
Definition: EcalBarrelDigisValidation.h:72
EcalBarrelDigisValidation::endcapADCtoGeV_
double endcapADCtoGeV_
Definition: EcalBarrelDigisValidation.h:62
EcalDigiCollections.h
EcalBarrelDigisValidation::EcalBarrelDigisValidation
EcalBarrelDigisValidation(const edm::ParameterSet &ps)
Constructor.
Definition: EcalBarrelDigisValidation.cc:16
EcalBarrelDigisValidation::meEBnADCafterSwitch_
MonitorElement * meEBnADCafterSwitch_
Definition: EcalBarrelDigisValidation.h:85
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
edm::ParameterSet
Definition: ParameterSet.h:36
EcalBarrelDigisValidation::outputFile_
std::string outputFile_
Definition: EcalBarrelDigisValidation.h:55
Event.h
EcalBarrelDigisValidation::meEBDigiGain_
MonitorElement * meEBDigiGain_[10]
Definition: EcalBarrelDigisValidation.h:77
EcalBarrelDigisValidation::barrelADCtoGeV_
double barrelADCtoGeV_
Definition: EcalBarrelDigisValidation.h:61
EcalBarrelDigisValidation::verbose_
bool verbose_
Definition: EcalBarrelDigisValidation.h:53
EBDataFrame.h
edm::EventSetup
Definition: EventSetup.h:57
EcalBarrelDigisValidation::meEBDigiADCGlobal_
MonitorElement * meEBDigiADCGlobal_
Definition: EcalBarrelDigisValidation.h:68
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
EcalBarrelDigisValidation::meEBPedestal_
MonitorElement * meEBPedestal_
Definition: EcalBarrelDigisValidation.h:79
Frameworkfwd.h
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
EcalBarrelDigisValidation::meEBDigiOccupancy_
MonitorElement * meEBDigiOccupancy_
Definition: EcalBarrelDigisValidation.h:64
ParameterSet.h
EcalBarrelDigisValidation::meEBMaximumgt100ADC_
MonitorElement * meEBMaximumgt100ADC_
Definition: EcalBarrelDigisValidation.h:81
EcalBarrelDigisValidation::meEBDigiADCg1_
MonitorElement * meEBDigiADCg1_[10]
Definition: EcalBarrelDigisValidation.h:73
EcalBarrelDigisValidation::analyze
void analyze(edm::Event const &e, edm::EventSetup const &c) override
Analyze.
Definition: EcalBarrelDigisValidation.cc:105
edm::Event
Definition: Event.h:73
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37