1 #ifndef MaterialAccountingTrack_h
2 #define MaterialAccountingTrack_h
6 #include "G4VPhysicalVolume.hh"
45 void leaveDetector(
const G4VPhysicalVolume* volume,
double cosTheta );
51 const std::vector<MaterialAccountingDetector> &
detectors() {
55 const std::vector<MaterialAccountingStep> &
steps() {
63 std::vector<MaterialAccountingStep>
m_steps;
67 #endif // MaterialAccountingTrack_h
const G4VPhysicalVolume * m_current_volume
const MaterialAccountingStep & summary(void)
std::vector< MaterialAccountingDetector > m_detectors
std::vector< MaterialAccountingStep > m_steps
MaterialAccountingStep m_total
void step(const MaterialAccountingStep &step)
static int position[TOTALCHAMBERS][3]
MaterialAccountingDetector m_detector
const std::vector< MaterialAccountingDetector > & detectors()
void enterDetector(const G4VPhysicalVolume *volume, const GlobalPoint &position, double cosTheta)
MaterialAccountingTrack(void)
const std::vector< MaterialAccountingStep > & steps()
void leaveDetector(const G4VPhysicalVolume *volume, double cosTheta)