00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef ntupleEvent_hh
00013 #define ntupleEvent_hh
00014
00015 #ifdef __ROOT__
00016 #include "StHbtMaker/Infrastructure/StHbtTFile.hh"
00017 #include "StHbtMaker/Base/StHbtEventCut.h"
00018
00019 class ntupleEvent : public StHbtEventCut {
00020
00021 struct mEvent_t
00022 {
00023 int ctbMult;
00024 int numOfTpcHits;
00025 int numOfTracks;
00026 int numOfGoodTracks;
00027 float vertexZ;
00028 float vertexX;
00029 float vertexY;
00030 };
00031
00032 public:
00033 ntupleEvent() ;
00034 ~ntupleEvent() ;
00035
00036
00037 StHbtString Report() ;
00038
00039
00040 bool Pass(const StHbtEvent*);
00041
00042
00043 StHbtTree* getNtupleEvent() { return mTree; } ;
00044
00045 private:
00046
00047 StHbtTree* mTree ;
00048
00049 mEvent_t mEvent ;
00050
00051 ClassDef(ntupleEvent, 0)
00052 } ;
00053
00054 #endif //_ROOT_
00055 #endif // ntupleEvent_hh