]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/CalibMacros/PassX/rec.C
Move the calibration macros to PWG1 (Marian)
[u/mrichter/AliRoot.git] / ANALYSIS / CalibMacros / PassX / rec.C
diff --git a/ANALYSIS/CalibMacros/PassX/rec.C b/ANALYSIS/CalibMacros/PassX/rec.C
deleted file mode 100644 (file)
index e2db10d..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-void rec(const char *filename="raw.root")
-{
-  /////////////////////////////////////////////////////////////////////////////////////////
-  //
-  // Reconstruction script for 2009 RAW data
-  //
-  /////////////////////////////////////////////////////////////////////////////////////////
-
-  
-  // Set the CDB storage location
-  AliCDBManager * man = AliCDBManager::Instance();
-  man->SetDefaultStorage("raw://");
-  
-  // Reconstruction settings
-  AliReconstruction rec;
-
-  // Set protection against too many events in a chunk (should not happen)
-  //  rec.SetEventRange(0,30000);
-
-  // Set reconstruction flags (skip detectors here if neded
-  rec.SetRunReconstruction("ITS TPC TRD TOF");
-  //rec.SetFillESD("ITS TPC TRD");
-  // QA options
-  //rec.SetRunQA("Global:ESDs") ;
-  
-  //rec.SetRunQA(":") ;
-  AliQAManager *qam = AliQAManager::QAManager(AliQAv1::kRECMODE) ;
-  rec.SetRunQA(":");
-  rec.SetRunGlobalQA(kFALSE);
-  //ITS QA Off (https://savannah.cern.ch/bugs/?60187)   
-  //rec.SetRunQA("ALL -HLT:ALL") ;
-
-  //rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
-
-  // AliReconstruction settings
-  rec.SetWriteESDfriend(kTRUE);
-  rec.SetWriteAlignmentData();
-  rec.SetInput(filename);
-  rec.SetUseTrackingErrorsForAlignment("ITS");
-
-
-  // Specially for ITS (https://savannah.cern.ch/bugs/?59368)
-
-  rec.SetRunPlaneEff(kTRUE); 
-
-  // switch off cleanESD
-  rec.SetCleanESD(kFALSE);
-
-  //Ignore SetStopOnError
-  rec.SetStopOnError(kFALSE);
-
-  AliLog::Flush();
-  rec.Run();
-
-}