#include <MaterialAccountingStep.h>
Public Member Functions | |
void | clear (void) |
double | energyLoss (void) const |
const GlobalPoint & | in (void) const |
double | length (void) const |
MaterialAccountingStep (void) | |
MaterialAccountingStep (double position, double radlen, double loss, const GlobalPoint &in, const GlobalPoint &out) | |
MaterialAccountingStep & | operator*= (const MaterialAccountingStep &step) |
multiply two steps, usefull to implement (co)variance More... | |
MaterialAccountingStep & | operator*= (double x) |
multiply by a scalar More... | |
MaterialAccountingStep & | operator+= (const MaterialAccountingStep &step) |
add a step More... | |
MaterialAccountingStep & | operator-= (const MaterialAccountingStep &step) |
subtract a step More... | |
MaterialAccountingStep & | operator/= (double x) |
divide by a scalar More... | |
MaterialAccountingStep & | operator= (const MaterialAccountingStep &step) |
assignement operator More... | |
const GlobalPoint & | out (void) const |
double | radiationLengths (void) const |
std::pair < MaterialAccountingStep, MaterialAccountingStep > | split (double fraction) const |
split the step (0..1) in (0..f) + (f..1) using linear interpolation More... | |
Private Attributes | |
double | m_energyLoss |
GlobalPoint | m_in |
double | m_length |
GlobalPoint | m_out |
double | m_radiationLengths |
Definition at line 9 of file MaterialAccountingStep.h.
|
inline |
Definition at line 11 of file MaterialAccountingStep.h.
|
inline |
Definition at line 19 of file MaterialAccountingStep.h.
|
inline |
Definition at line 27 of file MaterialAccountingStep.h.
References m_energyLoss, m_in, m_length, m_out, and m_radiationLengths.
Referenced by MaterialAccountingDetector::clear(), and MaterialAccountingTrack::reset().
|
inline |
Definition at line 51 of file MaterialAccountingStep.h.
References m_energyLoss.
Referenced by MaterialAccountingGroup::averageEnergyLoss(), TrackingMaterialPlotter::plotSegmentInLayer(), TrackingMaterialPlotter::plotSegmentUnassigned(), MaterialAccountingGroup::sigmaEnergyLoss(), and TrackingMaterialProducer::update().
|
inline |
Definition at line 55 of file MaterialAccountingStep.h.
References m_in.
Referenced by TrackingMaterialPlotter::plotSegmentInLayer(), and TrackingMaterialPlotter::plotSegmentUnassigned().
|
inline |
Definition at line 43 of file MaterialAccountingStep.h.
References m_length.
Referenced by MaterialAccountingGroup::averageLength(), MaterialAccountingTrack::enterDetector(), MaterialAccountingTrack::leaveDetector(), TrackingMaterialPlotter::plotSegmentInLayer(), TrackingMaterialPlotter::plotSegmentUnassigned(), MaterialAccountingGroup::sigmaLength(), TrackingMaterialAnalyser::split(), and TrackingMaterialProducer::update().
|
inline |
multiply two steps, usefull to implement (co)variance
Definition at line 129 of file MaterialAccountingStep.h.
References m_energyLoss, m_length, and m_radiationLengths.
|
inline |
multiply by a scalar
Definition at line 137 of file MaterialAccountingStep.h.
References m_energyLoss, m_length, m_radiationLengths, and vdt::x.
|
inline |
add a step
Definition at line 97 of file MaterialAccountingStep.h.
References m_energyLoss, m_in, m_length, m_out, m_radiationLengths, or, and PV3DBase< T, PVType, FrameType >::perp2().
|
inline |
subtract a step
Definition at line 113 of file MaterialAccountingStep.h.
References m_energyLoss, m_in, m_length, m_out, m_radiationLengths, and PV3DBase< T, PVType, FrameType >::perp2().
|
inline |
divide by a scalar
Definition at line 145 of file MaterialAccountingStep.h.
References m_energyLoss, m_length, m_radiationLengths, and vdt::x.
|
inline |
assignement operator
Definition at line 87 of file MaterialAccountingStep.h.
References m_energyLoss, m_in, m_length, m_out, and m_radiationLengths.
|
inline |
Definition at line 59 of file MaterialAccountingStep.h.
References m_out.
Referenced by TrackingMaterialPlotter::plotSegmentInLayer(), and TrackingMaterialPlotter::plotSegmentUnassigned().
|
inline |
Definition at line 47 of file MaterialAccountingStep.h.
References m_radiationLengths.
Referenced by MaterialAccountingGroup::averageRadiationLengths(), TrackingMaterialPlotter::plotSegmentInLayer(), TrackingMaterialPlotter::plotSegmentUnassigned(), MaterialAccountingGroup::sigmaRadiationLengths(), and TrackingMaterialProducer::update().
|
inline |
split the step (0..1) in (0..f) + (f..1) using linear interpolation
Definition at line 64 of file MaterialAccountingStep.h.
References MessageLogger_cff::limit, m_energyLoss, m_in, m_length, m_out, m_radiationLengths, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by TrackingMaterialAnalyser::split().
|
private |
Definition at line 38 of file MaterialAccountingStep.h.
Referenced by clear(), energyLoss(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and split().
|
private |
Definition at line 39 of file MaterialAccountingStep.h.
Referenced by clear(), in(), operator+=(), operator-=(), operator=(), and split().
|
private |
Definition at line 36 of file MaterialAccountingStep.h.
Referenced by clear(), length(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and split().
|
private |
Definition at line 40 of file MaterialAccountingStep.h.
Referenced by clear(), operator+=(), operator-=(), operator=(), out(), and split().
|
private |
Definition at line 37 of file MaterialAccountingStep.h.
Referenced by clear(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), radiationLengths(), and split().