30 _layerPtr = _det->Layer( _id );
31 _wirePtr = _det->Wire( _id );
33 _charge = _digiPtr->getChargeChannel();
38 _rmid = _wirePtr->rMid();
40 assert( _mdcGeomSvc != NULL );
42 assert(
wire != NULL );
47 _midPoint = ( eastP + westP ) / 2.;
54 : _digiPtr( other._digiPtr )
56 , _layerPtr( other._layerPtr )
57 , _wirePtr( other._wirePtr )
59 , _layer( other._layer )
60 , _wire( other._wire )
61 , _rawTime( other._rawTime )
62 , _charge( other._charge )
63 , _eastPoint( other._eastPoint )
64 , _westPoint( other._westPoint )
65 , _midPoint( other._midPoint )
68 , _type( other._type )
69 , _detectorType( other._detectorType )
70 , _rmid( other._rmid )
71 , _slayerType( other._slayerType )
72 , _cirlist( other._cirlist )
73 , _style( other._style )
74 , _driftTime( other._driftTime )
75 , _driftDist( other._driftDist )
76 , CF_drift( other.CF_drift )
77 , vec_cfcir( other.vec_cfcir )
80 _truthU( other._truthU )
81 , _truthV( other._truthV )
82 , _truthR( other._truthR )
83 , _truthlr( other._truthlr )
84 , _truthPoint( other._truthPoint )
85 , _truthDrift( other._truthDrift )
86 , _deltad( other._deltad )
87 , _flightLength( other._flightLength ) {}
90 _digiPtr = ( other._digiPtr );
91 _det = ( other._det );
92 _layerPtr = ( other._layerPtr );
93 _wirePtr = ( other._wirePtr );
95 _layer = ( other._layer );
96 _wire = ( other._wire );
97 _rawTime = ( other._rawTime );
98 _charge = ( other._charge );
99 _eastPoint = ( other._eastPoint );
100 _westPoint = ( other._westPoint );
101 _midPoint = ( other._midPoint );
104 _type = ( other._type );
105 _detectorType = ( other._detectorType );
106 _rmid = ( other._rmid );
107 _slayerType = ( other._slayerType );
108 _cirlist = ( other._cirlist );
109 _style = ( other._style );
110 _driftTime = ( other._driftTime );
111 _driftDist = ( other._driftDist );
112 CF_drift = ( other.CF_drift );
113 vec_cfcir = ( other.vec_cfcir );
115 _truthU = ( other._truthU );
116 _truthV = ( other._truthV );
117 _truthR = ( other._truthR );
118 _truthlr = ( other._truthlr );
119 _truthDrift = ( other._truthDrift );
120 _truthPoint = ( other._truthPoint );
121 _deltad = ( other._deltad );
122 _flightLength = ( other._flightLength );
128 if ( !aMcHit )
return;
137 if ( mcLR == 1 ) mcLR = -1;
138 if ( mcLR == 0 ) mcLR = 1;
143 _truthU =
getConformal_u( _truthPoint.x(), _truthPoint.y(), _truthDrift );
144 _truthV =
getConformal_v( _truthPoint.y(), _truthPoint.x(), _truthDrift );
145 _truthR =
getConformal_r( _truthPoint.x(), _truthPoint.y(), _truthDrift );
195 double ,
double z )
const {
201 if ( ambig == 1 ) lrCalib = 0;
202 else if ( ambig == -1 ) lrCalib = 1;
205 if ( fabs( z ) > 150. || fabs(
driftTime( tof, z ) ) > 1500. ) {
return 9999.; }
206 driftD = 0.1 * _calibPtr->driftTimeToDist(
driftTime( tof, z ), _layer, _wire, lrCalib,
213 if (
abs( driftD ) < 0.00001 ) driftD = 0.00001;