5 #include "G4ThreeVector.hh" 8 #include "CLHEP/Units/PhysicalConstants.h" 40 const static int NREGIONS = 3 ;
43 double CRZRADIUS[NREGIONS] ;
44 int CRZNSTRIPS[NREGIONS] ;
45 double CRZSPACING[NREGIONS] ;
46 double CRZWIDTH[NREGIONS] ;
47 double CRZLENGTH[NREGIONS] ;
48 double CRZZMIN[NREGIONS] ;
49 double CRZZMAX[NREGIONS] ;
50 double CRZOFFSET[NREGIONS] ;
51 double CRZXPOS[NREGIONS];
52 double CRZEDGE1[NREGIONS][NREGIONS];
53 double CRZEDGE2[NREGIONS][NREGIONS];
56 double CRCRADIUS[NREGIONS];
57 int CRCNSTRIPS[NREGIONS];
58 double CRCSPACING[NREGIONS];
59 double CRCLENGTH[NREGIONS];
60 double CRCZMIN[NREGIONS];
61 double CRCZMAX[NREGIONS];
62 double CRCOFFSET[NREGIONS];
63 double CRCXPOS[NREGIONS];
64 double CRCEDGE1[NREGIONS][NREGIONS];
65 double CRCEDGE2[NREGIONS][NREGIONS];
71 fieldScale = newFieldScale;
72 ThetaL = fieldScale*20.*degree;
84 vector<double> FindStrip(
int layer,
int sector, G4ThreeVector xyz,
double Edep,
bmtConstants bmtc);
87 double getEnergyFraction(
double z0,
double z,
double sigma);
88 int getDetectorIndex(
int sector);
90 double getSigmaLongit(
int layer,
double x,
double y,
bmtConstants bmtc);
91 double getSigmaAzimuth(
int layer,
double x,
double y,
bmtConstants bmtc);
92 int getZStrip(
int layer,
double angle,
bmtConstants bmtc);
93 int getCStrip(
int layer,
double trk_z,
bmtConstants bmtc);
94 double CRCStrip_GetZ(
int layer,
int strip,
bmtConstants bmtc);
95 double CRZStrip_GetPhi(
int sector,
int layer,
int strip,
bmtConstants bmtc);
96 int isInSector(
int layer,
double angle,
bmtConstants bmtc);
vector< vector< int > > CRCGROUP
void changeFieldScale(double newFieldScale)
vector< vector< double > > CRCWIDTH