#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 13 of file MaterialAccountingStep.h.
|
inline |
Definition at line 16 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 36 of file MaterialAccountingStep.h.
References m_energyLoss.
Referenced by DD4hep_MaterialAccountingGroup::averageEnergyLoss(), MaterialAccountingGroup::averageEnergyLoss(), DD4hep_MaterialAccountingGroup::endOfTrack(), MaterialAccountingGroup::endOfTrack(), DD4hep_MaterialAccountingGroup::sigmaEnergyLoss(), and MaterialAccountingGroup::sigmaEnergyLoss().
|
inline |
Definition at line 38 of file MaterialAccountingStep.h.
References m_in.
Referenced by DD4hep_MaterialAccountingGroup::endOfTrack(), and MaterialAccountingGroup::endOfTrack().
|
inline |
Definition at line 32 of file MaterialAccountingStep.h.
References m_length.
Referenced by DD4hep_MaterialAccountingGroup::averageLength(), MaterialAccountingGroup::averageLength(), MaterialAccountingTrack::enterDetector(), MaterialAccountingTrack::leaveDetector(), DD4hep_MaterialAccountingGroup::sigmaLength(), and MaterialAccountingGroup::sigmaLength().
|
inline |
multiply two steps, usefull to implement (co)variance
Definition at line 100 of file MaterialAccountingStep.h.
References m_energyLoss, m_length, and m_radiationLengths.
|
inline |
multiply by a scalar
Definition at line 108 of file MaterialAccountingStep.h.
References m_energyLoss, m_length, m_radiationLengths, and x.
|
inline |
add a step
Definition at line 68 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 84 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 116 of file MaterialAccountingStep.h.
References m_energyLoss, m_length, m_radiationLengths, and x.
|
inline |
assignement operator
Definition at line 58 of file MaterialAccountingStep.h.
References m_energyLoss, m_in, m_length, m_out, and m_radiationLengths.
|
inline |
Definition at line 40 of file MaterialAccountingStep.h.
References m_out.
Referenced by DD4hep_MaterialAccountingGroup::endOfTrack(), and MaterialAccountingGroup::endOfTrack().
|
inline |
Definition at line 34 of file MaterialAccountingStep.h.
References m_radiationLengths.
Referenced by DD4hep_MaterialAccountingGroup::averageRadiationLengths(), MaterialAccountingGroup::averageRadiationLengths(), DD4hep_MaterialAccountingGroup::endOfTrack(), MaterialAccountingGroup::endOfTrack(), DD4hep_MaterialAccountingGroup::sigmaRadiationLengths(), and MaterialAccountingGroup::sigmaRadiationLengths().
|
inline |
split the step (0..1) in (0..f) + (f..1) using linear interpolation
Definition at line 43 of file MaterialAccountingStep.h.
References HLT_2022v12_cff::fraction, remoteMonitoring_LASER_era2018_cfg::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().
|
private |
Definition at line 27 of file MaterialAccountingStep.h.
Referenced by clear(), energyLoss(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and split().
|
private |
Definition at line 28 of file MaterialAccountingStep.h.
Referenced by clear(), in(), operator+=(), operator-=(), operator=(), and split().
|
private |
Definition at line 25 of file MaterialAccountingStep.h.
Referenced by clear(), length(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and split().
|
private |
Definition at line 29 of file MaterialAccountingStep.h.
Referenced by clear(), operator+=(), operator-=(), operator=(), out(), and split().
|
private |
Definition at line 26 of file MaterialAccountingStep.h.
Referenced by clear(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), radiationLengths(), and split().