]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/macros/train/RsnConfig.C
Added a CORRFW analysis task for selection of single tracks with the same style as...
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / macros / train / RsnConfig.C
index 49a5f2a9015ce2123950e906251be9829fc05dea..4d3ac8422fd0a7a595376e01fa54cbf912f57817 100644 (file)
@@ -23,25 +23,7 @@ AliRsnPairManager* RsnConfig
 
   // === NAME DEFINITIONS =========================================================================
 
-  // check if the pid type is one among the allowed ones
-  TString strMgrName(pairMgrName);
-  switch (pidType)
-  {
-    case AliRsnPair::kNoPID:
-      strMgrName.Append("_NoPID");
-      break;
-    case AliRsnPair::kPerfectPID:
-      strMgrName.Append("_PerfectPID");
-      break;
-    case AliRsnPair::kRealisticPID:
-      strMgrName.Append("_RealisticPID");
-      break;
-    default:
-      Error("ConfigRsn", "PID method not recognized.");
-      return 0x0;
-  }
-  
-  AliRsnPairManager  *pairMgr  = new AliRsnPairManager(strMgrName.Data());
+  AliRsnPairManager  *pairMgr  = new AliRsnPairManager(pairMgrName);
 
   // === PAIR DEFINITIONS =========================================================================