]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Alieve/TPCLoader.h
Put black-listed classes out of Alieve namespace.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCLoader.h
CommitLineData
e9a38ea3 1// $Header$
2
3#ifndef ALIEVE_TPCLoader_H
4#define ALIEVE_TPCLoader_H
5
84aff7a4 6#include <TEveElement.h>
0b28fd57 7#include <vector>
e9a38ea3 8
9class AliRawReaderRoot;
10
11namespace Alieve {
12
13class TPCData;
14class TPCSector2D;
15class TPCSector3D;
16
84aff7a4 17class TPCLoader : public TEveElementList
e9a38ea3 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;
b1e0b894 40 Int_t fInitMaxVal;
e7c8d6ca 41
e9a38ea3 42public:
43 TPCLoader(const Text_t* n="TPCLoader", const Text_t* t=0);
44 virtual ~TPCLoader();
45
84aff7a4 46 virtual void RemoveElementLocal(TEveElement* el);
32e219c2 47 virtual void RemoveElementsLocal();
e9a38ea3 48
49 void SetFile(const Text_t* f) { fFile = f; }
8f50aad8 50 void SetDoubleSR(Bool_t d) { fDoubleSR = d; }
e9a38ea3 51
47bd7081 52 const Text_t* GetTPCEquipementMap() const { return fTPCEquipementMap; }
53 void SetTPCEquipementMap(const Text_t* em) { fTPCEquipementMap = em; }
b1e0b894 54 AliRawReaderRoot* GetReader() const { return fReader; }
55 void SetReader(AliRawReaderRoot* reader) { fReader = reader; }
e9a38ea3 56 TPCData* GetData() const { return fData; }
57 void SetData(TPCData* d);
58
59 void OpenFile();
60 void LoadEvent();
61 void NextEvent(Bool_t rewindOnEnd=kTRUE);
62 void GotoEvent(Int_t event);
42c8253f 63 static void* LoopEvent(TPCLoader* loader);
e9a38ea3 64
42c8253f 65 void UpdateSectors(Bool_t dropNonPresent=kFALSE);
c59e16e8 66 void ReloadSectors();
e9a38ea3 67 void CreateSectors3D();
68 void DeleteSectors3D();
69
b1e0b894 70 void SetInitParams(Int_t mint, Int_t maxt, Int_t thr, Int_t maxval=128);
e7c8d6ca 71
e9a38ea3 72 ClassDef(TPCLoader, 1);
73}; // endclass TPCLoader
74
75}
76
77#endif