test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DiJetAnalyzer.h
Go to the documentation of this file.
1 #ifndef DiJetAnalyzer_h
2 #define DiJetAnalyzer_h
3 
4 
5 // system include files
6 #include <memory>
7 
8 // user include files
12 
16 
18 
21 
23 
24 // collections
29 
30 /*
31 #include "TFile.h"
32 #include "TTree.h"
33 */
34 
35 #include "TString.h"
36 #include "TFile.h"
37 #include "TTree.h"
38 #include "TObject.h"
39 #include "TObjArray.h"
40 #include "TClonesArray.h"
41 #include "TRefArray.h"
42 #include "TLorentzVector.h"
43 
45 
46 
47 //
48 // class decleration
49 //
50 namespace cms{
52  public:
53  explicit DiJetAnalyzer(const edm::ParameterSet&);
55 
56 
57  private:
58  virtual void beginJob() ;
59  virtual void analyze(const edm::Event&, const edm::EventSetup&);
60  virtual void endJob() ;
61 
62  // ----------member data ---------------------------
63 
64 
70 
71 
72 
73  // output file name with histograms
75 
76 
77  TFile* hOutputFile ;
78 
79  TTree* tree;
80 
81  UInt_t eventNumber;
82  UInt_t runNumber;
83  Int_t iEtaHit;
84  UInt_t iPhiHit;
85 
86  Float_t xTrkHcal;
87  Float_t yTrkHcal;
88  Float_t zTrkHcal;
89 
90  Float_t PxTrkHcal;
91  Float_t PyTrkHcal;
92  Float_t PzTrkHcal;
93 
94  TClonesArray* cells;
95 
96  Float_t emEnergy;
97  Float_t targetE;
98 
99  Float_t etVetoJet;
100  TLorentzVector* tagJetP4;
101  TLorentzVector* probeJetP4;
102  Float_t tagJetEmFrac;
103  Float_t probeJetEmFrac;
104 
105 
107 
109 
110 };
111 }
112 #endif
virtual void endJob()
HcalRespCorrs * oldRespCorrs
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
Definition: DiJetAnalyzer.h:67
TLorentzVector * tagJetP4
std::string fOutputFileName
Definition: DiJetAnalyzer.h:74
edm::EDGetTokenT< reco::CaloJetCollection > tok_jets_
Definition: DiJetAnalyzer.h:65
virtual void analyze(const edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< EcalRecHitCollection > tok_ec_
Definition: DiJetAnalyzer.h:66
virtual void beginJob()
DiJetAnalyzer(const edm::ParameterSet &)
TLorentzVector * probeJetP4
edm::EDGetTokenT< HORecHitCollection > tok_ho_
Definition: DiJetAnalyzer.h:68
TClonesArray * cells
Definition: DiJetAnalyzer.h:94
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
Definition: DiJetAnalyzer.h:69