28 #ifndef STAR_StFtpcSlowSimReadout
29 #define STAR_StFtpcSlowSimReadout
35 extern int Locate(
const int npt,
const float* x,
const float xx);
60 float GetPadLength()
const {
return pad_length; }
62 int WhichSlice(
const float time);
63 int WhichPad(
const float phi,
int &isec);
65 float TimeOfSlice(
const int slice);
66 float PhiOfPad(
const int pad,
const int deg_or_rad);
70 float InteGauss(
const float x_1,
const float x_2,
71 const float x_0,
const float sig);
73 void rmarin(
int ij,
int kl);
75 int GetHardPad(
const int daqsec,
const int daqpad,
const int irow);
76 int GetHardSec(
const int daqsec,
const int irow);
93 float mInverseFinalVelocity;
94 int mRandomNumberGenerator;
97 float mFinalElectrons;
115 float phiMin, phiMax;
116 void polya(
const int nch,
const float low,
117 const float high,
const float delta);
119 int sample_polya(
const float gain);