#include <MaterialAccountingTrack.h>
Public Member Functions | |
const std::vector < MaterialAccountingDetector > & | detectors () |
void | enterDetector (const G4VPhysicalVolume *volume, const GlobalPoint &position, double cosTheta) |
void | leaveDetector (const G4VPhysicalVolume *volume, double cosTheta) |
MaterialAccountingTrack (void) | |
void | reset (void) |
void | step (const MaterialAccountingStep &step) |
const std::vector < MaterialAccountingStep > & | steps () |
const MaterialAccountingStep & | summary (void) |
Public Attributes | |
const G4VPhysicalVolume * | m_current_volume |
MaterialAccountingDetector | m_detector |
std::vector < MaterialAccountingDetector > | m_detectors |
std::vector < MaterialAccountingStep > | m_steps |
MaterialAccountingStep | m_total |
Private Types | |
enum | { kSteps = 600, kDetectors = 30 } |
Definition at line 11 of file MaterialAccountingTrack.h.
|
private |
|
inline |
Definition at line 17 of file MaterialAccountingTrack.h.
References kDetectors, kSteps, m_detectors, and m_steps.
|
inline |
Definition at line 51 of file MaterialAccountingTrack.h.
References m_detectors.
void MaterialAccountingTrack::enterDetector | ( | const G4VPhysicalVolume * | volume, |
const GlobalPoint & | position, | ||
double | cosTheta | ||
) |
Definition at line 7 of file MaterialAccountingTrack.cc.
References dtNoiseDBValidation_cfg::cerr, MaterialAccountingDetector::clear(), MaterialAccountingStep::length(), MaterialAccountingDetector::m_cosThetaIn, m_current_volume, MaterialAccountingDetector::m_curvilinearIn, m_detector, MaterialAccountingDetector::m_position, m_total, and position.
void MaterialAccountingTrack::leaveDetector | ( | const G4VPhysicalVolume * | volume, |
double | cosTheta | ||
) |
Definition at line 24 of file MaterialAccountingTrack.cc.
References dtNoiseDBValidation_cfg::cerr, MaterialAccountingDetector::clear(), MaterialAccountingStep::length(), MaterialAccountingDetector::m_cosThetaOut, m_current_volume, MaterialAccountingDetector::m_curvilinearOut, m_detector, m_detectors, and m_total.
|
inline |
Definition at line 28 of file MaterialAccountingTrack.h.
References MaterialAccountingStep::clear(), MaterialAccountingDetector::clear(), kDetectors, kSteps, m_current_volume, m_detector, m_detectors, m_steps, and m_total.
|
inline |
Definition at line 39 of file MaterialAccountingTrack.h.
References m_steps, and m_total.
|
inline |
Definition at line 55 of file MaterialAccountingTrack.h.
References m_steps.
|
inline |
Definition at line 47 of file MaterialAccountingTrack.h.
References m_total.
|
mutable |
Definition at line 61 of file MaterialAccountingTrack.h.
Referenced by enterDetector(), leaveDetector(), and reset().
|
mutable |
Definition at line 62 of file MaterialAccountingTrack.h.
Referenced by enterDetector(), leaveDetector(), and reset().
std::vector<MaterialAccountingDetector> MaterialAccountingTrack::m_detectors |
Definition at line 64 of file MaterialAccountingTrack.h.
Referenced by detectors(), leaveDetector(), MaterialAccountingTrack(), reset(), and TrackingMaterialAnalyser::split().
std::vector<MaterialAccountingStep> MaterialAccountingTrack::m_steps |
Definition at line 63 of file MaterialAccountingTrack.h.
Referenced by MaterialAccountingTrack(), reset(), TrackingMaterialAnalyser::split(), step(), and steps().
MaterialAccountingStep MaterialAccountingTrack::m_total |
Definition at line 60 of file MaterialAccountingTrack.h.
Referenced by enterDetector(), leaveDetector(), reset(), TrackingMaterialAnalyser::split(), step(), and summary().