]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
ITS pid
authorrbailhac <rbailhac@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Oct 2013 15:07:13 +0000 (15:07 +0000)
committerrbailhac <rbailhac@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Oct 2013 15:07:13 +0000 (15:07 +0000)
PWGHF/hfe/AliHFEpid.cxx

index 10307b6eae7b3b037e2367e16969ea6f128c018d..e27fa5e0cc87edd6800fef6f3ea1f4f26746c853 100644 (file)
@@ -97,6 +97,7 @@ AliHFEpid::AliHFEpid(const Char_t *name):
   fDetectorPID[kBAYESpid] = new AliHFEpidBayes("BAYESPID");
   fDetectorPID[kTPCpid] = new AliHFEpidTPC("TPCPID");
   fDetectorPID[kTRDpid] = new AliHFEpidTRD("TRDPID");
+  fDetectorPID[kITSpid] = new AliHFEpidITS("ITSPID");
   fDetectorPID[kTOFpid] = new AliHFEpidTOF("TOFPID");
   fDetectorPID[kEMCALpid] = new AliHFEpidEMCAL("EMCALPID");
 
@@ -212,6 +213,7 @@ void AliHFEpid::AddDetector(TString detector, UInt_t position){
   else if(!detector.CompareTo("TPC")) detectorID = kTPCpid;
   else if(!detector.CompareTo("TRD")) detectorID = kTRDpid;
   else if(!detector.CompareTo("TOF")) detectorID = kTOFpid;
+  else if(!detector.CompareTo("ITS")) detectorID = kITSpid;
   else if(!detector.CompareTo("EMCAL")) detectorID = kEMCALpid;
   else AliError("Detector not available");