3 #ifndef ALIEVE_TPCLoader_H
4 #define ALIEVE_TPCLoader_H
6 #include <TEveElement.h>
9 class AliRawReaderRoot;
17 class TPCLoader : public TEveElementList
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;
43 TPCLoader(const Text_t* n="TPCLoader", const Text_t* t=0);
46 virtual void RemoveElementLocal(TEveElement* el);
47 virtual void RemoveElementsLocal();
49 void SetFile(const Text_t* f) { fFile = f; }
50 void SetDoubleSR(Bool_t d) { fDoubleSR = d; }
52 const Text_t* GetTPCEquipementMap() const { return fTPCEquipementMap; }
53 void SetTPCEquipementMap(const Text_t* em) { fTPCEquipementMap = em; }
54 AliRawReaderRoot* GetReader() const { return fReader; }
55 void SetReader(AliRawReaderRoot* reader) { fReader = reader; }
56 TPCData* GetData() const { return fData; }
57 void SetData(TPCData* d);
61 void NextEvent(Bool_t rewindOnEnd=kTRUE);
62 void GotoEvent(Int_t event);
63 static void* LoopEvent(TPCLoader* loader);
65 void UpdateSectors(Bool_t dropNonPresent=kFALSE);
67 void CreateSectors3D();
68 void DeleteSectors3D();
70 void SetInitParams(Int_t mint, Int_t maxt, Int_t thr, Int_t maxval=128);
72 ClassDef(TPCLoader, 1);
73 }; // endclass TPCLoader