1 #ifndef STAR_StG2TTpcChair
2 #define STAR_StG2TTpcChair
11 #include "StHitChair.h"
12 #include "tables/St_g2t_tpc_hit_Table.h"
13 #include "StDetectorDefinitions.h"
22 virtual Int_t Sector(Int_t i)
const {
return (fTab_g2t[i].volume_id/100)%100;}
23 virtual Int_t
PadRow(Int_t i)
const {
return fTab_g2t[i].volume_id%100;}
24 virtual Int_t TrackId(Int_t i)
const {
return fTab_g2t[i].track_p;}
26 virtual Int_t DetectorId(Int_t i)
const{
return kTpcIdentifier;}
27 virtual Float_t GetX(Int_t i)
const{
return fTab_g2t[i].x[0];}
28 virtual Float_t GetY(Int_t i)
const{
return fTab_g2t[i].x[1];}
29 virtual Float_t GetZ(Int_t i)
const{
return fTab_g2t[i].x[2];}
30 virtual Float_t GetXError(Int_t i)
const{
return 0.;}
31 virtual Float_t GetYError(Int_t i)
const{
return 0.;}
32 virtual Float_t GetZError(Int_t i)
const{
return 0.;}