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 e5102640ca95c523e95d8831a3ea89778dcc9fd4..e4e7b46bbaaad856753575a61eb7c1d60538b634 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 58d476d310cfaa753ebb1a1a17028e309cc06817..46b37e959aae5e81d6b98065b445668c0c52ea6a 100644 (file)
@@ -28,7 +28,8 @@ class AliAODPidHF : public AliAODPid{
   kTPC,
   kTOF,
   kTPCTOF,
-  kTPCITS
+  kTPCITS,
+  kTPCAndTOF
  };
 
  AliAODPidHF();