Skip to content

Commit c44d306

Browse files
author
Lovisa
committed
Including function to set tracker bounds of theSequentialFitter
1 parent 38e3ea5 commit c44d306

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

RecoVertex/KalmanVertexFit/interface/KalmanVertexFitter.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ class KalmanVertexFitter : public VertexFitter<5> {
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+
4448
public:
4549
typedef CachingVertex<5>::RefCountedVertexTrack RefCountedVertexTrack;
4650

@@ -108,7 +112,7 @@ class KalmanVertexFitter : public VertexFitter<5> {
108112

109113
edm::ParameterSet defaultParameters() const;
110114

111-
const SequentialVertexFitter<5>* theSequentialFitter;
115+
SequentialVertexFitter<5>* theSequentialFitter;
112116
};
113117

114118
#endif

0 commit comments

Comments
 (0)