src
Validation
EcalDigis
plugins
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
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
FWCore/Framework/interface/EventSetup.h
"
15
#include "
FWCore/Framework/interface/ESHandle.h
"
16
#include "
FWCore/Framework/interface/MakerMacros.h
"
17
18
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
19
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
20
21
#include "
DQMServices/Core/interface/DQMStore.h
"
22
#include "
FWCore/ServiceRegistry/interface/Service.h
"
23
24
#include "
DataFormats/EcalDigi/interface/ESDataFrame.h
"
25
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
26
27
#include <iostream>
28
#include <fstream>
29
#include <vector>
30
#include <map>
31
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
32
33
class
EcalPreshowerDigisValidation
:
public
DQMEDAnalyzer
{
34
typedef
std::map<uint32_t, float, std::less<uint32_t> >
MapType
;
35
36
public
:
38
EcalPreshowerDigisValidation
(
const
edm::ParameterSet
& ps);
39
40
void
bookHistograms
(
DQMStore::IBooker
&
i
,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
41
42
protected
:
44
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
45
46
private
:
47
bool
verbose_
;
48
49
std::string
outputFile_
;
50
51
edm::EDGetTokenT<ESDigiCollection>
ESdigiCollectionToken_
;
52
53
MonitorElement
*
meESDigiMultiplicity_
;
54
55
MonitorElement
*
meESDigiADC_
[3];
56
};
57
58
#endif
EcalPreshowerDigisValidation::meESDigiADC_
MonitorElement * meESDigiADC_[3]
Definition:
EcalPreshowerDigisValidation.h:55
mps_fire.i
i
Definition:
mps_fire.py:429
EcalPreshowerDigisValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition:
EcalPreshowerDigisValidation.cc:22
MessageLogger.h
EcalPreshowerDigisValidation
Definition:
EcalPreshowerDigisValidation.h:33
Event.h
EventSetup.h
EcalPreshowerDigisValidation::meESDigiMultiplicity_
MonitorElement * meESDigiMultiplicity_
Definition:
EcalPreshowerDigisValidation.h:53
EcalPreshowerDigisValidation::MapType
std::map< uint32_t, float, std::less< uint32_t > > MapType
Definition:
EcalPreshowerDigisValidation.h:34
ESDataFrame.h
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
edm::EDGetTokenT< ESDigiCollection >
Frameworkfwd.h
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:35
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
DQMEDAnalyzer.h
DQMStore.h
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
ESHandle.h
dqm::impl::MonitorElement
Definition:
MonitorElement.h:101
EcalPreshowerDigisValidation::outputFile_
std::string outputFile_
Definition:
EcalPreshowerDigisValidation.h:49
Service.h
EcalDigiCollections.h
edm::EventSetup
Definition:
EventSetup.h:56
EcalPreshowerDigisValidation::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
Definition:
EcalPreshowerDigisValidation.cc:36
EcalPreshowerDigisValidation::ESdigiCollectionToken_
edm::EDGetTokenT< ESDigiCollection > ESdigiCollectionToken_
Definition:
EcalPreshowerDigisValidation.h:51
EcalPreshowerDigisValidation::EcalPreshowerDigisValidation
EcalPreshowerDigisValidation(const edm::ParameterSet &ps)
Constructor.
Definition:
EcalPreshowerDigisValidation.cc:10
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
EcalPreshowerDigisValidation::verbose_
bool verbose_
Definition:
EcalPreshowerDigisValidation.h:47
MakerMacros.h
edm::Run
Definition:
Run.h:45
Generated for CMSSW Reference Manual by
1.8.14