1 #ifndef ALIMUONCLUSTERDRAWAZ_H
2 #define ALIMUONCLUSTERDRAWAZ_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 /// \class AliMUONClusterDrawAZ
8 /// \brief Cluster drawing object for AZ cluster finder in MUON arm of ALICE
10 #include "AliMUONClusterDrawAZ.h"
15 class AliMUONClusterFinderAZ;
17 class AliMUONClusterDrawAZ : public TObject
20 AliMUONClusterDrawAZ(); // default constructor
21 AliMUONClusterDrawAZ(AliMUONClusterFinderAZ *clusFinder); // Constructor
22 virtual ~AliMUONClusterDrawAZ(); // Destructor
24 void DrawCluster(); // draw precluster
25 void AdjustHist(Double_t *xylim, const AliMUONPixel *pixPtr);
26 void DrawHist(const char* canvas, TH2D *hist); // draw histogram in canvas
27 Int_t Next(); // commands for drawing
28 Bool_t FindEvCh(Int_t nev, Int_t ch); // find requested event and chamber
29 void FillMuon(Int_t nfit, const Double_t *parOk, const Double_t *errOk); // fill muon info
30 void ResetMuon() { fxyMu[0][6] = fxyMu[1][6] = 9999; } // reset muons
33 AliMUONClusterDrawAZ(const AliMUONClusterDrawAZ& rhs);
34 AliMUONClusterDrawAZ& operator=(const AliMUONClusterDrawAZ& rhs);
37 AliMUONData *fData; //! pointer to muon data container
38 AliMUONClusterFinderAZ* fFind; //! pointer to ClusterFinder
39 TH2D* fHist[4]; // ! histograms
40 Int_t fnMu; // ! number of muons passing thru the selected area
41 Double_t fxyMu[2][7]; // ! muon information
42 Int_t fEvent; // ! current event
43 Int_t fChamber; //! current chamber
44 Int_t fDebug; // ! debug level
48 void Init(); // initialization
49 void ModifyHistos(); // modify histograms
50 void DrawHits(); // draw simulated and reconstructed hits
52 ClassDef(AliMUONClusterDrawAZ,0) // cluster drawing for MUON arm of ALICE