]>
Commit | Line | Data |
---|---|---|
f6762c71 | 1 | #ifndef ALIMUONDDLTRACKER_H |
2 | #define ALIMUONDDLTRACKER_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
692de412 | 6 | /*$Id$*/ |
7 | ||
2cf44ef3 | 8 | /// \ingroup raw |
692de412 | 9 | /// \class AliMUONDDLTracker |
10 | /// \brief MUON DDL tracker | |
2cf44ef3 | 11 | /// |
78649106 | 12 | // Author Christian Finck |
f6762c71 | 13 | |
14 | #include <TObject.h> | |
2cf44ef3 | 15 | #include <TClonesArray.h> |
69be760c | 16 | |
2cf44ef3 | 17 | class AliMUONBusStruct; |
18 | class AliMUONDspHeader; | |
19 | class AliMUONBlockHeader; | |
f6762c71 | 20 | |
21 | class AliMUONDDLTracker : public TObject { | |
22 | ||
23 | public: | |
24 | AliMUONDDLTracker(); | |
2cf44ef3 | 25 | virtual ~AliMUONDDLTracker(); |
26 | ||
27 | void AddBusPatch(const AliMUONBusStruct& busPatch, Int_t iBlock, Int_t iDsp); | |
28 | void AddDspHeader(const AliMUONDspHeader& dspHeader, Int_t iBlock); | |
29 | void AddBlkHeader(const AliMUONBlockHeader& blkHeader); | |
69be760c | 30 | |
71a2d3aa | 31 | /// get TClonesArray |
2cf44ef3 | 32 | TClonesArray* GetBlkHeaderArray() const {return fBlkHeaderArray;} |
f6762c71 | 33 | |
71a2d3aa | 34 | /// get entries |
2cf44ef3 | 35 | Int_t GetBlkHeaderEntries() const {return fBlkHeaderArray->GetEntriesFast();} |
36 | ||
71a2d3aa | 37 | /// get entry |
2cf44ef3 | 38 | AliMUONBlockHeader* GetBlkHeaderEntry(Int_t i) const { |
39 | return (AliMUONBlockHeader*)fBlkHeaderArray->At(i);} | |
f6762c71 | 40 | |
2cf44ef3 | 41 | // clear |
42 | void Clear(Option_t* opt); | |
f6762c71 | 43 | |
f6762c71 | 44 | |
45 | private: | |
71a2d3aa | 46 | /// Not implemented |
9f5dcca3 | 47 | AliMUONDDLTracker(const AliMUONDDLTracker& event); |
71a2d3aa | 48 | /// Not implemented |
9f5dcca3 | 49 | AliMUONDDLTracker& operator=(const AliMUONDDLTracker& event); |
71a2d3aa | 50 | |
51 | TClonesArray* fBlkHeaderArray; ///< array of block header | |
69be760c | 52 | |
f6762c71 | 53 | ClassDef(AliMUONDDLTracker,1) // MUON DDL Tracker |
54 | }; | |
55 | #endif |