ESDevent->VertexTPC is filled (the vertex is needed for dNdPt analysis )
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Oct 2010 21:13:28 +0000 (21:13 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Oct 2010 21:13:28 +0000 (21:13 +0000)
HLT/global/AliHLTGlobalVertexerComponent.cxx

index aa532d1bbfd46f9ee97d7c220efd07d979e81f34..f11196c1b11c0d1efe68f4b0345e1c9d25c9fc62 100644 (file)
@@ -699,6 +699,7 @@ void AliHLTGlobalVertexerComponent::FillESD( AliESDEvent *event, AliHLTGlobalVer
   if( data->fPrimNContributors >=3 ){
 
     AliESDVertex vESD( data->fPrimP, data->fPrimC, data->fPrimChi2, data->fPrimNContributors );
+    event->SetPrimaryVertexTPC( &vESD );
     event->SetPrimaryVertexTracks( &vESD );
 
     // relate tracks to the primary vertex