Calibration
EcalAlCaRecoProducers
plugins
PUDumper.h
Go to the documentation of this file.
1
#ifndef PUDumper_h
2
#define PUDumper_h
3
4
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
5
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
6
7
#include "
FWCore/Framework/interface/Event.h
"
8
#include "
FWCore/Framework/interface/MakerMacros.h
"
9
#include "
FWCore/Utilities/interface/InputTag.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
12
#include "
FWCore/ServiceRegistry/interface/Service.h
"
13
#include "
CommonTools/UtilAlgos/interface/TFileService.h
"
14
15
#include "
SimDataFormats/PileupSummaryInfo/interface/PileupSummaryInfo.h
"
16
17
#include "TTree.h"
18
19
class
PUDumper
:
public
edm::one::EDAnalyzer
<> {
20
public
:
22
explicit
PUDumper
(
const
edm::ParameterSet
&);
23
25
~PUDumper
()
override
;
26
27
private
:
29
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
30
31
private
:
32
edm::EDGetTokenT<std::vector<PileupSummaryInfo>
>
pileupSummaryToken_
;
33
34
TTree*
PUTree_
;
35
36
Int_t
runNumber
;
37
Long64_t
eventNumber
;
38
Int_t
lumiBlock
;
39
40
Int_t
nBX
;
41
Int_t
BX_
[100];
42
Int_t
nPUtrue_
;
43
Int_t
nPUobs_
[100];
44
};
45
46
#endif
PUDumper::pileupSummaryToken_
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryToken_
Definition:
PUDumper.h:32
PUDumper::nBX
Int_t nBX
Definition:
PUDumper.h:40
Event.h
PUDumper::PUTree_
TTree * PUTree_
Definition:
PUDumper.h:34
PUDumper::nPUtrue_
Int_t nPUtrue_
Definition:
PUDumper.h:42
PUDumper::nPUobs_
Int_t nPUobs_[100]
Definition:
PUDumper.h:43
edm::EDGetTokenT
Definition:
EDGetToken.h:37
Frameworkfwd.h
PUDumper::PUDumper
PUDumper(const edm::ParameterSet &)
ctor
Definition:
PUDumper.cc:4
TFileService.h
ParameterSet.h
PUDumper
Definition:
PUDumper.h:19
PUDumper::lumiBlock
Int_t lumiBlock
lumi section
Definition:
PUDumper.h:38
Service.h
edm::EventSetup
Definition:
EventSetup.h:56
PUDumper::eventNumber
Long64_t eventNumber
Definition:
PUDumper.h:37
PUDumper::~PUDumper
~PUDumper() override
dtor
Definition:
PUDumper.cc:24
PUDumper::BX_
Int_t BX_[100]
Definition:
PUDumper.h:41
PUDumper::runNumber
Int_t runNumber
Definition:
PUDumper.h:36
EDAnalyzer.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
PUDumper::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
the actual analyze method
Definition:
PUDumper.cc:29
MakerMacros.h
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
PileupSummaryInfo.h
Generated for CMSSW Reference Manual by
1.8.14