Fix for bug #75632: Occasional failures in AliVertexerTracks (vertex with global...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Nov 2010 14:30:21 +0000 (14:30 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Nov 2010 14:30:21 +0000 (14:30 +0000)
STEER/AliVertexerTracks.h

index f6d491f..4730e28 100644 (file)
@@ -80,7 +80,7 @@ class AliVertexerTracks : public TObject {
                   Int_t finderAlgo=1,
                   Int_t finderAlgoIter0=4); 
   void  SetCuts(Double_t *cuts);
-  void  SetConstraintOff() { fConstraint=kFALSE; return; }
+  void  SetConstraintOff() { fConstraint=kFALSE; SetVtxStart(); SetVtxStartSigma(); return; }
   void  SetConstraintOn() { fConstraint=kTRUE; return; }
   void  SetDCAcut(Double_t maxdca) { fDCAcut=maxdca; return; }
   void  SetDCAcutIter0(Double_t maxdca) { fDCAcutIter0=maxdca; return; }