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 #ifndef AliEveVZEROModule_H
7 #define AliEveVZEROModule_H
9 //////////////////////////////////////////////////////////////////////////
11 // The drawing module for the VZERO detector //
13 //////////////////////////////////////////////////////////////////////////
15 #include <TEveQuadSet.h>
18 class AliVZERORawStream;
21 class AliEveVZEROModule : public TEveQuadSet
24 AliEveVZEROModule(const Text_t* n="AliEveVZEROModule", Bool_t side = kTRUE);
25 virtual ~AliEveVZEROModule();
27 virtual void DigitSelected(Int_t idx);
29 void LoadRaw(AliRawReader *rawReader);
31 Int_t GetSampleIndex() const { return fSampleIndex; }
32 void SetSampleIndex(Int_t index);
36 AliVZERORawStream *fStream; // Raw-stream
37 Int_t fSampleIndex; // Current sample index used
38 Bool_t fIsASide; // A or C side module
41 AliEveVZEROModule(const AliEveVZEROModule&);
42 AliEveVZEROModule& operator=(const AliEveVZEROModule&);
44 ClassDef(AliEveVZEROModule,0) // Representation of a VZERO module