CMS 3D CMS Logo

PUDumper.h
Go to the documentation of this file.
1 #ifndef PUDumper_h
2 #define PUDumper_h
3 
6 
11 
14 
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:
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