CMS 3D CMS Logo

EcalEndcapDigisValidation.h
Go to the documentation of this file.
1 #ifndef EcalEndcapDigisValidation_H
2 #define EcalEndcapDigisValidation_H
3 
4 /*
5  * \file EcalEndcapDigisValidation.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  ~EcalEndcapDigisValidation() override;
43 
44  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
45  void bookHistograms(DQMStore::IBooker& i, edm::Run const&, edm::EventSetup const&) override;
46 
47 protected:
49  void analyze(edm::Event const& e, edm::EventSetup const& c) override;
50 
51  void checkCalibrations(edm::EventSetup const& c);
52 
53 private:
54  bool verbose_;
55 
57 
59 
60  std::map<int, double, std::less<int> > gainConv_;
61 
64 
67 
70 
72 
74 
79 
81 
83 
85 
87 
89 };
90 
91 #endif
EcalEndcapDigisValidation::endcapADCtoGeV_
double endcapADCtoGeV_
Definition: EcalEndcapDigisValidation.h:63
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
mps_fire.i
i
Definition: mps_fire.py:428
EcalEndcapDigisValidation::meEEDigiMultiplicityzp_
MonitorElement * meEEDigiMultiplicityzp_
Definition: EcalEndcapDigisValidation.h:68
EcalEndcapDigisValidation::meEEDigiADCgS_
MonitorElement * meEEDigiADCgS_[10]
Definition: EcalEndcapDigisValidation.h:75
MessageLogger.h
ESHandle.h
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< EEDigiCollection >
EcalEndcapDigisValidation::outputFile_
std::string outputFile_
Definition: EcalEndcapDigisValidation.h:56
EcalEndcapDigisValidation::meEEDigiADCGlobal_
MonitorElement * meEEDigiADCGlobal_
Definition: EcalEndcapDigisValidation.h:71
EcalEndcapDigisValidation::meEEDigiADCg6_
MonitorElement * meEEDigiADCg6_[10]
Definition: EcalEndcapDigisValidation.h:77
EcalEndcapDigisValidation::verbose_
bool verbose_
Definition: EcalEndcapDigisValidation.h:54
DQMStore.h
EDAnalyzer.h
EcalEndcapDigisValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: EcalEndcapDigisValidation.cc:55
EcalEndcapDigisValidation::meEEPedestal_
MonitorElement * meEEPedestal_
Definition: EcalEndcapDigisValidation.h:82
EcalEndcapDigisValidation::meEEDigiOccupancyzp_
MonitorElement * meEEDigiOccupancyzp_
Definition: EcalEndcapDigisValidation.h:65
MakerMacros.h
EcalEndcapDigisValidation::EcalEndcapDigisValidation
EcalEndcapDigisValidation(const edm::ParameterSet &ps)
Constructor.
Definition: EcalEndcapDigisValidation.cc:15
EcalEndcapDigisValidation::checkCalibrations
void checkCalibrations(edm::EventSetup const &c)
Definition: EcalEndcapDigisValidation.cc:259
Service.h
EcalDigiCollections.h
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
EcalEndcapDigisValidation::meEEDigiOccupancyzm_
MonitorElement * meEEDigiOccupancyzm_
Definition: EcalEndcapDigisValidation.h:66
EcalEndcapDigisValidation::dqmBeginRun
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: EcalEndcapDigisValidation.cc:108
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
EcalEndcapDigisValidation::gainConv_
std::map< int, double, std::less< int > > gainConv_
Definition: EcalEndcapDigisValidation.h:60
EcalEndcapDigisValidation::meEEnADCafterSwitch_
MonitorElement * meEEnADCafterSwitch_
Definition: EcalEndcapDigisValidation.h:88
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
EcalEndcapDigisValidation::meEEMaximumgt100ADC_
MonitorElement * meEEMaximumgt100ADC_
Definition: EcalEndcapDigisValidation.h:84
EEDataFrame.h
EcalEndcapDigisValidation::meEEDigiADCg1_
MonitorElement * meEEDigiADCg1_[10]
Definition: EcalEndcapDigisValidation.h:76
EcalEndcapDigisValidation::barrelADCtoGeV_
double barrelADCtoGeV_
Definition: EcalEndcapDigisValidation.h:62
EcalEndcapDigisValidation::meEEMaximumgt20ADC_
MonitorElement * meEEMaximumgt20ADC_
Definition: EcalEndcapDigisValidation.h:86
Frameworkfwd.h
EcalEndcapDigisValidation::~EcalEndcapDigisValidation
~EcalEndcapDigisValidation() override
Destructor.
Definition: EcalEndcapDigisValidation.cc:53
EcalEndcapDigisValidation::meEEDigiADCg12_
MonitorElement * meEEDigiADCg12_[10]
Definition: EcalEndcapDigisValidation.h:78
EcalEndcapDigisValidation::EEdigiCollectionToken_
edm::EDGetTokenT< EEDigiCollection > EEdigiCollectionToken_
Definition: EcalEndcapDigisValidation.h:58
EcalEndcapDigisValidation
Definition: EcalEndcapDigisValidation.h:34
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
EcalEndcapDigisValidation::meEEDigiADCAnalog_
MonitorElement * meEEDigiADCAnalog_[10]
Definition: EcalEndcapDigisValidation.h:73
EcalEndcapDigisValidation::meEEDigiMultiplicityzm_
MonitorElement * meEEDigiMultiplicityzm_
Definition: EcalEndcapDigisValidation.h:69
ParameterSet.h
edm::Event
Definition: Event.h:73
EcalEndcapDigisValidation::MapType
std::map< uint32_t, float, std::less< uint32_t > > MapType
Definition: EcalEndcapDigisValidation.h:35
EcalEndcapDigisValidation::meEEDigiGain_
MonitorElement * meEEDigiGain_[10]
Definition: EcalEndcapDigisValidation.h:80
EcalEndcapDigisValidation::analyze
void analyze(edm::Event const &e, edm::EventSetup const &c) override
Analyze.
Definition: EcalEndcapDigisValidation.cc:110
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37