X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ANALYSIS%2Fanalysis.C;h=fb34393e2f47b0effffc24ae86d93634eefa3422;hb=dbbc07acc9ee9bd550d664646b5d6f2590085fa8;hp=090b82b0c00549b8ce834f0bc449e9d9323c4685;hpb=a5556ea5dcb96ed6c8fb42e9637b4e5992497f70;p=u%2Fmrichter%2FAliRoot.git diff --git a/ANALYSIS/analysis.C b/ANALYSIS/analysis.C index 090b82b0c00..fb34393e2f4 100644 --- a/ANALYSIS/analysis.C +++ b/ANALYSIS/analysis.C @@ -3,7 +3,7 @@ void analysis(Int_t first = -1, Int_t last = -1, const char* directory=".") gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libANALYSIS"); - AliAODParticle::SetDebug(0); + AliVAODParticle::SetDebug(0); AliRunAnalysis* analysis = new AliRunAnalysis(); ::Info("analysis.C","Setting dirs"); @@ -22,9 +22,11 @@ void analysis(Int_t first = -1, Int_t last = -1, const char* directory=".") } } - AliReaderESD* reader = new AliReaderESD(dirs); - reader->ReadSimulatedData(kTRUE); - reader->SetReadMostProbableOnly(kTRUE); + AliReaderAOD* reader = new AliReaderAOD("AOD.root"); + reader->SetDirs(dirs); +// AliReaderESD* reader = new AliReaderESD(dirs); +// reader->ReadSimulatedData(kTRUE); +// reader->SetReadMostProbableOnly(kTRUE); /* //example PID cuts