Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
20
class
PUDumper
:
public
edm::EDAnalyzer
21
{
22
public
:
23
25
explicit
PUDumper
(
const
edm::ParameterSet
&);
26
28
~PUDumper
();
29
30
31
32
private
:
33
35
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
36
37
38
39
private
:
40
41
edm::EDGetTokenT< std::vector<PileupSummaryInfo>
>
pileupSummaryToken_
;
42
43
//edm::InputTag MCPileupTag_;
44
45
TTree*
PUTree_
;
46
47
Int_t
runNumber
;
48
Long64_t
eventNumber
;
49
Int_t
lumiBlock
;
50
//UInt_t runTime; ///< unix time
51
52
Int_t
nBX
;
53
Int_t
BX_
[100];
54
Int_t
nPUtrue_
;
55
Int_t
nPUobs_
[100];
56
};
57
58
#endif
PUDumper::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
the actual analyze method
Definition:
PUDumper.cc:37
PUDumper::nBX
Int_t nBX
Definition:
PUDumper.h:52
Event.h
PUDumper::PUTree_
TTree * PUTree_
Definition:
PUDumper.h:45
MakerMacros.h
PUDumper::nPUtrue_
Int_t nPUtrue_
Definition:
PUDumper.h:54
PUDumper::nPUobs_
Int_t nPUobs_[100]
Definition:
PUDumper.h:55
PUDumper::pileupSummaryToken_
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryToken_
Definition:
PUDumper.h:41
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
PUDumper::PUDumper
PUDumper(const edm::ParameterSet &)
ctor
Definition:
PUDumper.cc:5
TFileService.h
ParameterSet.h
PUDumper
Definition:
PUDumper.h:20
PUDumper::lumiBlock
Int_t lumiBlock
lumi section
Definition:
PUDumper.h:49
PUDumper::~PUDumper
~PUDumper()
dtor
Definition:
PUDumper.cc:29
Service.h
edm::EventSetup
Definition:
EventSetup.h:45
PUDumper::eventNumber
Long64_t eventNumber
Definition:
PUDumper.h:48
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
PUDumper::BX_
Int_t BX_[100]
Definition:
PUDumper.h:53
PUDumper::runNumber
Int_t runNumber
Definition:
PUDumper.h:47
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:64
PileupSummaryInfo.h
Generated for CMSSW Reference Manual by
1.8.5