00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef StMcCtbHit_hh
00027 #define StMcCtbHit_hh
00028
00029 #include "StMcHit.hh"
00030 #include "tables/St_g2t_ctf_hit_Table.h"
00031
00032 class StMcCtbHit : public StMcHit {
00033 public:
00034 StMcCtbHit(){}
00035 StMcCtbHit(const StThreeVectorF& x,const StThreeVectorF& p,
00036 Float_t de, Float_t ds, Float_t tof, Long_t k, Long_t volId, StMcTrack* parent=0) :
00037 StMcHit(x,p,de,ds,tof,k,volId,parent) {}
00038 StMcCtbHit(g2t_ctf_hit_st* pt) : StMcHit(StThreeVectorF(pt->x[0], pt->x[1], pt->x[2]),
00039 StThreeVectorF(pt->p[0], pt->p[1], pt->p[2]),
00040 pt->de, pt->ds, pt->tof, pt->id, pt->volume_id, 0) {}
00041 virtual ~StMcCtbHit() {}
00042 void get_slat_tray(unsigned int & slat, unsigned int & tray) const;
00043 private:
00044 ClassDef(StMcCtbHit,2)
00045 };
00046
00047 ostream& operator<<(ostream& os, const StMcCtbHit&);
00048
00049 #endif