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
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryToken_
Definition: PUDumper.h:32
Int_t nBX
Definition: PUDumper.h:43
TTree * PUTree_
Definition: PUDumper.h:36
Int_t nPUtrue_
Definition: PUDumper.h:45
Int_t nPUobs_[100]
Definition: PUDumper.h:46
PUDumper(const edm::ParameterSet &)
ctor
Definition: PUDumper.cc:4
Int_t lumiBlock
lumi section
Definition: PUDumper.h:40
Long64_t eventNumber
Definition: PUDumper.h:39
~PUDumper() override
dtor
Definition: PUDumper.cc:25
Int_t BX_[100]
Definition: PUDumper.h:44
Int_t runNumber
Definition: PUDumper.h:38
void analyze(const edm::Event &, const edm::EventSetup &) override
the actual analyze method
Definition: PUDumper.cc:30