Go to the documentation of this file. 1 #ifndef MaterialAccountingStep_h
2 #define MaterialAccountingStep_h
43 std::pair<MaterialAccountingStep, MaterialAccountingStep>
split(
double fraction)
const {
54 return std::make_pair(part1, part2);
160 #endif // MaterialAccountingStep_h
MaterialAccountingStep(void)
MaterialAccountingStep & operator*=(const MaterialAccountingStep &step)
multiply two steps, usefull to implement (co)variance
const GlobalPoint & in(void) const
MaterialAccountingStep operator/(const MaterialAccountingStep &x, double y)
MaterialAccountingStep operator*(const MaterialAccountingStep &x, const MaterialAccountingStep &y)
Global3DPoint GlobalPoint
double m_radiationLengths
const GlobalPoint & out(void) const
MaterialAccountingStep & operator-=(const MaterialAccountingStep &step)
subtract a step
MaterialAccountingStep & operator*=(double x)
multiply by a scalar
MaterialAccountingStep operator+(const MaterialAccountingStep &x, const MaterialAccountingStep &y)
static int position[264][3]
std::pair< MaterialAccountingStep, MaterialAccountingStep > split(double fraction) const
split the step (0..1) in (0..f) + (f..1) using linear interpolation
MaterialAccountingStep & operator+=(const MaterialAccountingStep &step)
add a step
MaterialAccountingStep & operator/=(double x)
divide by a scalar
double energyLoss(void) const
double radiationLengths(void) const
double length(void) const
MaterialAccountingStep operator-(const MaterialAccountingStep &x, const MaterialAccountingStep &y)
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(double position, double radlen, double loss, const GlobalPoint &in, const GlobalPoint &out)
MaterialAccountingStep & operator=(const MaterialAccountingStep &step)
assignement operator