CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IsolatedParticlesGeneratedJets.h
Go to the documentation of this file.
1 #ifndef CalibrationIsolatedParticlesGeneratedJets_h
2 #define CalibrationIsolatedParticlesGeneratedJets_h
3 
4 // system include files
5 #include <memory>
6 
7 // user include files
10 
13 
15 
16 //TFile Service
19 
24 
25 // root objects
26 #include "TROOT.h"
27 #include "TSystem.h"
28 #include "TFile.h"
29 #include "TH1F.h"
30 #include "TH2F.h"
31 #include "TProfile.h"
32 #include "TDirectory.h"
33 #include "TTree.h"
34 
36 
37 public:
40 
41 private:
42  virtual void beginJob() ;
43  virtual void analyze(const edm::Event&, const edm::EventSetup&);
44  virtual void endJob() ;
45 
46  void BookHistograms();
47  void clearTreeVectors();
48 
49  bool debug;
51  TTree *tree;
52 
55 
56  std::vector<int> *t_gjetN;
57  std::vector<double> *t_gjetE, *t_gjetPt, *t_gjetEta, *t_gjetPhi;
58  std::vector< std::vector<double> > *t_jetTrkP;
59  std::vector< std::vector<double> > *t_jetTrkPt;
60  std::vector< std::vector<double> > *t_jetTrkEta;
61  std::vector< std::vector<double> > *t_jetTrkPhi;
62  std::vector< std::vector<double> > *t_jetTrkPdg;
63  std::vector< std::vector<double> > *t_jetTrkCharge;
64 
65 };
66 
67 #endif
std::vector< std::vector< double > > * t_jetTrkEta
edm::EDGetTokenT< reco::GenParticleCollection > tok_parts_
std::vector< std::vector< double > > * t_jetTrkPdg
std::vector< std::vector< double > > * t_jetTrkPhi
std::vector< std::vector< double > > * t_jetTrkPt
std::vector< std::vector< double > > * t_jetTrkCharge
edm::EDGetTokenT< reco::GenJetCollection > tok_jets_
std::vector< std::vector< double > > * t_jetTrkP
virtual void analyze(const edm::Event &, const edm::EventSetup &)
IsolatedParticlesGeneratedJets(const edm::ParameterSet &)