Validation
EcalDigis
interface
EcalPreshowerDigisValidation.h
Go to the documentation of this file.
1
#ifndef EcalPreshowerDigisValidation_H
2
#define EcalPreshowerDigisValidation_H
3
4
/*
5
* \file EcalPreshowerDigisValidation.h
6
*
7
* \author F. Cossutti
8
*
9
*/
10
11
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
12
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
13
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/Framework/interface/EventSetup.h
"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
FWCore/Framework/interface/MakerMacros.h
"
18
19
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
20
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
21
22
#include "
DQMServices/Core/interface/DQMStore.h
"
23
#include "
FWCore/ServiceRegistry/interface/Service.h
"
24
25
#include "
DataFormats/EcalDigi/interface/ESDataFrame.h
"
26
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
27
28
#include <iostream>
29
#include <fstream>
30
#include <vector>
31
#include <map>
32
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
33
34
class
EcalPreshowerDigisValidation
:
public
DQMEDAnalyzer
{
35
typedef
std::map<uint32_t, float, std::less<uint32_t> >
MapType
;
36
37
public
:
39
EcalPreshowerDigisValidation
(
const
edm::ParameterSet
& ps);
40
41
void
bookHistograms
(
DQMStore::IBooker
&
i
,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
42
43
protected
:
45
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
46
47
private
:
48
bool
verbose_
;
49
50
std::string
outputFile_
;
51
52
edm::EDGetTokenT<ESDigiCollection>
ESdigiCollectionToken_
;
53
54
MonitorElement
*
meESDigiMultiplicity_
;
55
56
MonitorElement
*
meESDigiADC_
[3];
57
};
58
59
#endif
dqm::impl::MonitorElement
Definition:
MonitorElement.h:98
mps_fire.i
i
Definition:
mps_fire.py:428
MessageLogger.h
EcalPreshowerDigisValidation::MapType
std::map< uint32_t, float, std::less< uint32_t > > MapType
Definition:
EcalPreshowerDigisValidation.h:35
ESHandle.h
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< ESDigiCollection >
EcalPreshowerDigisValidation::outputFile_
std::string outputFile_
Definition:
EcalPreshowerDigisValidation.h:50
DQMStore.h
EDAnalyzer.h
EcalPreshowerDigisValidation
Definition:
EcalPreshowerDigisValidation.h:34
ESDataFrame.h
EcalPreshowerDigisValidation::meESDigiADC_
MonitorElement * meESDigiADC_[3]
Definition:
EcalPreshowerDigisValidation.h:56
EcalPreshowerDigisValidation::EcalPreshowerDigisValidation
EcalPreshowerDigisValidation(const edm::ParameterSet &ps)
Constructor.
Definition:
EcalPreshowerDigisValidation.cc:10
MakerMacros.h
EcalPreshowerDigisValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition:
EcalPreshowerDigisValidation.cc:22
Service.h
EcalPreshowerDigisValidation::ESdigiCollectionToken_
edm::EDGetTokenT< ESDigiCollection > ESdigiCollectionToken_
Definition:
EcalPreshowerDigisValidation.h:52
EcalDigiCollections.h
EcalPreshowerDigisValidation::meESDigiMultiplicity_
MonitorElement * meESDigiMultiplicity_
Definition:
EcalPreshowerDigisValidation.h:54
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
EcalPreshowerDigisValidation::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
Definition:
EcalPreshowerDigisValidation.cc:36
EcalPreshowerDigisValidation::verbose_
bool verbose_
Definition:
EcalPreshowerDigisValidation.h:48
Frameworkfwd.h
EventSetup.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ParameterSet.h
edm::Event
Definition:
Event.h:73
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16