ROOT logo
//
//   rec.C to be used for pass0
//   

void rec(const char *filename="raw.root",Int_t nevents=-1)
{
  // Load some system libs for Grid and monitoring
  // Set the CDB storage location
  AliCDBManager * man = AliCDBManager::Instance();
  //man->SetDefaultStorage("raw://");
  man->SetDefaultStorage("local:///lustre/alice/alien/alice/data/2010/OCDB/");
  // Reconstruction settings
  AliReconstruction rec;

  // Set protection against too many events in a chunk (should not happen)
  if (nevents>0) rec.SetEventRange(0,nevents);

  // Switch off HLT until the problem with schema evolution resolved
  //rec.SetRunReconstruction("ALL-HLT");
  //
  // QA options
  //
  AliQAManager *qam = AliQAManager::QAManager(AliQAv1::kRECMODE) ;
  rec.SetRunQA(":");
  rec.SetRunGlobalQA(kFALSE);

  // AliReconstruction settings
  rec.SetWriteESDfriend(kTRUE);
  rec.SetWriteAlignmentData();
  rec.SetInput(filename);
  rec.SetUseTrackingErrorsForAlignment("ITS");
  rec.SetRunReconstruction("ITS TPC TRD TOF");
  rec.SetFillESD("ITS TPC TRD TOF");

  // switch off cleanESD
  rec.SetCleanESD(kFALSE);

  AliLog::Flush();
  rec.Run();

}


 recPass0GSI.C:1
 recPass0GSI.C:2
 recPass0GSI.C:3
 recPass0GSI.C:4
 recPass0GSI.C:5
 recPass0GSI.C:6
 recPass0GSI.C:7
 recPass0GSI.C:8
 recPass0GSI.C:9
 recPass0GSI.C:10
 recPass0GSI.C:11
 recPass0GSI.C:12
 recPass0GSI.C:13
 recPass0GSI.C:14
 recPass0GSI.C:15
 recPass0GSI.C:16
 recPass0GSI.C:17
 recPass0GSI.C:18
 recPass0GSI.C:19
 recPass0GSI.C:20
 recPass0GSI.C:21
 recPass0GSI.C:22
 recPass0GSI.C:23
 recPass0GSI.C:24
 recPass0GSI.C:25
 recPass0GSI.C:26
 recPass0GSI.C:27
 recPass0GSI.C:28
 recPass0GSI.C:29
 recPass0GSI.C:30
 recPass0GSI.C:31
 recPass0GSI.C:32
 recPass0GSI.C:33
 recPass0GSI.C:34
 recPass0GSI.C:35
 recPass0GSI.C:36
 recPass0GSI.C:37
 recPass0GSI.C:38
 recPass0GSI.C:39
 recPass0GSI.C:40
 recPass0GSI.C:41
 recPass0GSI.C:42
 recPass0GSI.C:43
 recPass0GSI.C:44