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 
30 
31 #include <iostream>
32 #include <fstream>
33 #include <vector>
34 #include <map>
36 
38  typedef std::map<uint32_t, float, std::less<uint32_t> > MapType;
39 
40 public:
43 
45  ~EcalEndcapDigisValidation() override;
46 
47  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
48  void bookHistograms(DQMStore::IBooker& i, edm::Run const&, edm::EventSetup const&) override;
49 
50 protected:
52  void analyze(edm::Event const& e, edm::EventSetup const& c) override;
53 
54  void checkCalibrations(edm::EventSetup const& c);
55 
56 private:
57  bool verbose_;
58 
60 
63 
64  std::map<int, double, std::less<int> > gainConv_;
65 
68 
71 
74 
76 
78 
83 
85 
87 
89 
91 
93 };
94 
95 #endif
EcalEndcapDigisValidation::endcapADCtoGeV_
double endcapADCtoGeV_
Definition: EcalEndcapDigisValidation.h:67
dqm::impl::MonitorElement
Definition: MonitorElement.h:99
mps_fire.i
i
Definition: mps_fire.py:428
EcalEndcapDigisValidation::meEEDigiMultiplicityzp_
MonitorElement * meEEDigiMultiplicityzp_
Definition: EcalEndcapDigisValidation.h:72
EcalEndcapDigisValidation::meEEDigiADCgS_
MonitorElement * meEEDigiADCgS_[10]
Definition: EcalEndcapDigisValidation.h:79
MessageLogger.h
EcalEndcapDigisValidation::pAgc
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > pAgc
Definition: EcalEndcapDigisValidation.h:62
ESHandle.h
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< EEDigiCollection >
EcalEndcapDigisValidation::outputFile_
std::string outputFile_
Definition: EcalEndcapDigisValidation.h:59
EcalEndcapDigisValidation::meEEDigiADCGlobal_
MonitorElement * meEEDigiADCGlobal_
Definition: EcalEndcapDigisValidation.h:75
EcalEndcapDigisValidation::meEEDigiADCg6_
MonitorElement * meEEDigiADCg6_[10]
Definition: EcalEndcapDigisValidation.h:81
EcalEndcapDigisValidation::verbose_
bool verbose_
Definition: EcalEndcapDigisValidation.h:57
DQMStore.h
EDAnalyzer.h
EcalEndcapDigisValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: EcalEndcapDigisValidation.cc:56
EcalEndcapDigisValidation::meEEPedestal_
MonitorElement * meEEPedestal_
Definition: EcalEndcapDigisValidation.h:86
EcalTrivialConditionRetriever.h
EcalEndcapDigisValidation::meEEDigiOccupancyzp_
MonitorElement * meEEDigiOccupancyzp_
Definition: EcalEndcapDigisValidation.h:69
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:260
Service.h
EcalDigiCollections.h
EcalEndcapDigisValidation.h
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
EcalEndcapDigisValidation::meEEDigiOccupancyzm_
MonitorElement * meEEDigiOccupancyzm_
Definition: EcalEndcapDigisValidation.h:70
EcalEndcapDigisValidation::dqmBeginRun
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: EcalEndcapDigisValidation.cc:109
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
EcalEndcapDigisValidation::gainConv_
std::map< int, double, std::less< int > > gainConv_
Definition: EcalEndcapDigisValidation.h:64
EcalEndcapDigisValidation::meEEnADCafterSwitch_
MonitorElement * meEEnADCafterSwitch_
Definition: EcalEndcapDigisValidation.h:92
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalEndcapDigisValidation::meEEMaximumgt100ADC_
MonitorElement * meEEMaximumgt100ADC_
Definition: EcalEndcapDigisValidation.h:88
EEDataFrame.h
EcalEndcapDigisValidation::meEEDigiADCg1_
MonitorElement * meEEDigiADCg1_[10]
Definition: EcalEndcapDigisValidation.h:80
EcalEndcapDigisValidation::barrelADCtoGeV_
double barrelADCtoGeV_
Definition: EcalEndcapDigisValidation.h:66
EcalEndcapDigisValidation::meEEMaximumgt20ADC_
MonitorElement * meEEMaximumgt20ADC_
Definition: EcalEndcapDigisValidation.h:90
Frameworkfwd.h
EcalEndcapDigisValidation::~EcalEndcapDigisValidation
~EcalEndcapDigisValidation() override
Destructor.
Definition: EcalEndcapDigisValidation.cc:54
EcalEndcapDigisValidation::meEEDigiADCg12_
MonitorElement * meEEDigiADCg12_[10]
Definition: EcalEndcapDigisValidation.h:82
EcalEndcapDigisValidation::EEdigiCollectionToken_
edm::EDGetTokenT< EEDigiCollection > EEdigiCollectionToken_
Definition: EcalEndcapDigisValidation.h:61
EcalEndcapDigisValidation
Definition: EcalEndcapDigisValidation.h:37
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
EcalEndcapDigisValidation::meEEDigiADCAnalog_
MonitorElement * meEEDigiADCAnalog_[10]
Definition: EcalEndcapDigisValidation.h:77
EcalEndcapDigisValidation::meEEDigiMultiplicityzm_
MonitorElement * meEEDigiMultiplicityzm_
Definition: EcalEndcapDigisValidation.h:73
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition: Event.h:73
EcalEndcapDigisValidation::MapType
std::map< uint32_t, float, std::less< uint32_t > > MapType
Definition: EcalEndcapDigisValidation.h:38
EcalEndcapDigisValidation::meEEDigiGain_
MonitorElement * meEEDigiGain_[10]
Definition: EcalEndcapDigisValidation.h:84
EcalEndcapDigisValidation::analyze
void analyze(edm::Event const &e, edm::EventSetup const &c) override
Analyze.
Definition: EcalEndcapDigisValidation.cc:111
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37