CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
24 class BeamHaloPropagator final : public Propagator {
25 public:
26  /* Constructor */
28  BeamHaloPropagator(const Propagator* aEndCapTkProp,
29  const Propagator* aCrossTkProp,
30  const MagneticField* field,
32 
34  BeamHaloPropagator(const Propagator& aEndCapTkProp,
35  const Propagator& aCrossTkProp,
36  const MagneticField* field,
38 
41 
43  ~BeamHaloPropagator() override;
44 
46  BeamHaloPropagator* clone() const override {
47  return new BeamHaloPropagator(
49  }
50 
55  }
56 
59 
60 private:
61  std::pair<TrajectoryStateOnSurface, double> propagateWithPath(const FreeTrajectoryState& fts,
62  const Plane& plane) const override;
63 
64  std::pair<TrajectoryStateOnSurface, double> propagateWithPath(const FreeTrajectoryState& fts,
65  const Cylinder& cylinder) const override;
66 
68  bool crossingTk(const FreeTrajectoryState& fts, const Plane& plane) const;
69 
71  const Propagator* getEndCapTkPropagator() const;
73  const Propagator* getCrossTkPropagator() const;
75  const MagneticField* magneticField() const override { return theField; }
76 
77 private:
79 
83 
84 protected:
85 };
86 
87 #endif
virtual void setPropagationDirection(PropagationDirection dir)
Definition: Propagator.h:130
Propagator * theCrossTkProp
const Propagator * getCrossTkPropagator() const
return the propagator used to cross the tracker
BeamHaloPropagator(const Propagator *aEndCapTkProp, const Propagator *aCrossTkProp, const MagneticField *field, PropagationDirection dir=alongMomentum)
Defines which propagator is used inside endcap and in barrel.
const MagneticField * magneticField() const override
return the magneticField
void setPropagationDirection(PropagationDirection dir) override
virtual PropagationDirection propagationDirection() const final
Definition: Propagator.h:139
void directionCheck(PropagationDirection dir)
PropagationDirection
Definition: Plane.h:16
BeamHaloPropagator * clone() const override
Virtual constructor (using copy c&#39;tor)
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:10
bool crossingTk(const FreeTrajectoryState &fts, const Plane &plane) const
true if the plane and the fts z position have different sign
~BeamHaloPropagator() override
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
Definition: Propagator.h:50
const MagneticField * theField
Propagator * theEndCapTkProp
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &fts, const Plane &plane) const override