Fix the number of contributors in case a vertex constraint is used (+1)
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Sep 2010 15:59:52 +0000 (15:59 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Sep 2010 15:59:52 +0000 (15:59 +0000)
STEER/AliAODVertex.cxx

index 33b3ad81194ba16d9cda1ade5f297dd40e96618c..0b4bf9127c92e8a6d8d2fb74e3e5405e67e01ea3 100644 (file)
@@ -275,7 +275,9 @@ Int_t AliAODVertex::GetNContributors() const
        if (!aodT) continue;
        if (aodT->GetUsedForPrimVtxFit()) cont++;
     } 
- }
+    // the constraint adds another DOF
+    if(vtitle.Contains("VertexerTracksWithConstraint"))cont++;
+  }
   return cont;
 }