98 #ifndef STAR_St_Trs_Maker
99 #define STAR_St_Trs_Maker
110 #ifndef HEP_SYSTEM_OF_UNITS_H
111 #include "SystemOfUnits.h"
113 #ifndef ST_NO_NAMESPACES
114 using namespace units;
133 #include "StTrsDigitalSector.hh"
136 #include "StTrsRawDataEvent.hh"
140 class g2t_tpc_hit_st;
173 double mMiniSegmentLength;
174 int mFirstSectorToProcess;
175 int mLastSectorToProcess;
177 int mProcessPseudoPadRows;
182 int mUseParameterizedSignalGenerator;
185 double mNormalFactor;
190 TFile* mTrsNtupleFile;
191 TNtuple* mWireNtuple;
192 TNtuple* mContinuousAnalogNtuple;
193 TNtuple* mDiscreteAnalogNtuple;
194 TNtuple* mDigitalNtuple;
201 Int_t InitRun(
int runnumber);
204 void Clear(
const char *opt=
"");
206 void setMiniSegmentLength(
double len=4.) {mMiniSegmentLength = len*millimeter;}
207 void setFirstSectorToProcess(
int first=1){mFirstSectorToProcess = first;}
208 void setLastSectorToProcess(
int last=24) {mLastSectorToProcess = last;}
211 int writeFile(
char*,
int);
212 void setNormalFactor(
double FudgeFactor=1.0);
214 virtual const char *GetCVS()
const
216 static const char cvs[]=
"Tag $Name: $ $Id: StTrsMaker.h,v 1.24 2008/06/20 15:00:57 fisyak Exp $ built __DATE__ __TIME__" ;
return cvs;}
221 void whichSector(
int,
int*,
int*,
int*);
222 void CheckTruth(
int no_tpc_hits, g2t_tpc_hit_st *tpc_hit);