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