@@ -27,24 +27,20 @@ class KalmanVertexFitter : public VertexFitter<5> {
2727 * \param useSmoothing Specifies whether the tracks should be refit or not.
2828 */
2929
30- KalmanVertexFitter (bool useSmoothing = false );
30+ KalmanVertexFitter (bool useSmoothing = false , bool useMuonSystemBounds = false );
3131
3232 /* *
3333 * Same as above, using a ParameterSet to set the convergence criteria
3434 */
3535
36- KalmanVertexFitter (const edm::ParameterSet& pSet, bool useSmoothing = false );
36+ KalmanVertexFitter (const edm::ParameterSet& pSet, bool useSmoothing = false , bool useMuonSystemBounds = false );
3737
3838 KalmanVertexFitter (const KalmanVertexFitter& other) : theSequentialFitter(other.theSequentialFitter->clone ()) {}
3939
4040 ~KalmanVertexFitter () override { delete theSequentialFitter; }
4141
4242 KalmanVertexFitter* clone () const override { return new KalmanVertexFitter (*this ); }
4343
44- void setTrackerBounds (float trackerBoundsRadius, float trackerBoundsHalfLength) {
45- theSequentialFitter->setTrackerBounds (trackerBoundsRadius, trackerBoundsHalfLength);
46- }
47-
4844public:
4945 typedef CachingVertex<5 >::RefCountedVertexTrack RefCountedVertexTrack;
5046
@@ -108,11 +104,14 @@ class KalmanVertexFitter : public VertexFitter<5> {
108104 // edm::ParameterSet defaultParameters() const;
109105
110106private:
111- void setup (const edm::ParameterSet& pSet, bool useSmoothing);
107+ void setup (const edm::ParameterSet& pSet, bool useSmoothing, bool useMuonSystemBounds );
112108
113109 edm::ParameterSet defaultParameters () const ;
114110
115111 SequentialVertexFitter<5 >* theSequentialFitter;
112+
113+ float muonSystemBoundsRadius{740 .};
114+ float muonSystemBoundsHalfLength{960 .};
116115};
117116
118117#endif
0 commit comments