15 #include "G4Material.hh"
16 #include "CLHEP/Units/GlobalSystemOfUnits.h"
35 <<
" with three constants kB = " <<
birk1_ <<
", C1 = " <<
birk2_
43 double destep = aStep->GetTotalEnergyDeposit();
49 << aStep->GetPreStepPoint()->GetTouchable()->GetVolume()->GetName() <<
" weight "
56 const G4StepPoint* preStepPoint = aStep->GetPreStepPoint();
57 const G4VTouchable* touch = preStepPoint->GetTouchable();
58 std::string name = static_cast<std::string>(preStepPoint->GetPhysicalVolume()->GetName());
61 int lay = 0,
x = 0,
y = 0;
63 lay = (touch->GetReplicaNumber(0));
66 lay = (touch->GetReplicaNumber(1));
67 G4ThreeVector localPoint =
setToLocal(preStepPoint->GetPosition(), touch);
68 x = (
int)(localPoint.x() / (0.2 * mm));
69 y = (
int)(localPoint.y() / (0.2 * mm));