]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/MUONdisplay.C
2nd phase of AOD implementation - reading w/o checking the cuts
[u/mrichter/AliRoot.git] / MUON / MUONdisplay.C
CommitLineData
2e7b421f 1MUONdisplay (Int_t nevent=0, TString fileName="galice.root") {
7985603c 2
3 // Getting runloader
4 AliRunLoader * RunLoader = AliRunLoader::Open(fileName,"MUONFolder","READ");
5 if (RunLoader == 0x0) {
6 Error("MUONdisplay","Inut file %s error!",fileName);
7 return;
8 }
9 RunLoader->LoadHeader();
10 RunLoader->LoadKinematics("READ");
a897a37a 11
7985603c 12 // Getting MUONloader
13 AliLoader * MUONLoader = RunLoader->GetLoader("MUONLoader");
14 MUONLoader->LoadHits("READ");
15 MUONLoader->LoadDigits("READ");
16 MUONLoader->LoadRecPoints("READ");
17
307d9d04 18 // if (RunLoader->GetAliRun() == 0x0)
19 RunLoader->LoadgAlice();
7985603c 20 gAlice = RunLoader->GetAliRun();
21
fe4da5cc 22
fe4da5cc 23// Create Event Display object
307d9d04 24 AliMUONDisplay *muondisplay = new AliMUONDisplay(750, MUONLoader);
7985603c 25 RunLoader->GetEvent(nevent);
307d9d04 26
fe4da5cc 27 muondisplay->ShowNextEvent(0);
28}