]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/TPCLoader.h
Fix effc++ warnings.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCLoader.h
1 // $Header$
2
3 #ifndef ALIEVE_TPCLoader_H
4 #define ALIEVE_TPCLoader_H
5
6 #include <Reve/RenderElement.h>
7
8 class AliRawReaderRoot;
9
10 namespace Alieve {
11
12 class TPCData;
13 class TPCSector2D;
14 class TPCSector3D;
15
16 class TPCLoader : public Reve::RenderElementList
17 {
18   friend class TPCLoaderEditor;
19
20   TPCLoader(const TPCLoader&);            // Not implemented
21   TPCLoader& operator=(const TPCLoader&); // Not implemented
22
23 protected:
24   TString           fFile;
25   Int_t             fEvent;
26   Bool_t            fDoubleSR;
27
28   TString           fTPCEquipementMap;
29   AliRawReaderRoot* fReader;
30   TPCData*          fData;
31
32   std::vector<TPCSector2D*> fSec2Ds;
33   std::vector<TPCSector3D*> fSec3Ds;
34
35   Bool_t   fSetInitSectorParams;
36   Int_t    fInitMinTime;
37   Int_t    fInitMaxTime;
38   Int_t    fInitThreshold;
39
40 public:
41   TPCLoader(const Text_t* n="TPCLoader", const Text_t* t=0);
42   virtual ~TPCLoader();
43
44   virtual void RemoveElementLocal(Reve::RenderElement* el);
45   virtual void RemoveElements();
46
47   void SetFile(const Text_t* f) { fFile = f; }
48   void SetDoubleSR(Bool_t d)    { fDoubleSR = d; }
49
50   const Text_t* GetTPCEquipementMap() const  { return fTPCEquipementMap; }
51   void SetTPCEquipementMap(const Text_t* em) { fTPCEquipementMap = em; }
52   TPCData* GetData() const { return fData; }
53   void     SetData(TPCData* d);
54
55   void OpenFile();
56   void LoadEvent();
57   void NextEvent(Bool_t rewindOnEnd=kTRUE);
58   void GotoEvent(Int_t event);
59
60   void UpdateSectors();
61   void CreateSectors3D();
62   void DeleteSectors3D();
63
64   void SetInitParams(Int_t mint, Int_t maxt, Int_t thr);
65
66   ClassDef(TPCLoader, 1);
67 }; // endclass TPCLoader
68
69 }
70
71 #endif