Corrected reconstruction flags (Yu.Belikov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Mar 2004 10:07:49 +0000 (10:07 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Mar 2004 10:07:49 +0000 (10:07 +0000)
ITS/AliV0vertexer.cxx

index dfce6a334eedd10d8053ff0f9dac62cfc0fae718..33df560ca8394d5ac0b411fe2ba5b5d7291a70a4 100644 (file)
@@ -46,10 +46,11 @@ Int_t AliV0vertexer::Tracks2V0vertices(AliESD *event) {
    for (i=0; i<nentr; i++) {
      AliESDtrack *esd=event->GetTrack(i);
      UInt_t status=esd->GetStatus();
-     UInt_t flags=AliESDtrack::kITSin|AliESDtrack::kTPCin;
+     UInt_t flags=AliESDtrack::kITSin|AliESDtrack::kTPCin|
+                  AliESDtrack::kTPCpid|AliESDtrack::kESDpid;
 
      if ((status&AliESDtrack::kITSrefit)==0)
-        if ((status&flags)!=status) continue;
+        if (flags!=status) continue;
 
      AliITStrackV2 *iotrack=new AliITStrackV2(*esd);
      iotrack->SetLabel(i);  // now it is the index in array of ESD tracks