test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BeamHaloPropagator.h
Go to the documentation of this file.
1 #ifndef GeomPropagators_BeamHaloPropagator_H
2 #define GeomPropagators_BeamHaloPropagator_H
3 
14 /* Collaborating Class Declarations */
21 
22 /* Class BeamHaloPropagator Interface */
23 
25 
26  public:
27 
28  /* Constructor */
30  BeamHaloPropagator(const Propagator* aEndCapTkProp, const Propagator* aCrossTkProp, const MagneticField* field,
32 
34  BeamHaloPropagator(const Propagator& aEndCapTkProp,const Propagator& aCrossTkProp, const MagneticField* field,
36 
37 
40 
42  virtual ~BeamHaloPropagator() ;
43 
45  virtual BeamHaloPropagator* clone() const {
47  }
48 
49 
51  {
55  }
56 
59 
60  private:
61 
62  std::pair<TrajectoryStateOnSurface,double>
64  const Plane& plane) const;
65 
66 
67  std::pair<TrajectoryStateOnSurface,double>
69  const Cylinder& cylinder) const;
70 
71 
73  bool crossingTk(const FreeTrajectoryState& fts, const Plane& plane) const ;
74 
76  const Propagator* getEndCapTkPropagator() const ;
78  const Propagator* getCrossTkPropagator() const ;
80  virtual const MagneticField* magneticField() const {return theField;}
81 
82  private:
84 
88 
89  protected:
90 
91 };
92 
93 #endif
94 
95 
virtual FreeTrajectoryState propagate(const FreeTrajectoryState &ftsStart, const GlobalPoint &pDest) const final
Definition: Propagator.h:119
virtual void setPropagationDirection(PropagationDirection dir)
Definition: Propagator.h:144
Propagator * theCrossTkProp
#define GCC11_FINAL
const Propagator * getCrossTkPropagator() const
return the propagator used to cross the tracker
virtual PropagationDirection propagationDirection() const
Definition: Propagator.h:155
BeamHaloPropagator(const Propagator *aEndCapTkProp, const Propagator *aCrossTkProp, const MagneticField *field, PropagationDirection dir=alongMomentum)
Defines which propagator is used inside endcap and in barrel.
void setPropagationDirection(PropagationDirection dir) override
void directionCheck(PropagationDirection dir)
PropagationDirection
virtual BeamHaloPropagator * clone() const
Virtual constructor (using copy c&#39;tor)
Definition: Plane.h:17
const Propagator * getEndCapTkPropagator() const
return the propagator used in endcaps
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const final
Definition: Propagator.cc:15
bool crossingTk(const FreeTrajectoryState &fts, const Plane &plane) const
true if the plane and the fts z position have different sign
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &fts, const Plane &plane) const
virtual const MagneticField * magneticField() const
return the magneticField
const MagneticField * theField
dbl *** dir
Definition: mlp_gen.cc:35
Propagator * theEndCapTkProp