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/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::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
//edm::InputTag MCPileupTag_;
35
36
TTree*
PUTree_
;
37
38
Int_t
runNumber
;
39
Long64_t
eventNumber
;
40
Int_t
lumiBlock
;
41
//UInt_t runTime; ///< unix time
42
43
Int_t
nBX
;
44
Int_t
BX_
[100];
45
Int_t
nPUtrue_
;
46
Int_t
nPUobs_
[100];
47
};
48
49
#endif
PileupSummaryInfo.h
PUDumper::nPUtrue_
Int_t nPUtrue_
Definition:
PUDumper.h:45
edm::EDGetTokenT
Definition:
EDGetToken.h:33
PUDumper::~PUDumper
~PUDumper() override
dtor
Definition:
PUDumper.cc:25
PUDumper::nPUobs_
Int_t nPUobs_[100]
Definition:
PUDumper.h:46
EDAnalyzer.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
MakerMacros.h
Service.h
PUDumper::PUTree_
TTree * PUTree_
Definition:
PUDumper.h:36
TFileService.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
PUDumper::pileupSummaryToken_
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryToken_
Definition:
PUDumper.h:32
edm::EventSetup
Definition:
EventSetup.h:57
InputTag.h
PUDumper::BX_
Int_t BX_[100]
Definition:
PUDumper.h:44
PUDumper::PUDumper
PUDumper(const edm::ParameterSet &)
ctor
Definition:
PUDumper.cc:4
Frameworkfwd.h
PUDumper::eventNumber
Long64_t eventNumber
Definition:
PUDumper.h:39
PUDumper
Definition:
PUDumper.h:19
PUDumper::lumiBlock
Int_t lumiBlock
lumi section
Definition:
PUDumper.h:40
PUDumper::runNumber
Int_t runNumber
Definition:
PUDumper.h:38
ParameterSet.h
edm::Event
Definition:
Event.h:73
PUDumper::nBX
Int_t nBX
Definition:
PUDumper.h:43
PUDumper::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
the actual analyze method
Definition:
PUDumper.cc:30
Generated for CMSSW Reference Manual by
1.8.16