StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjDijetListWriter.h
1 // -*- mode: c++;-*-
2 // $Id: StjDijetListWriter.h,v 1.4 2009/03/27 19:14:34 tai Exp $
3 #ifndef STJDIJETLISTWRITER_H
4 #define STJDIJETLISTWRITER_H
5 
6 #include <TObject.h>
7 
8 #include "StjDijetList.h"
9 
10 #include <Rtypes.h>
11 
12 class TDirectory;
13 class TTree;
14 
15 class StjDijetListWriter : public TObject {
16 
17 public:
18 
19  StjDijetListWriter(const char* treeName, TDirectory* file);
20  virtual ~StjDijetListWriter() { }
21 
22  void Fill(const StjDijetList& dijetList);
23  void Finish();
24 
25 private:
26 
27  TDirectory* _file;
28  TTree* _tree;
29 
30  Int_t _runNumber;
31  Int_t _eventId;
32  Int_t _dijetId;
33  Double_t _m;
34  Double_t _eta;
35  Double_t _costh;
36  Double_t _deta;
37  Double_t _dphi;
38  Double_t _eth;
39  Double_t _etl;
40  Double_t _vertexZ;
41  Double_t _pt3;
42  Double_t _pt4;
43  Double_t _eta3;
44  Double_t _eta4;
45  Double_t _phi3;
46  Double_t _phi4;
47  Double_t _m3;
48  Double_t _m4;
49  Int_t _jet3Id;
50  Int_t _jet4Id;
51  Int_t _jetSameSideId;
52  Int_t _jetAwaySideId;
53  double _neuRtSame;
54  double _neuRtAway;
55  double _neuRt3;
56  double _neuRt4;
57 
58  ClassDef(StjDijetListWriter, 1)
59 
60 };
61 
62 #endif // STJDIJETLISTWRITER_H