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()
const {
55 std::vector<MaterialAccountingDetector> &
detectors() {
59 const std::vector<MaterialAccountingStep> &
steps()
const {
63 std::vector<MaterialAccountingStep> &
steps() {
71 std::vector<MaterialAccountingStep>
m_steps;
75 #endif // MaterialAccountingTrack_h
const std::vector< MaterialAccountingDetector > & detectors() const
const G4VPhysicalVolume * m_current_volume
const std::vector< MaterialAccountingStep > & steps() const
std::vector< MaterialAccountingDetector > m_detectors
std::vector< MaterialAccountingStep > m_steps
MaterialAccountingStep m_total
void step(const MaterialAccountingStep &step)
std::vector< MaterialAccountingDetector > & detectors()
MaterialAccountingDetector m_detector
std::vector< MaterialAccountingStep > & steps()
void enterDetector(const G4VPhysicalVolume *volume, const GlobalPoint &position, double cosTheta)
MaterialAccountingTrack(void)
static int position[264][3]
const MaterialAccountingStep & summary() const
void leaveDetector(const G4VPhysicalVolume *volume, double cosTheta)