2 #ifndef ST_FTT_FAST_SIM_MAKER_H
3 #define ST_FTT_FAST_SIM_MAKER_H
9 #include "StChain/StMaker.h"
28 virtual const char *GetCVS()
const;
30 void SetDiskRotation(
int disk,
float degrees) {
32 const float deg_to_radians = 0.017453292f;
34 sTGC_disk9_theta = degrees * deg_to_radians;
36 sTGC_disk10_theta = degrees * deg_to_radians;
38 sTGC_disk11_theta = degrees * deg_to_radians;
40 sTGC_disk12_theta = degrees * deg_to_radians;
45 void FillThinGapChambers(
StEvent *event);
74 void GlobalToLocal(
float x,
float y,
int disk,
int &quad,
float &localX,
float &localY);
75 void LocalToGlobal(
float localX,
float localY,
int disk,
int quad,
float &globalX,
float &globalY);
77 void QuadBottomLeft(
int disk,
int quad,
float &bottom,
float &left);
78 float DiskOffset(
int disk);
79 float DiskRotation(
int disk);
81 void rot(
float theta,
float x,
float y,
float &xp,
float &yp) {
82 xp = x * cos(theta) - y * sin(theta);
83 yp = x * sin(theta) + y * cos(theta);
86 const double STGC_BEAM_CUT_OUT = 6.0;
87 const double STGC_QUAD_WIDTH = 60.0;
88 const double STGC_QUAD_HEIGHT = 60.0;
89 const double STGC_WIRE_WIDTH = 0.32;
90 const double STGC_SIGMA_X = 0.01;
91 const double STGC_SIGMA_Y = 0.01;
92 const double STGC_SIGMA_Z = 0.001;
93 const double STGC_WIRE_LENGTH = 15.0;
94 const bool STGC_MAKE_GHOST_HITS =
true;
96 float sTGC_disk9_theta = 0.0f;
97 float sTGC_disk10_theta = 0.0f;
98 float sTGC_disk11_theta = 0.0f;
99 float sTGC_disk12_theta = 0.0f;
101 int sTGCNRealPoints = 0;
102 int sTGCNGhostPoints = 0;
107 inline const char *StFttFastSimMaker::GetCVS()
const {
108 static const char cvs[] =
"Tag $Name: $ $Id: StFttFastSimMaker.h,v 1.1 2021/03/26 14:11:40 jdb Exp $ built " __DATE__
" " __TIME__;