119 float chargePosition= -100.;
127 chargePosition = 0.5*(numStrips) + middlex/pitch ;
132 else if(xytype == 2) {
138 chargePosition = 0.5*(numStrips) + middley/pitch ;
143 std::cout <<
"================================================================"<<std::endl;
144 std::cout <<
"**** HitDigitizerFP420: !!! ERROR: you have not to be here !!! xytype=" << xytype << std::endl;
151 if(chargePosition > numStrips || chargePosition < 0) {
152 std::cout <<
"**** HitDigitizerFP420: !!! ERROR: check correspondence of XY detector dimensions in XML and here !!! chargePosition = " << chargePosition << std::endl;
157 std::cout <<
" ====== **** HitDigitizerFP420: !!! processHit !!! : input: xytype=" << xytype <<
" numStrips= " << numStrips <<
" pitch= " << pitch <<
" Calculated chargePosition= " << chargePosition << std::endl;
158 std::cout <<
"The middle of hit point on input was: middlex = " << middlex << std::endl;
159 std::cout <<
"The middle of hit point on input was: middley = " << middley << std::endl;
161 std::cout <<
" ====== **** HitDigitizerFP420:processHit: start CDrifterFP420 divide" << std::endl;
176 std::cout <<
" ====== **** HitDigitizerFP420:processHit: driftDir= " << driftDir << std::endl;
177 std::cout <<
" ====== **** HitDigitizerFP420:processHit: start induce , CDrifterFP420 drift " << std::endl;
virtual hit_map_type induce(CDrifterFP420::collection_type, int, double, int, double, int, int)=0
virtual collection_type drift(const ionization_type, const G4ThreeVector &, const int &)=0
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
G4ThreeVector DriftDirection(G4ThreeVector, int, int)
CDividerFP420 * theCDividerFP420
Local3DPoint entryPoint() const
Entry point in the local Det frame.