00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef ntupleTrack_hh
00014 #define ntupleTrack_hh
00015
00016 #include "StHbtMaker/Infrastructure/StHbtTFile.hh"
00017 #include "StHbtMaker/Base/StHbtTrackCut.h"
00018 #ifdef __ROOT__
00019
00020 class ntupleTrack : public StHbtTrackCut
00021 {
00022
00023 struct mTrack_t
00024 {
00025 int charge;
00026 int nhits;
00027 float dca;
00028 float pt;
00029 float p;
00030 float px;
00031 float py;
00032 float pz;
00033 float prapidity;
00034 };
00035
00036 private:
00037
00038 StHbtTree* mTree ;
00039
00040 mTrack_t mtrack ;
00041
00042 public:
00043 ntupleTrack();
00044 ~ntupleTrack();
00045
00046
00047 bool Pass(const StHbtTrack*);
00048
00049
00050 StHbtString Report();
00051
00052
00053 StHbtTree* GetNtupleTrack() { return mTree; } ;
00054
00055 ClassDef(ntupleTrack, 0)
00056 };
00057
00058
00059 #endif // ifdeff ROOT
00060 #endif // ifdeff ntupleTrack_hh