CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GsfPropagatorAdapter.cc
Go to the documentation of this file.
2 
5 
7  Propagator(aPropagator.propagationDirection()),
8  thePropagator(aPropagator.clone()) {}
9 
10 std::pair<TrajectoryStateOnSurface,double>
12  const Plane& plane) const {
14  return multiPropagator.propagateWithPath(tsos,plane);
15 }
16 
17 std::pair<TrajectoryStateOnSurface,double>
19  const Cylinder& cylinder) const {
21  return multiPropagator.propagateWithPath(tsos,cylinder);
22 }
23 
24 std::pair<TrajectoryStateOnSurface,double>
26  const Plane& plane) const {
28  static int nWarn(0);
29  if ( nWarn++<5 )
30  edm::LogInfo("GsfPropagatorAdapter") << "GsfPropagator used from FTS = single state mode!";
31  return thePropagator->propagateWithPath(fts,plane);
32 }
33 
34 std::pair<TrajectoryStateOnSurface,double>
36  const Cylinder& cylinder) const {
38  static int nWarn(0);
39  if ( nWarn++<5 )
40  edm::LogInfo("GsfPropagatorAdapter") << "GsfPropagator used from FTS = single state mode!";
41  return thePropagator->propagateWithPath(fts,cylinder);
42 }
43 
47 }
GsfPropagatorAdapter(const Propagator &Propagator)
Constructor with explicit propagator.
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const TrajectoryStateOnSurface &tsos, const Surface &surface) const
PropagationDirection
Definition: Plane.h:17
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const
Definition: Propagator.cc:77
virtual void setPropagationDirection(PropagationDirection dir) const
DeepCopyPointerByClone< Propagator > thePropagator
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135
virtual void setPropagationDirection(PropagationDirection dir) const
Definition: Propagator.h:132
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const TrajectoryStateOnSurface &tsos, const T &surface) const
dbl *** dir
Definition: mlp_gen.cc:35