1 #ifndef ALIMUONEVENTRECOCOMBI_H
2 #define ALIMUONEVENTRECOCOMBI_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 /// \class AliMUONEventRecoCombi
10 /// \brief Combined cluster / track finder in the MUON arm of ALICE
14 #include <TClonesArray.h>
17 class AliMUONDetElement;
18 class AliMUONTrackReconstructorK;
19 class AliMUONClusterFinderAZ;
20 class AliMUONHitForRec;
21 class AliMUONSegmentation;
24 class AliMUONEventRecoCombi : public TObject
27 virtual ~AliMUONEventRecoCombi();
28 static AliMUONEventRecoCombi* Instance(AliMUONSegmentation* segmentation = 0);
29 void FillEvent(AliMUONData *data, AliMUONClusterFinderAZ *recModel); // fill event info
30 void FillRecP(AliMUONData *dataCluster, AliMUONTrackReconstructorK *recoTrack) const; // fill used rec. points from det. elems
32 Int_t Nz() const { return fNZ; } // number of DE different Z-positions
33 Double_t Z(Int_t iz) const { return (*fZ)[iz]; } // Z of DE
34 Int_t *DEatZ(Int_t iz) const { return fDEvsZ[iz]+1; } // list of DE's at Z
35 AliMUONDetElement *DetElem(Int_t iPos) const { return (AliMUONDetElement*) fDetElems->UncheckedAt(iPos); }
36 Int_t IZfromHit(AliMUONHitForRec *hit) const; // IZ from Hit
39 AliMUONEventRecoCombi(AliMUONSegmentation* segmentation = 0);
42 static AliMUONEventRecoCombi* fgRecoCombi; //!< singleton instance
43 AliMUONSegmentation* fSegmentation; //!< Segmentation
44 TClonesArray *fDetElems; //!< array of Det. Elem. objects
45 TArrayD *fZ; //!< array of det. elem. Z-coordinates
46 Int_t fNZ; //!< number of different Z's
47 Int_t **fDEvsZ; //!< list of DE's vs Z-coordinates
49 AliMUONEventRecoCombi(const AliMUONEventRecoCombi& rhs);
50 AliMUONEventRecoCombi & operator = (const AliMUONEventRecoCombi& rhs);
52 ClassDef(AliMUONEventRecoCombi, 0) // Combined cluster/track finder steering class