]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/alice-macros/vzero_raw.C
vplot_tpc.C
[u/mrichter/AliRoot.git] / EVE / alice-macros / vzero_raw.C
CommitLineData
2773b013 1/**************************************************************************
2 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
3 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
4 * full copyright notice. *
5 **************************************************************************/
6
7// Macro to visualise rootified raw-data from VZERO.
8//
9
10class AliRawReader;
11
12class AliEveVZEROModule;
13
14void vzero_raw()
15{
16 gStyle->SetPalette(1, 0);
17
18 gEve->DisableRedraw();
19
20 AliRawReader *reader = AliEveEventManager::AssertRawReader();
21 reader->Reset();
22
23 AliEveVZEROModule* rawA = new AliEveVZEROModule("VZERO_RAW_A", kTRUE);
24 rawA->LoadRaw(reader);
25
26
27 AliEveVZEROModule* rawC = new AliEveVZEROModule("VZERO_RAW_C", kFALSE);
28 rawC->LoadRaw(reader);
29
30 gEve->EnableRedraw();
31 gEve->Redraw3D();
32}