#include <MaterialAccountingTrack.h>
Public Member Functions | |
std::vector< MaterialAccountingDetector > & | detectors () |
const std::vector< MaterialAccountingDetector > & | detectors () const |
void | enterDetector (const GlobalPoint &position, double cosTheta) |
void | leaveDetector (double cosTheta) |
MaterialAccountingTrack (void) | |
void | reset (void) |
void | step (const MaterialAccountingStep &step) |
std::vector< MaterialAccountingStep > & | steps () |
const std::vector< MaterialAccountingStep > & | steps () const |
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 |
|
inline |
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 |
|
inline |
|
inline |
|
inline |
|
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().