using AliESDtrackCuts instead
authorekman <ekman@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 May 2006 13:29:23 +0000 (13:29 +0000)
committerekman <ekman@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 May 2006 13:29:23 +0000 (13:29 +0000)
PWG0/esdTrackCuts/testESDtrackCuts.C

index 2d75edae45c741e949252d4f1600a3931870c02a..7c35b809dbb43e1653e44fb67cbd898b242e21d7 100644 (file)
@@ -2,12 +2,12 @@ testESDtrackCuts(Char_t* dataDir=, Int_t nRuns=10) {
 
   Char_t str[256];
 
-  gSystem->Load("libESDtrackQuality.so");
+  gSystem->Load("libESDtrackCuts.so");
 
   // ########################################################
   // definition of ESD track cuts
 
-  ESDtrackQualityCuts* trackCuts = new ESDtrackQualityCuts();
+  AliESDtrackCuts* trackCuts = new AliESDtrackCuts();
   trackCuts->DefineHistograms(4);
 
   trackCuts->SetMinNClustersTPC(50);
@@ -18,7 +18,9 @@ testESDtrackCuts(Char_t* dataDir=, Int_t nRuns=10) {
   trackCuts->SetMinNsigmaToVertex(3);
   trackCuts->SetAcceptKingDaughters(kFALSE);
 
-  AliLog::SetClassDebugLevel("ESDtrackQualityCuts",1);
+  trackCuts->SetPRange(0.3);
+
+  AliLog::SetClassDebugLevel("AliESDtrackCuts",1);
 
   // ########################################################
   // definition of used pointers