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