]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONClusterDrawAZ.h
Splitting Draw option in cluaster finder AZ (Sacha)
[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
6/// \ingroup rec
7/// \class AliMUONClusterDrawAZ
8/// \brief Cluster drawing object for AZ cluster finder in MUON arm of ALICE
9
10#include "AliMUONClusterDrawAZ.h"
11
12class TH2D;
13class AliMUONData;
14class AliMUONPixel;
15class AliMUONClusterFinderAZ;
16
17class AliMUONClusterDrawAZ : public TObject
18{
19public:
20 AliMUONClusterDrawAZ(); // default constructor
21 AliMUONClusterDrawAZ(AliMUONClusterFinderAZ *clusFinder); // Constructor
22 virtual ~AliMUONClusterDrawAZ(); // Destructor
23
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
31
32protected:
33 AliMUONClusterDrawAZ(const AliMUONClusterDrawAZ& rhs);
34 AliMUONClusterDrawAZ& operator=(const AliMUONClusterDrawAZ& rhs);
35
36private:
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
45
46 // Functions
47
48 void Init(); // initialization
49 void ModifyHistos(); // modify histograms
50 void DrawHits(); // draw simulated and reconstructed hits
51
52ClassDef(AliMUONClusterDrawAZ,0) // cluster drawing for MUON arm of ALICE
53};
54
55#endif