00001
00002
00003 #ifndef STJDIJETLISTWRITER_H
00004 #define STJDIJETLISTWRITER_H
00005
00006 #include <TObject.h>
00007
00008 #include "StjDijetList.h"
00009
00010 #include <Rtypes.h>
00011
00012 class TDirectory;
00013 class TTree;
00014
00015 class StjDijetListWriter : public TObject {
00016
00017 public:
00018
00019 StjDijetListWriter(const char* treeName, TDirectory* file);
00020 virtual ~StjDijetListWriter() { }
00021
00022 void Fill(const StjDijetList& dijetList);
00023 void Finish();
00024
00025 private:
00026
00027 TDirectory* _file;
00028 TTree* _tree;
00029
00030 Int_t _runNumber;
00031 Int_t _eventId;
00032 Int_t _dijetId;
00033 Double_t _m;
00034 Double_t _eta;
00035 Double_t _costh;
00036 Double_t _deta;
00037 Double_t _dphi;
00038 Double_t _eth;
00039 Double_t _etl;
00040 Double_t _vertexZ;
00041 Double_t _pt3;
00042 Double_t _pt4;
00043 Double_t _eta3;
00044 Double_t _eta4;
00045 Double_t _phi3;
00046 Double_t _phi4;
00047 Double_t _m3;
00048 Double_t _m4;
00049 Int_t _jet3Id;
00050 Int_t _jet4Id;
00051 Int_t _jetSameSideId;
00052 Int_t _jetAwaySideId;
00053 double _neuRtSame;
00054 double _neuRtAway;
00055 double _neuRt3;
00056 double _neuRt4;
00057
00058 ClassDef(StjDijetListWriter, 1)
00059
00060 };
00061
00062 #endif // STJDIJETLISTWRITER_H