]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed some wrong commit
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Nov 2011 09:40:24 +0000 (09:40 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Nov 2011 09:40:24 +0000 (09:40 +0000)
ANALYSIS/examples/AliAnalysisTaskEx01.cxx
ANALYSIS/examples/runEx01.C

index f09585a8f6879c49b4ec0db1104056ae2b4ccf9d..252a05263b99323bc533905aba5ff37a4517f39b 100644 (file)
@@ -156,7 +156,6 @@ void AliAnalysisTaskEx01::UserExec(Option_t *)
         
         
     // Create pointer to reconstructed event
-    return;
     AliVEvent *event = InputEvent();
     if (!event) { Printf("ERROR: Could not retrieve event"); return; }
 
@@ -239,7 +238,6 @@ void AliAnalysisTaskEx01::Terminate(Option_t *)
 {
     // Draw result to screen, or perform fitting, normalizations
     // Called once at the end of the query
-    return;    
     fOutput = dynamic_cast<TList*> (GetOutputData(1));
     if(!fOutput) { Printf("ERROR: could not retrieve TList fOutput"); return; }
         
index 3871018c8ec2a7a2a8ea1732564288bd8f72901f..e9de5e51f41c6df6c704e12b3e60c93dbeadc358 100644 (file)
@@ -9,11 +9,11 @@ class AliAnalysisGrid;
 
 //______________________________________________________________________________
 void runEx01(
-         const char* runtype = "local", // local, proof or grid
-         const char *gridmode = "test", // Set the run mode (can be "full", "test", "offline", "submit" or "terminate"). Full & Test work for proof
+         const char* runtype = "proof", // local, proof or grid
+         const char *gridmode = "full", // Set the run mode (can be "full", "test", "offline", "submit" or "terminate"). Full & Test work for proof
          const bool bMCtruth = 0, // 1 = MCEvent handler is on (MC truth), 0 = MCEvent handler is off (MC reconstructed/real data)
          const bool bMCphyssel = 0, // 1 = looking at MC truth or reconstructed, 0 = looking at real data
-         const Long64_t nentries = 50000000, // for local and proof mode, ignored in grid mode. Set to 1234567890 for all events.
+         const Long64_t nentries = 2000, // for local and proof mode, ignored in grid mode. Set to 1234567890 for all events.
          const Long64_t firstentry = 0, // for local and proof mode, ignored in grid mode
          const char *proofdataset = "/alice/data/LHC10c_000120821_p1", // path to dataset on proof cluster, for proof analysis
          const char *proofcluster = "alice-caf.cern.ch", // which proof cluster to use in proof mode
@@ -52,10 +52,10 @@ void runEx01(
     AliAnalysisGrid *plugin = CreateAlienHandler(taskname, gridmode, proofcluster, proofdataset); 
     mgr->SetGridHandler(plugin);
     
-//    AliVEventHandler* iH = new AliESDInputHandler();
-    AliAODInputHandler* iH = new AliAODInputHandler();
+    AliVEventHandler* iH = new AliESDInputHandler();
+//    AliAODInputHandler* iH = new AliAODInputHandler();
 //    iH->SetInactiveBranches("tracks. vertices. v0s. cascades. jets. caloClusters. fmdClusters. pmdClusters. dimuons. AliAODZDC");
-    iH->SetInactiveBranches("*");
+//    iH->SetInactiveBranches("*");
 //    iH->SetCheckStatistics(kTRUE);
     mgr->SetInputEventHandler(iH);
         
@@ -145,7 +145,7 @@ AliAnalysisGrid* CreateAlienHandler(const char *taskname, const char *gridmode,
     plugin->SetAliROOTVersion("v4-21-25-AN-1");
 
     // Declare input data to be processed.
-    plugin->SetCheckCopy(kFALSE);
+//    plugin->SetCheckCopy(kFALSE);
 
     // Method 1: Create automatically XML collections using alien 'find' command.
     // Define production directory LFN
@@ -249,7 +249,7 @@ AliAnalysisGrid* CreateAlienHandler(const char *taskname, const char *gridmode,
     // May request ClearPackages (individual ClearPackage not supported)
     plugin->SetClearPackages(kFALSE);
     // Plugin test mode works only providing a file containing test file locations, used in "local" mode also
-    plugin->SetFileForTestMode("filesaod.txt"); // file should contain path name to a local directory containg *ESDs.root etc
+    plugin->SetFileForTestMode("files.txt"); // file should contain path name to a local directory containg *ESDs.root etc
     // Request connection to alien upon connection to grid
     plugin->SetProofConnectGrid(kFALSE);
     // Other PROOF specific parameters