 |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/MsgStream.h"
44 if ((fabs(
energy()) > 1
e-9) && (fabs(
other.energy()) > 1
e-9)) {
47 double eabssum = fabs(
energy()) + fabs(
other.energy());
49 double w1 = fabs(
energy()) / eabssum;
50 double w2 = fabs(
other.energy()) / eabssum;
56 }
else if (fabs(
energy()) < 1
e-9) {
58 setEnergy(
other.energy());
59 setP(
other.position());
60 setTime(
other.time());
61 }
else if (fabs(
other.energy()) < 1
e-9) {
66 <<
"\nOriginal hit: " <<
energy() <<
" " << position()
67 <<
"\nSecond hit: " <<
other.energy() <<
" "
const Identifier & identify(const UncalibratedMeasurement *meas)
Returns the associated identifier from the muon measurement.
FCS_StepInfo & operator+=(const FCS_StepInfo &other)
energy weighted sum
CLHEP::Hep3Vector position() const
return spacial position
def time(flags, cells_name, *args, **kw)
#define ATH_MSG_WARNING(x)
PixelDiodeTree::Vector2D m_pos
double diff2(const FCS_StepInfo &other) const
return spactial distance squared