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 xTrkEcal;
81  Float_t yTrkEcal;
82  Float_t zTrkEcal;
83  Float_t xTrkHcal;
84  Float_t yTrkHcal;
85  Float_t zTrkHcal;
86 
87  TClonesArray* cells;
88 
89  Float_t emEnergy;
90  Float_t targetE;
91 
92  Float_t etVetoJet;
93  TLorentzVector* tagJetP4;
94  TLorentzVector* probeJetP4;
95  Float_t tagJetEmFrac;
96  Float_t probeJetEmFrac;
97 
98 
100 
102 
103 };
104 }
105 #endif
virtual void endJob()
HcalRespCorrs * oldRespCorrs
TLorentzVector * tagJetP4
Definition: DiJetAnalyzer.h:93
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:94
edm::InputTag ec_
Definition: DiJetAnalyzer.h:60
unsigned int UInt_t
Definition: FUTypes.h:12
TClonesArray * cells
Definition: DiJetAnalyzer.h:87
edm::InputTag hf_
Definition: DiJetAnalyzer.h:63
edm::InputTag jets_
Definition: DiJetAnalyzer.h:59