X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FMUONTrigger.C;h=522b1202e959c8ffd072fc00ceefabdadc73911c;hb=9b03e735c3856fbdb31b6fc16d1a7544b4a1cd34;hp=91a2519ad34d3b35fbc1663f18dbd3f847d73cac;hpb=53958b19d7d436b63aa0b842057617b2a6453d03;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/MUONTrigger.C b/MUON/MUONTrigger.C index 91a2519ad34..522b1202e95 100644 --- a/MUON/MUONTrigger.C +++ b/MUON/MUONTrigger.C @@ -15,10 +15,14 @@ /* $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" @@ -55,9 +59,10 @@ void MUONTrigger(const char* filename) // 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); @@ -69,7 +74,7 @@ void MUONTrigger(const char* filename) 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();