]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/alice-macros/vzero_raw.C
Coverity
[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
2773b013 18 AliRawReader *reader = AliEveEventManager::AssertRawReader();
19 reader->Reset();
20
da94dab4 21 gEve->DisableRedraw();
22
2773b013 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();
2773b013 31}