4 #include "G4VPhysicalVolume.hh"
11 std::cerr <<
"MaterialAccountingTrack::leaveDetector(...): ERROR: entering volume (" << volume <<
") while inside volume (" <<
m_current_volume <<
")" << std::endl;
13 std::cerr <<
"MaterialAccountingTrack::leaveDetector(...): ERROR: entering volume (" << volume <<
") twice" << std::endl;
28 std::cerr <<
"MaterialAccountingTrack::leaveDetector(...): ERROR: leaving volume (" << volume <<
") while inside volume (" <<
m_current_volume <<
")" << std::endl;
30 std::cerr <<
"MaterialAccountingTrack::leaveDetector(...): ERROR: leaving volume (" << volume <<
") while not inside any volume" << std::endl;
const G4VPhysicalVolume * m_current_volume
std::vector< MaterialAccountingDetector > m_detectors
double length(void) const
MaterialAccountingStep m_total
MaterialAccountingDetector m_detector
void enterDetector(const G4VPhysicalVolume *volume, const GlobalPoint &position, double cosTheta)
static int position[264][3]
void leaveDetector(const G4VPhysicalVolume *volume, double cosTheta)