3 #ifndef ALIEVE_TPCLoader_H
4 #define ALIEVE_TPCLoader_H
6 #include <Reve/RenderElement.h>
8 class AliRawReaderRoot;
16 class TPCLoader : public Reve::RenderElementList
18 friend class TPCLoaderEditor;
20 TPCLoader(const TPCLoader&); // Not implemented
21 TPCLoader& operator=(const TPCLoader&); // Not implemented
28 TString fTPCEquipementMap;
29 AliRawReaderRoot* fReader;
32 std::vector<TPCSector2D*> fSec2Ds;
33 std::vector<TPCSector3D*> fSec3Ds;
35 Bool_t fSetInitSectorParams;
41 TPCLoader(const Text_t* n="TPCLoader", const Text_t* t=0);
44 virtual void RemoveElementLocal(Reve::RenderElement* el);
45 virtual void RemoveElements();
47 void SetFile(const Text_t* f) { fFile = f; }
48 void SetDoubleSR(Bool_t d) { fDoubleSR = d; }
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);
57 void NextEvent(Bool_t rewindOnEnd=kTRUE);
58 void GotoEvent(Int_t event);
61 void CreateSectors3D();
62 void DeleteSectors3D();
64 void SetInitParams(Int_t mint, Int_t maxt, Int_t thr);
66 ClassDef(TPCLoader, 1);
67 }; // endclass TPCLoader