#include <MaterialAccountingTrack.h>
Public Member Functions | |
const std::vector < MaterialAccountingDetector > & | detectors () const |
std::vector < MaterialAccountingDetector > & | detectors () |
void | enterDetector (const GlobalPoint &position, double cosTheta) |
void | leaveDetector (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 | |
MaterialAccountingDetector | m_detector |
std::vector < MaterialAccountingDetector > | m_detectors |
std::vector < MaterialAccountingStep > | m_steps |
MaterialAccountingStep | m_total |
Definition at line 10 of file MaterialAccountingTrack.h.
|
private |
|
inline |
Definition at line 16 of file MaterialAccountingTrack.h.
References kDetectors, kSteps, m_detectors, and m_steps.
|
inline |
Definition at line 41 of file MaterialAccountingTrack.h.
References m_detectors.
Referenced by DD4hep_TrackingMaterialAnalyser::split(), and TrackingMaterialAnalyser::split().
|
inline |
Definition at line 43 of file MaterialAccountingTrack.h.
References m_detectors.
void MaterialAccountingTrack::enterDetector | ( | const GlobalPoint & | position, |
double | cosTheta | ||
) |
Definition at line 6 of file MaterialAccountingTrack.cc.
References MaterialAccountingStep::length(), MaterialAccountingDetector::m_cosThetaIn, MaterialAccountingDetector::m_curvilinearIn, m_detector, MaterialAccountingDetector::m_position, m_total, and position.
void MaterialAccountingTrack::leaveDetector | ( | double | cosTheta | ) |
Definition at line 12 of file MaterialAccountingTrack.cc.
References MaterialAccountingDetector::clear(), MaterialAccountingStep::length(), MaterialAccountingDetector::m_cosThetaOut, MaterialAccountingDetector::m_curvilinearOut, m_detector, m_detectors, and m_total.
|
inline |
Definition at line 21 of file MaterialAccountingTrack.h.
References MaterialAccountingStep::clear(), MaterialAccountingDetector::clear(), kDetectors, kSteps, m_detector, m_detectors, m_steps, and m_total.
|
inline |
Definition at line 31 of file MaterialAccountingTrack.h.
References m_steps, and m_total.
|
inline |
Definition at line 45 of file MaterialAccountingTrack.h.
References m_steps.
Referenced by DD4hep_TrackingMaterialAnalyser::split(), and TrackingMaterialAnalyser::split().
|
inline |
Definition at line 47 of file MaterialAccountingTrack.h.
References m_steps.
|
inline |
Definition at line 39 of file MaterialAccountingTrack.h.
References m_total.
Referenced by DD4hep_TrackingMaterialAnalyser::split(), and TrackingMaterialAnalyser::split().
|
private |
Definition at line 51 of file MaterialAccountingTrack.h.
Referenced by enterDetector(), leaveDetector(), and reset().
|
private |
Definition at line 53 of file MaterialAccountingTrack.h.
Referenced by detectors(), leaveDetector(), MaterialAccountingTrack(), and reset().
|
private |
Definition at line 52 of file MaterialAccountingTrack.h.
Referenced by MaterialAccountingTrack(), reset(), step(), and steps().
|
private |
Definition at line 50 of file MaterialAccountingTrack.h.
Referenced by enterDetector(), leaveDetector(), reset(), step(), and summary().