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 /*
25 #include "TFile.h"
26 #include "TTree.h"
27 */
28 
29 #include "TString.h"
30 #include "TFile.h"
31 #include "TTree.h"
32 #include "TObject.h"
33 #include "TObjArray.h"
34 #include "TClonesArray.h"
35 #include "TRefArray.h"
36 #include "TLorentzVector.h"
37 
39 
40 
41 //
42 // class decleration
43 //
44 namespace cms{
46  public:
47  explicit DiJetAnalyzer(const edm::ParameterSet&);
49 
50 
51  private:
52  virtual void beginJob() ;
53  virtual void analyze(const edm::Event&, const edm::EventSetup&);
54  virtual void endJob() ;
55 
56  // ----------member data ---------------------------
57 
58 
64 
65 
66 
67  // output file name with histograms
68  std::string fOutputFileName ;
69 
70 
71  TFile* hOutputFile ;
72 
73  TTree* tree;
74 
77  Int_t iEtaHit;
79 
80  Float_t xTrkHcal;
81  Float_t yTrkHcal;
82  Float_t zTrkHcal;
83 
84  Float_t PxTrkHcal;
85  Float_t PyTrkHcal;
86  Float_t PzTrkHcal;
87 
88  TClonesArray* cells;
89 
90  Float_t emEnergy;
91  Float_t targetE;
92 
93  Float_t etVetoJet;
94  TLorentzVector* tagJetP4;
95  TLorentzVector* probeJetP4;
96  Float_t tagJetEmFrac;
97  Float_t probeJetEmFrac;
98 
99 
101 
103 
104 };
105 }
106 #endif
virtual void endJob()
HcalRespCorrs * oldRespCorrs
TLorentzVector * tagJetP4
Definition: DiJetAnalyzer.h:94
std::string fOutputFileName
Definition: DiJetAnalyzer.h:68
virtual void analyze(const edm::Event &, const edm::EventSetup &)
edm::InputTag hbhe_
Definition: DiJetAnalyzer.h:61
edm::InputTag ho_
Definition: DiJetAnalyzer.h:62
virtual void beginJob()
DiJetAnalyzer(const edm::ParameterSet &)
TLorentzVector * probeJetP4
Definition: DiJetAnalyzer.h:95
edm::InputTag ec_
Definition: DiJetAnalyzer.h:60
unsigned int UInt_t
Definition: FUTypes.h:12
TClonesArray * cells
Definition: DiJetAnalyzer.h:88
edm::InputTag hf_
Definition: DiJetAnalyzer.h:63
edm::InputTag jets_
Definition: DiJetAnalyzer.h:59