21class IDataProviderSvc;
22#define MAXNOFCLUSTERS 500
23#define MAXNOFHITS 2400
24#define MAXNOFFITPOINT 4
31 TestTrack(
const std::string& name, ISvcLocator* pSvcLocator);
47 bool selDigi(CgemDigiCol::iterator
iter,
int sel);
49 void DefineClusterTree();
50 void DefineTrackTree();
52 std::map<int, std::vector< int > > *GetStripToHitMap(
int ilayer,
int isheet,
int iview);
53 std::map<int, int> *GetStripToCounterMap(
int ilayer,
int isheet,
int iview);
58 void ComputePOCA(
double &xP,
double &yP,
double &zP);
65 bool ComputeIntersection(
int layerid,
66 double &x1,
double &y1,
double &z1,
double&
phi1,
double &v1,
67 double &x2,
double &y2,
double &z2,
double&
phi2,
double &v2,
68 double &angCR_xy,
double &angCR_yz);
73 IDataProviderSvc* m_evtSvc;
79 double anode_mid_gap_L1;
80 double anode_mid_gap_L2;
87 std::map<int, std::vector< int > > map_L1_S1_stripx_to_hit;
88 std::map<int, std::vector< int > > map_L2_S1_stripx_to_hit;
89 std::map<int, std::vector< int > > map_L2_S2_stripx_to_hit;
90 std::map<int, std::vector< int > > map_L1_S1_stripv_to_hit;
91 std::map<int, std::vector< int > > map_L2_S1_stripv_to_hit;
92 std::map<int, std::vector< int > > map_L2_S2_stripv_to_hit;
129 int ncluster_2d_L1_S1;
130 int ncluster_2d_L2_S1;
131 int ncluster_2d_L2_S2;
132 int ncluster_1d_L1_S1_x;
133 int ncluster_1d_L2_S1_x;
134 int ncluster_1d_L2_S2_x;
135 int ncluster_1d_L1_S1_v;
136 int ncluster_1d_L2_S1_v;
137 int ncluster_1d_L2_S2_v;
188 int track_test_layerid;
189 int track_test_sheetid;
191 double track_xpoca_glo;
192 double track_ypoca_glo;
193 double track_zpoca_glo;
195 double track_x1top_glo;
196 double track_y1top_glo;
197 double track_z1top_glo;
198 double track_phi1top_loc;
199 double track_v1top_loc;
201 double track_x1bot_glo;
202 double track_y1bot_glo;
203 double track_z1bot_glo;
204 double track_phi1bot_loc;
205 double track_v1bot_loc;
207 double track_x2top_glo;
208 double track_y2top_glo;
209 double track_z2top_glo;
210 double track_phi2top_loc;
211 double track_v2top_loc;
213 double track_x2bot_glo;
214 double track_y2bot_glo;
215 double track_z2bot_glo;
216 double track_phi2bot_loc;
217 double track_v2bot_loc;