Posibility to use TPC&TOF on the combined PID (R.Romita)
authorzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 May 2013 11:57:26 +0000 (11:57 +0000)
committerzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 May 2013 11:57:26 +0000 (11:57 +0000)
PWGHF/vertexingHF/AliAODPidHF.cxx
PWGHF/vertexingHF/AliAODPidHF.h

index e510264..e4e7b46 100644 (file)
@@ -942,6 +942,9 @@ void AliAODPidHF::SetUpCombinedPID(){
   case kTPCTOF:
    fPidCombined->SetDetectorMask(AliPIDResponse::kDetTPC|AliPIDResponse::kDetTOF);
   break;
+  case kTPCAndTOF:
+    fPidCombined->SetDetectorMask(AliPIDResponse::kDetTPC & AliPIDResponse::kDetTOF);
+    break;
   case kTPCITS:
    fPidCombined->SetDetectorMask(AliPIDResponse::kDetTPC|AliPIDResponse::kDetITS);
   break;
index 58d476d..46b37e9 100644 (file)
@@ -28,7 +28,8 @@ class AliAODPidHF : public AliAODPid{
   kTPC,
   kTOF,
   kTPCTOF,
-  kTPCITS
+  kTPCITS,
+  kTPCAndTOF
  };
 
  AliAODPidHF();