12 #define FDC_NUM_LAYERS 24
13 #define FDC_NUM_PLANES 72
14 #define FDC_ACTIVE_RADIUS 48.5
17 #define DRIFT_SPEED .0055
18 #define CATHODE_ROT_ANGLE 1.309 // 75 degrees
20 #define WIRE_DEAD_ZONE_RADIUS 3.2
21 #define ANODE_CATHODE_SPACING 0.5
22 #define TWO_HIT_RESOL 250.
23 #define WIRES_PER_PLANE 96
24 #define WIRE_SPACING 1.0
25 #define U_OF_WIRE_ZERO (-((WIRES_PER_PLANE-1)*WIRE_SPACING)/2)
26 #define STRIPS_PER_PLANE 192
27 #define STRIP_SPACING 0.500
28 #define U_OF_STRIP_ZERO (-((STRIPS_PER_PLANE-1)*STRIP_SPACING)/2)
29 #define STRIP_ZERO_OFFSET -95.5
35 #define THRESH_STRIPS 5.
36 #define ELECTRON_CHARGE 1.6022e-4
41 #include <JANA/JObject.h>
98 float cosPhiU=cos(phi_u);
99 float cosPhiV=cos(phi_v);
100 float sinPhiU=
sin(phi_u);
101 float sinPhiV=
sin(phi_v);
102 return (u*sinPhiV-v*sinPhiU)/(cosPhiV*sinPhiU-cosPhiU*sinPhiV);
115 float cosPhiU=cos(phi_u);
116 float cosPhiV=cos(phi_v);
117 float sinPhiU=
sin(phi_u);
118 float sinPhiV=
sin(phi_v);
119 return (u*cosPhiV-v*cosPhiU)/(cosPhiU*sinPhiV-cosPhiV*sinPhiU);
126 #endif // DFDCGEOMETRY_H
static float getXLocalStrips(float u, float phi_u, float v, float phi_v)
static float getYLocalStrips(float u, float phi_u, float v, float phi_v)
static int gPlane(const DFDCHit *h)
DFDCGeometry::gPlane(): Compute the global plane (1-74) number based on module, layer, and plane.
static int gLayer(const DFDCHit *h)
DFDCGeometry::gLayer(): Compute the global layer (detection layer 1-24) number based on module and la...
static float getStripR(const DFDCHit *h)
DFDCGeometry::getStripR(): Return coordinate in U or V space of a strip.
static float getYLocalStrips(float u, float v)
DFDCGeometry::getYLocalStrips() Compute the y-coordinate in the layer coordinate system from the stri...
class DFDCGeometry: definition of a class providing basic geometry methods for FDC reconstruction...
static float getXLocalStrips(float u, float v)
DFDCGeometry::getXLocalStrips() Compute the x-coordinate in the layer coordinate system from the stri...
static float getWireR(const DFDCHit *h)
DFDCGeometry::getWireR(): Return X coordinate of a wire.
#define CATHODE_ROT_ANGLE
class DFDCHit: definition for a basic FDC hit data type.