]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveVZEROModule.h
LoadRecPointsFromESD arg to const
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveVZEROModule.h
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
8
9 //////////////////////////////////////////////////////////////////////////
10 //                                                                      //
11 // The drawing module for the VZERO detector                            //
12 //                                                                      //
13 //////////////////////////////////////////////////////////////////////////
14
15 #include <TEveQuadSet.h>
16
17 class AliRawReader;
18 class AliVZERORawStream;
19 class AliESDEvent;
20
21 class AliEveVZEROModule : public TEveQuadSet
22 {
23 public:
24   AliEveVZEROModule(const Text_t* n="AliEveVZEROModule", Bool_t side = kTRUE);
25   virtual ~AliEveVZEROModule();
26
27   virtual void DigitSelected(Int_t idx);
28
29   void LoadRaw(AliRawReader *rawReader);
30
31   Int_t GetSampleIndex() const { return fSampleIndex; }
32   void  SetSampleIndex(Int_t index);
33
34 protected:
35
36   AliVZERORawStream *fStream;      // Raw-stream
37   Int_t              fSampleIndex; // Current sample index used
38   Bool_t             fIsASide;     // A or C side module
39
40 private:
41   AliEveVZEROModule(const AliEveVZEROModule&);
42   AliEveVZEROModule& operator=(const AliEveVZEROModule&);
43
44   ClassDef(AliEveVZEROModule,0) // Representation of a VZERO module
45 };
46
47 #endif