]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EVE/alice-macros/vzero_raw.C
New method Invert() for changing alpha by pi (forbiden operation via Rotate())
[u/mrichter/AliRoot.git] / EVE / alice-macros / vzero_raw.C
... / ...
CommitLineData
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
10#if !defined(__CINT__) || defined(__MAKECINT__)
11#include <TStyle.h>
12#include <TEveManager.h>
13
14#include <RAW/AliRawReader.h>
15#include <EVE/EveBase/AliEveEventManager.h>
16#include <EVE/EveDet/AliEveVZEROModule.h>
17#else
18class AliRawReader;
19class AliEveVZEROModule;
20#endif
21
22void vzero_raw()
23{
24 gStyle->SetPalette(1, 0);
25
26 AliRawReader *reader = AliEveEventManager::AssertRawReader();
27 reader->Reset();
28
29 gEve->DisableRedraw();
30
31 AliEveVZEROModule* rawA = new AliEveVZEROModule("VZERO_RAW_A", kTRUE);
32 rawA->LoadRaw(reader);
33
34
35 AliEveVZEROModule* rawC = new AliEveVZEROModule("VZERO_RAW_C", kFALSE);
36 rawC->LoadRaw(reader);
37
38 gEve->EnableRedraw();
39}