Go to the documentation of this file. 1 #ifndef MaterialAccountingTrack_h
2 #define MaterialAccountingTrack_h
6 #include "G4VPhysicalVolume.hh"
39 void leaveDetector(
const G4VPhysicalVolume* volume,
double cosTheta);
47 const std::vector<MaterialAccountingStep>&
steps()
const {
return m_steps; }
55 std::vector<MaterialAccountingStep>
m_steps;
59 #endif // MaterialAccountingTrack_h
void enterDetector(const G4VPhysicalVolume *volume, const GlobalPoint &position, double cosTheta)
std::vector< MaterialAccountingStep > m_steps
std::vector< MaterialAccountingDetector > m_detectors
void step(const MaterialAccountingStep &step)
void leaveDetector(const G4VPhysicalVolume *volume, double cosTheta)
MaterialAccountingTrack(void)
const std::vector< MaterialAccountingDetector > & detectors() const
const MaterialAccountingStep & summary() const
MaterialAccountingDetector m_detector
std::vector< MaterialAccountingDetector > & detectors()
MaterialAccountingStep m_total
std::vector< MaterialAccountingStep > & steps()
static int position[264][3]
const G4VPhysicalVolume * m_current_volume
const std::vector< MaterialAccountingStep > & steps() const