141 float chargePosition = -100.;
153 chargePosition = 0.5 * (numStrips) + middlex / pitch;
157 else if (xytype == 2) {
166 chargePosition = 0.5 * (numStrips) + middley / pitch;
171 std::cout <<
"================================================================" << std::endl;
172 std::cout <<
"**** HitDigitizerFP420: !!! ERROR: you have not to be " 174 << xytype << std::endl;
181 if (chargePosition > numStrips || chargePosition < 0) {
182 std::cout <<
"**** HitDigitizerFP420: !!! ERROR: check correspondence of XY " 183 "detector dimensions in XML and here !!! chargePosition = " 184 << chargePosition << std::endl;
189 std::cout <<
" ====== **** HitDigitizerFP420: !!! processHit !!! : " 191 << xytype <<
" numStrips= " << numStrips <<
" pitch= " << pitch
192 <<
" Calculated chargePosition= " << chargePosition << std::endl;
193 std::cout <<
"The middle of hit point on input was: middlex = " << middlex << std::endl;
194 std::cout <<
"The middle of hit point on input was: middley = " << middley << std::endl;
197 std::cout <<
" ====== **** HitDigitizerFP420:processHit: start " 198 "CDrifterFP420 divide" 214 std::cout <<
" ====== **** HitDigitizerFP420:processHit: driftDir= " << driftDir << std::endl;
215 std::cout <<
" ====== **** HitDigitizerFP420:processHit: start " 216 "induce , CDrifterFP420 drift " virtual collection_type drift(const ionization_type &, const G4ThreeVector &, const int &)=0
virtual hit_map_type induce(const CDrifterFP420::collection_type &, int, double, int, double, int, int)=0
G4ThreeVector DriftDirection(const G4ThreeVector &, int, int)
Local3DPoint exitPoint() const
Exit point in the local Det frame.
std::vector< EnergySegmentFP420 > ionization_type
CDrifterFP420 * theCDrifterFP420
IChargeFP420 * theIChargeFP420
virtual ionization_type divide(const PSimHit &, const double &)=0
CDividerFP420 * theCDividerFP420
Local3DPoint entryPoint() const
Entry point in the local Det frame.