3 #ifndef ALIEVE_TPCData_H
4 #define ALIEVE_TPCData_H
13 class AliTPCRawStream;
14 class AliTPCRawStreamOld;
20 class TPCData : public TObject, public Reve::ReferenceCount
23 std::vector<TPCSectorData*> fSectors;
24 Int_t fSectorBlockSize;
25 Short_t fLoadThreshold;
31 void CreateSector(Int_t sector);
32 void CreateAllSectors();
34 TPCSectorData* GetSectorData(Int_t sector, Bool_t spawnSectors=kFALSE);
36 Int_t GetSectorBlockSize() const { return fSectorBlockSize; }
37 void SetSectorBlockSize(Int_t bs) { fSectorBlockSize = bs; }
39 Short_t GetLoadThreshold() const { return fLoadThreshold; }
40 void SetLoadThreshold(Short_t lt) { fLoadThreshold = lt; }
42 void LoadDigits(TTree* tree, Bool_t spawnSectors=kTRUE);
43 void LoadRaw(AliTPCRawStream& input, Bool_t spawnSectors=kTRUE);
44 void LoadRaw(AliTPCRawStreamOld& input, Bool_t spawnSectors=kTRUE, Bool_t warn=kFALSE);
46 ClassDef(TPCData, 1); // Manages TPC data for an event.
47 }; // endclass TPCData