3 #ifndef ALIEVE_TPCLoader_H
4 #define ALIEVE_TPCLoader_H
6 #include <Reve/RenderElement.h>
9 class AliRawReaderRoot;
17 class TPCLoader : public Reve::RenderElementList
19 friend class TPCLoaderEditor;
21 TPCLoader(const TPCLoader&); // Not implemented
22 TPCLoader& operator=(const TPCLoader&); // Not implemented
29 TString fTPCEquipementMap;
30 AliRawReaderRoot* fReader;
33 std::vector<TPCSector2D*> fSec2Ds;
34 std::vector<TPCSector3D*> fSec3Ds;
36 Bool_t fSetInitSectorParams;
42 TPCLoader(const Text_t* n="TPCLoader", const Text_t* t=0);
45 virtual void RemoveElementLocal(Reve::RenderElement* el);
46 virtual void RemoveElementsLocal();
48 void SetFile(const Text_t* f) { fFile = f; }
49 void SetDoubleSR(Bool_t d) { fDoubleSR = d; }
51 const Text_t* GetTPCEquipementMap() const { return fTPCEquipementMap; }
52 void SetTPCEquipementMap(const Text_t* em) { fTPCEquipementMap = em; }
53 TPCData* GetData() const { return fData; }
54 void SetData(TPCData* d);
58 void NextEvent(Bool_t rewindOnEnd=kTRUE);
59 void GotoEvent(Int_t event);
60 static void* LoopEvent(TPCLoader* loader);
62 void UpdateSectors(Bool_t dropNonPresent=kFALSE);
64 void CreateSectors3D();
65 void DeleteSectors3D();
67 void SetInitParams(Int_t mint, Int_t maxt, Int_t thr);
69 ClassDef(TPCLoader, 1);
70 }; // endclass TPCLoader