/* $Id$ */
-// This macro is to be used to check the trigger algorithm w/o having to
-// (re-)perform simulation and digitalization.
-// see full description in the REDAME file
-// Author: P.Crochet (LPC)
+/// \ingroup macros
+/// \file MUONTrigger.C
+/// \brief This macro is to be used to check the trigger algorithm w/o having to
+/// (re-)perform simulation and digitalization.
+///
+/// See full description on the \ref README_trigger page.
+///
+/// \author P.Crochet (LPC)
#if !defined(__CINT__) || defined(__MAKECINT__)
#include "AliRun.h"
// Creating MUONTriggerDecision
AliCDBManager* cdbManager = AliCDBManager::Instance();
- cdbManager->SetDefaultStorage("local://$ALICE_ROOT");
+ cdbManager->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
- Int_t runnumber = cdbManager->GetRun();
+ Int_t runnumber = 0;
+ cdbManager->SetRun(runnumber);
AliMpCDB::LoadDDLStore();
AliMUONCalibrationData *CalibrationData = new AliMUONCalibrationData(runnumber);
for(Int_t ievent = 0; ievent < nevents; ievent++) {
printf(">>> Event %i out of %i \n",ievent,nevents);
- RunLoader->GetRunLoader()->GetEvent(ievent);
+ RunLoader->GetEvent(ievent);
MUONLoader->LoadRecPoints("update");
MUONLoader->CleanRecPoints();