StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
l3CoordinateTransformer Class Reference

Public Member Functions

int LoadTPCLookupTable (char *filename="/L3/etc/map.bin")
 
void raw_to_global (const l3ptrsCoordinate &raw, l3xyzCoordinate &global)
 
void raw_to_local (const l3ptrsCoordinate &raw, l3xyzCoordinate &local)
 
void local_to_global (const l3ptrsCoordinate &raw, const l3xyzCoordinate &local, l3xyzCoordinate &global)
 
void global_to_raw (const l3xyzCoordinate &global, l3ptrsCoordinate &raw)
 
void global_to_raw (int sector, int row, const l3xyzCoordinate &global, l3ptrsCoordinate &raw)
 
void global_to_local (const l3xyzCoordinate &global, l3xyzCoordinate &local, l3ptrsCoordinate &raw)
 
void global_to_local (int sector, int row, const l3xyzCoordinate &global, l3xyzCoordinate &local)
 
void local_to_raw (const l3xyzCoordinate &global, const l3xyzCoordinate &local, l3ptrsCoordinate &raw)
 
void local_to_raw (int row, const l3xyzCoordinate &local, l3ptrsCoordinate &raw)
 
double GetSectorCos (int i)
 
double GetSectorSin (int i)
 
double GetRadialDistanceAtRow (int i)
 
int GetNumberOfPadsAtRow (int i)
 
void Set_parameters_by_hand (const double lengthPerTb=0.584, const double drift_length_inner=201., const double drift_length_outer=201.)
 
void Get_parameters_from_db ()
 
void Use_transformation_provided_by_db ()
 
void Print_parameters ()
 
double Get_drift_length_inner ()
 
double Get_drift_length_outer ()
 
double Get_lengthPerTb ()
 
double Get_max_timebucket_inner ()
 
double Get_max_timebucket_outter ()
 
int Get_transformation_errors ()
 

Public Attributes

double drift_length_inner
 
double drift_length_outer
 
double lengthPerTb
 
double max_tb_inner
 
double max_tb_outer
 
int transformation_errors
 

Static Public Attributes

static int numberOfPadsAtRow [45]
 
static double radialDistanceAtRow [45]
 
static double SectorSin [24]
 
static double SectorCos [24]
 
static double innerSectorPadPitch = 0.335
 
static double outerSectorPadPitch = 0.67
 

Detailed Description

Definition at line 11 of file l3CoordinateTransformer.h.

Member Data Documentation

int l3CoordinateTransformer::numberOfPadsAtRow
static
Initial value:
= {
88,96,104,112,118,126,134,142,150,158,166,174,182,
98,100,102,104,106,106,108,110,112,112,114,116,
118,120,122,122,124,126,128,128,130,132,134,136,
138,138,140,142,144,144,144,144
}

Definition at line 14 of file l3CoordinateTransformer.h.

double l3CoordinateTransformer::radialDistanceAtRow
static
Initial value:
= {
60.0, 64.8, 69.6, 74.4, 79.2, 84.0, 88.8, 93.60,
98.8, 104., 109.20, 114.4, 119.6,
127.195, 129.195, 131.195, 133.195, 135.195,
137.195, 139.195, 141.195, 143.195, 145.195,
147.195, 149.195, 151.195, 153.195, 155.195,
157.195, 159.195, 161.195, 163.195, 165.195,
167.195, 169.195, 171.195, 173.195, 175.195,
177.195, 179.195, 181.195, 183.195, 185.195,
187.195, 189.195
}

Definition at line 15 of file l3CoordinateTransformer.h.

double l3CoordinateTransformer::SectorCos
static
Initial value:
= {
0.866025404, 0.5,
0., -0.5,
-0.866025404, -1.0,
-0.866025404, -0.5,
0., 0.5,
0.866025404, 1.0,
0.866025404, 0.5,
0., -0.5,
-0.866025404, -1.0,
-0.866025404, -0.5,
0., 0.5,
0.866025404, 1.0
}

Definition at line 17 of file l3CoordinateTransformer.h.

double l3CoordinateTransformer::SectorSin
static
Initial value:
= {
0.5, 0.866025404,
1.0, 0.866025404,
0.5, 0.,
-0.5, -0.866025404,
-1.0, -0.866025404,
-0.5, 0.,
0.5, 0.866025404,
1.0, 0.866025404,
0.5, 0.,
-0.5, -0.866025404,
-1.0, -0.866025404,
-0.5, 0.
}

Definition at line 16 of file l3CoordinateTransformer.h.


The documentation for this class was generated from the following files: