1 #ifndef MaterialAccountingStep_h 2 #define MaterialAccountingStep_h 43 std::pair<MaterialAccountingStep, MaterialAccountingStep>
split(
double fraction)
const {
54 return std::make_pair(part1, part2);
150 #endif // MaterialAccountingStep_h MaterialAccountingStep operator*(const MaterialAccountingStep &x, const MaterialAccountingStep &y)
Global3DPoint GlobalPoint
MaterialAccountingStep(void)
MaterialAccountingStep & operator*=(const MaterialAccountingStep &step)
multiply two steps, usefull to implement (co)variance
MaterialAccountingStep & operator*=(double x)
multiply by a scalar
const GlobalPoint & in(void) const
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::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
MaterialAccountingStep & operator+=(const MaterialAccountingStep &step)
add a step
double m_radiationLengths
std::pair< MaterialAccountingStep, MaterialAccountingStep > split(double fraction) const
split the step (0..1) in (0..f) + (f..1) using linear interpolation
double length(void) const
MaterialAccountingStep & operator/=(double x)
divide by a scalar
MaterialAccountingStep operator/(const MaterialAccountingStep &x, double y)
MaterialAccountingStep operator-(const MaterialAccountingStep &x, const MaterialAccountingStep &y)
const GlobalPoint & out(void) const
MaterialAccountingStep & operator-=(const MaterialAccountingStep &step)
subtract a step
static int position[264][3]
MaterialAccountingStep(double position, double radlen, double loss, const GlobalPoint &in, const GlobalPoint &out)
double radiationLengths(void) const
double energyLoss(void) const
MaterialAccountingStep operator+(const MaterialAccountingStep &x, const MaterialAccountingStep &y)