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
11 /// \author Alexander Zinchenko, JINR Dubna
15 #include <TClonesArray.h>
18 class AliMUONDetElement;
19 class AliMUONTrackReconstructorK;
20 class AliMUONClusterFinderAZ;
21 class AliMUONHitForRec;
22 class AliMUONSegmentation;
25 class AliMUONEventRecoCombi : public TObject
28 virtual ~AliMUONEventRecoCombi();
29 static AliMUONEventRecoCombi* Instance(AliMUONSegmentation* segmentation = 0);
30 void FillEvent(AliMUONData *data, AliMUONClusterFinderAZ *recModel); // fill event info
31 void FillRecP(AliMUONData *dataCluster, AliMUONTrackReconstructorK *recoTrack) const; // fill used rec. points from det. elems
33 Int_t Nz() const { return fNZ; } // number of DE different Z-positions
34 Double_t Z(Int_t iz) const { return (*fZ)[iz]; } // Z of DE
35 Int_t *DEatZ(Int_t iz) const { return fDEvsZ[iz]+1; } // list of DE's at Z
36 AliMUONDetElement *DetElem(Int_t iPos) const { return (AliMUONDetElement*) fDetElems->UncheckedAt(iPos); }
37 Int_t IZfromHit(AliMUONHitForRec *hit) const; // IZ from Hit
40 AliMUONEventRecoCombi(AliMUONSegmentation* segmentation = 0);
43 static AliMUONEventRecoCombi* fgRecoCombi; //!< singleton instance
44 AliMUONSegmentation* fSegmentation; //!< Segmentation
45 TClonesArray *fDetElems; //!< array of Det. Elem. objects
46 TArrayD *fZ; //!< array of det. elem. Z-coordinates
47 Int_t fNZ; //!< number of different Z's
48 Int_t **fDEvsZ; //!< list of DE's vs Z-coordinates
50 AliMUONEventRecoCombi(const AliMUONEventRecoCombi& rhs);
51 AliMUONEventRecoCombi & operator = (const AliMUONEventRecoCombi& rhs);
53 ClassDef(AliMUONEventRecoCombi, 0) // Combined cluster/track finder steering class