CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
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 
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
virtual void analyze(const edm::Event &, const edm::EventSetup &)
the actual analyze method
Definition: PUDumper.cc:37
Int_t nBX
Definition: PUDumper.h:52
TTree * PUTree_
Definition: PUDumper.h:45
Int_t nPUtrue_
Definition: PUDumper.h:54
Int_t nPUobs_[100]
Definition: PUDumper.h:55
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryToken_
Definition: PUDumper.h:41
PUDumper(const edm::ParameterSet &)
ctor
Definition: PUDumper.cc:5
Int_t lumiBlock
lumi section
Definition: PUDumper.h:49
~PUDumper()
dtor
Definition: PUDumper.cc:29
Long64_t eventNumber
Definition: PUDumper.h:48
Int_t BX_[100]
Definition: PUDumper.h:53
Int_t runNumber
Definition: PUDumper.h:47