1 #ifndef MaterialAccountingStep_h
2 #define MaterialAccountingStep_h
64 std::pair<MaterialAccountingStep, MaterialAccountingStep>
split(
double fraction )
const {
79 (1 - fraction) * m_radiationLengths,
80 (1 - fraction) * m_energyLoss,
83 return std::make_pair( part1, part2 );
195 #endif // MaterialAccountingStep_h
MaterialAccountingStep & operator=(const MaterialAccountingStep &step)
assignement operator
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
MatrixMeschach operator+(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
MatrixMeschach operator-(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
double length(void) const
Global3DPoint GlobalPoint
MaterialAccountingStep(void)
double radiationLengths(void) const
MaterialAccountingStep & operator*=(const MaterialAccountingStep &step)
multiply two steps, usefull to implement (co)variance
MaterialAccountingStep & operator*=(double x)
multiply by a scalar
double energyLoss(void) const
Basic3DVector< long double > operator/(const Basic3DVector< long double > &v, S s)
static int position[TOTALCHAMBERS][3]
MaterialAccountingStep & operator+=(const MaterialAccountingStep &step)
add a step
double m_radiationLengths
MaterialAccountingStep & operator/=(double x)
divide by a scalar
std::pair< MaterialAccountingStep, MaterialAccountingStep > split(double fraction) const
split the step (0..1) in (0..f) + (f..1) using linear interpolation
const GlobalPoint & out(void) const
MaterialAccountingStep & operator-=(const MaterialAccountingStep &step)
subtract a step
MaterialAccountingStep(double position, double radlen, double loss, const GlobalPoint &in, const GlobalPoint &out)
const GlobalPoint & in(void) const
MatrixMeschach operator*(const MatrixMeschach &mat1, const MatrixMeschach &mat2)