44 CurrentHit(0), theTrack(0), CurrentPV(0), PreviousPV(0), UnitID(0),
45 PreviousUnitID(0), PreStepPoint(0), PostStepPoint(0),
46 theDescription(numberingScheme) {
50 G4cout <<
"*******************************************************" <<
G4endl;
52 G4cout <<
"* Constructing a CCaloSD with name " << name <<
G4endl;
54 G4cout <<
"*******************************************************" <<
G4endl;
113 if (pname ==
"e-" || pname ==
"e+" || pname ==
"gamma" ){
175 G4cout <<
"CCaloSD: hit to be stored is NULL !!" <<
G4endl;
185 G4int currentCopyNo = -999;
186 G4int motherCopyNo = -999;
189 if ( theTouchable ) {
195 G4cout <<
"CCaloSD createNewHit for"
197 <<
" PVid = " << currentCopyNo
198 <<
" MVid = " << motherCopyNo
211 G4cout <<
" and created by " ;
286 G4double dapd = 0.5 * crlength - localPoint.
z();
287 if (dapd >= -0.1 || dapd <= crlength+0.1) {
289 weight = 1.05 - dapd * 0.0005;
291 G4cout <<
"CCaloSD, light coll curve : wrong distance to APD " << dapd
292 <<
" crlength = " << crlength
293 <<
" z of localPoint = " << localPoint.
z()
294 <<
" take weight = " << weight <<
G4endl;
297 G4cout <<
"CCaloSD, light coll curve : " << dapd
298 <<
" crlength = " << crlength
299 <<
" z of localPoint = " << localPoint.
z()
300 <<
" take weight = " << weight <<
G4endl;