Added description for the new analysis macros
[u/mrichter/AliRoot.git] / MUON / AliMUONDDLTracker.h
CommitLineData
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///
13985652 12// Author Christian Finck
f6762c71 13
14#include <TObject.h>
2cf44ef3 15#include <TClonesArray.h>
69be760c 16
2cf44ef3 17class AliMUONBusStruct;
18class AliMUONDspHeader;
19class AliMUONBlockHeader;
f6762c71 20
21class AliMUONDDLTracker : public TObject {
22
23public:
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
2cf44ef3 31 // get TClonesArray
32 TClonesArray* GetBlkHeaderArray() const {return fBlkHeaderArray;}
f6762c71 33
2cf44ef3 34 // get entries
35 Int_t GetBlkHeaderEntries() const {return fBlkHeaderArray->GetEntriesFast();}
36
37 // get entry
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:
f6762c71 46
829425a5 47 TClonesArray* fBlkHeaderArray; ///< array of block header
2cf44ef3 48
69be760c 49
f6762c71 50 ClassDef(AliMUONDDLTracker,1) // MUON DDL Tracker
51};
52#endif