#include <MaterialAccountingTrack.h>
Public Member Functions | |
const std::vector< MaterialAccountingDetector > & | detectors () 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 |
std::vector< MaterialAccountingStep > & | steps () |
const MaterialAccountingStep & | summary () const |
Private Types | |
enum | { kSteps = 600, kDetectors = 30 } |
Private Attributes | |
const G4VPhysicalVolume * | m_current_volume |
MaterialAccountingDetector | m_detector |
std::vector< MaterialAccountingDetector > | m_detectors |
std::vector< MaterialAccountingStep > | m_steps |
MaterialAccountingStep | m_total |
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.
Referenced by TrackingMaterialAnalyser::split().
|
inline |
Definition at line 55 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 MessageLogger_cfi::cerr, MaterialAccountingDetector::clear(), MaterialAccountingStep::length(), MaterialAccountingDetector::m_cosThetaIn, m_current_volume, MaterialAccountingDetector::m_curvilinearIn, m_detector, MaterialAccountingDetector::m_position, m_total, and position.
Referenced by step().
void MaterialAccountingTrack::leaveDetector | ( | const G4VPhysicalVolume * | volume, |
double | cosTheta | ||
) |
Definition at line 24 of file MaterialAccountingTrack.cc.
References MessageLogger_cfi::cerr, MaterialAccountingDetector::clear(), MaterialAccountingStep::length(), MaterialAccountingDetector::m_cosThetaOut, m_current_volume, MaterialAccountingDetector::m_curvilinearOut, m_detector, m_detectors, and m_total.
Referenced by step().
|
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 enterDetector(), leaveDetector(), m_steps, m_total, and position.
|
inline |
Definition at line 59 of file MaterialAccountingTrack.h.
References m_steps.
Referenced by TrackingMaterialAnalyser::split().
|
inline |
Definition at line 63 of file MaterialAccountingTrack.h.
References m_steps.
|
inline |
Definition at line 47 of file MaterialAccountingTrack.h.
References m_total.
Referenced by TrackingMaterialAnalyser::split().
|
private |
Definition at line 69 of file MaterialAccountingTrack.h.
Referenced by enterDetector(), leaveDetector(), and reset().
|
private |
Definition at line 70 of file MaterialAccountingTrack.h.
Referenced by enterDetector(), leaveDetector(), and reset().
|
private |
Definition at line 72 of file MaterialAccountingTrack.h.
Referenced by detectors(), leaveDetector(), MaterialAccountingTrack(), and reset().
|
private |
Definition at line 71 of file MaterialAccountingTrack.h.
Referenced by MaterialAccountingTrack(), reset(), step(), and steps().
|
private |
Definition at line 68 of file MaterialAccountingTrack.h.
Referenced by enterDetector(), leaveDetector(), reset(), step(), and summary().