]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONClusterDrawAZ.h
Updated list of MUON libraries
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterDrawAZ.h
CommitLineData
1af223d7 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 */
5
d35a592d 6/* $Id$ */
7
1af223d7 8/// \ingroup rec
9/// \class AliMUONClusterDrawAZ
10/// \brief Cluster drawing object for AZ cluster finder in MUON arm of ALICE
585d648a 11///
12/// \author Alexander Zinchenko, JINR Dubna
1af223d7 13
14#include "AliMUONClusterDrawAZ.h"
15
16class TH2D;
197d13a0 17class AliMUONRecData;
1af223d7 18class AliMUONPixel;
19class AliMUONClusterFinderAZ;
20
21class AliMUONClusterDrawAZ : public TObject
22{
23public:
24 AliMUONClusterDrawAZ(); // default constructor
25 AliMUONClusterDrawAZ(AliMUONClusterFinderAZ *clusFinder); // Constructor
26 virtual ~AliMUONClusterDrawAZ(); // Destructor
27
28 void DrawCluster(); // draw precluster
29 void AdjustHist(Double_t *xylim, const AliMUONPixel *pixPtr);
30 void DrawHist(const char* canvas, TH2D *hist); // draw histogram in canvas
31 Int_t Next(); // commands for drawing
32 Bool_t FindEvCh(Int_t nev, Int_t ch); // find requested event and chamber
33 void FillMuon(Int_t nfit, const Double_t *parOk, const Double_t *errOk); // fill muon info
c4ee792d 34 void ResetMuon() { fxyMu[0][6] = fxyMu[1][6] = 9999; } ///< reset muons
d35a592d 35 void UpdateCluster(Int_t npad); // update cluster after removing non-overlapped pads
1af223d7 36
1af223d7 37private:
197d13a0 38 AliMUONRecData *fData; //!< pointer to muon data container
829425a5 39 AliMUONClusterFinderAZ* fFind; //!< pointer to ClusterFinder
40 TH2D* fHist[4]; //!< histograms
41 Int_t fnMu; //!< number of muons passing thru the selected area
42 Double_t fxyMu[2][7]; //!< muon information
43 Int_t fEvent; //!< current event
44 Int_t fChamber; //!< current chamber
45 Int_t fidDE; //!< current Det. Elem.
46 Int_t fDebug; //!< debug level
47 Int_t fModif; //!< modification flag (modified ROOT)
1af223d7 48
49 // Functions
50
c4ee792d 51 /// Not implemented
54d7ba50 52 AliMUONClusterDrawAZ(const AliMUONClusterDrawAZ& rhs);
c4ee792d 53 /// Not implemented
54d7ba50 54 AliMUONClusterDrawAZ& operator=(const AliMUONClusterDrawAZ& rhs);
c4ee792d 55
1af223d7 56 void Init(); // initialization
57 void ModifyHistos(); // modify histograms
197d13a0 58 // void DrawHits(); // draw simulated and reconstructed hits
b46cf82d 59 TH2D* GetBackground(Int_t iHist); // build histogram with bkg. contaminated pads
1af223d7 60
61ClassDef(AliMUONClusterDrawAZ,0) // cluster drawing for MUON arm of ALICE
62};
63
64#endif