36 msg(MSG::INFO) <<
" initialize()" <<
endmsg;
41 return StatusCode::FAILURE;
44 m_gaussDist =
new Rndm::Numbers(randSvc(), Rndm::Gauss(0.,1.));
45 m_flatDist =
new Rndm::Numbers(randSvc(), Rndm::Flat(0.,1.));
47 msg(MSG::INFO) <<
"initialize() successful in " <<
endmsg;
48 return StatusCode::SUCCESS;
56 return StatusCode::SUCCESS;
64 const EventContext& ctx = Gaudi::Hive::currentContext();
71 return StatusCode::FAILURE;
73 msg(MSG::INFO) <<
" boundary retrieved " <<
endmsg;
81 double theta = acos(ctheta);
102 msg(MSG::ERROR) <<
" extrapolation to outer boundary failed for input parameters: " << initialPerigee.parameters() <<
endmsg;
106 msg(MSG::INFO) <<
" outer boundary reached at: " << destParameters->
position().perp() <<
","<<destParameters->
position().z() <<
endmsg;
107 msg(MSG::INFO) <<
"cov matrix:"<< destParameters->covariance() <<
endmsg;
117 msg(MSG::INFO) <<
" extrapolation to perigee:input: " << initialPerigee.parameters() <<
endmsg;
118 msg(MSG::INFO) <<
" extrapolation to perigee:output: " << peri->parameters() <<
endmsg;
119 msg(MSG::INFO) <<
"cov matrix:"<< peri->covariance() <<
endmsg;
121 msg(MSG::ERROR) <<
" extrapolation to perigee failed for input parameters: " << destParameters->parameters() <<
endmsg;
126 delete destParameters;
128 return StatusCode::SUCCESS;
double charge(const T &p)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
const Amg::Vector3D & position() const
Access method for the position.
virtual ParametersT< DIM, T, S > * clone() const override final
Virtual clone.
virtual const S & associatedSurface() const override final
Access to the Surface method.
Class describing the Line to which the Perigee refers to.
static bool atVolumeBoundary(const Amg::Vector3D &gp, const TrackingVolume *vol, double tol)
check position at volume boundary
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.
ParametersBase< TrackParametersDim, Charged > TrackParameters