]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDisplay.h
Merge MC labels for 4 neighbour bins in the Hough space in order to reduce the size...
[u/mrichter/AliRoot.git] / MUON / AliMUONDisplay.h
index bc218f8a3ed160350830de59b66bf66e2855477f..562f5c724be858e17ced5d7b81fa3b00ce936ed8 100644 (file)
@@ -19,6 +19,8 @@
 //#endif
 #include "AliDisplay.h"
 
+class AliLoader;
+class AliMUONData;
 class TCanvas;
 class TPad;
 class TList;
@@ -29,7 +31,7 @@ class TArc;
 class AliMUONDisplay : /*splaypublic TObject,*/ public AliDisplay {
 public:
                      AliMUONDisplay();
-                     AliMUONDisplay(Int_t size);
+                     AliMUONDisplay(Int_t size, AliLoader * loader=0x0);
                     AliMUONDisplay(const AliMUONDisplay& display);
                     
    virtual          ~AliMUONDisplay();
@@ -42,7 +44,6 @@ public:
    virtual void      DrawClusters();
    virtual void      DrawHits();
    virtual void      DrawCoG();
-   virtual void      DrawCoG2();
    virtual void      DrawSegmentation();
    virtual void      DrawTitle(Option_t *option="");
    virtual void      DrawView(Float_t theta, Float_t phi, Float_t psi=0);
@@ -51,16 +52,17 @@ public:
    Int_t             GetZoomMode() {return fZoomMode;}
    Int_t             GetChamber() {return fChamber;}
    Int_t             GetCathode() {return fCathode;}
+
+   AliMUONData*      GetMUONData() {return fMUONData;}
+   AliLoader*        GetLoader()  {return fLoader;}
+
    virtual void      LoadDigits(Int_t chamber, Int_t cathode);
    virtual void      LoadHits(Int_t chamber);
    virtual void      LoadCoG(Int_t chamber, Int_t cathode);
-   virtual void      LoadCoG2(Int_t chamber, Int_t cathode);
    TPad             *Pad() {return fPad;}
    TObjArray        *Points() {return fPoints;}
    TObjArray        *Phits() {return fPhits;}
    TObjArray        *Rpoints() {return fRpoints;}
-   TObjArray        *R2points() {return fR2points;}
-   TObjArray        *Cpoints() {return fCpoints;}
    virtual void      Paint(Option_t *option="");
    virtual void      SetDrawClusters(Bool_t draw=kTRUE) {fDrawClusters=draw;}   // *MENU*
    virtual void      SetChamberAndCathode(Int_t chamber=1, Int_t cathode=1);    // *MENU*
@@ -75,8 +77,6 @@ public:
    virtual void      ResetPoints();
    virtual void      ResetPhits();
    virtual void      ResetRpoints();
-   virtual void      ResetR2points();
-   virtual void      ResetCpoints();
    virtual void      NextChamber(Int_t delta=1);
    virtual void      NextCathode();
            void      Trigger();
@@ -87,38 +87,19 @@ private:
    Int_t             fEvent;                // Current event
    Int_t             fChamber;              // Current Chamber
    Int_t             fCathode;              // Current cathode plane
-   Int_t             fZoomMode;             // =1 if in zoom mode
-
    Bool_t            fDrawClusters;         //Flag True if Clusters to be drawn
    Bool_t            fDrawCoG;              //Flag True if CoG to be drawn
                                             //to be drawn
-   Float_t           fTheta;                //Viewing angle theta
-   Float_t           fPhi;                  //Viewing angle phi
-   Float_t           fPsi;                  //Viewving angle psi (rotation on display)
-   Float_t           fRrange;               //Size of view in R
-   Float_t           fZrange;               //Size of view along Z
-   Float_t           fZoomX0[20];           //Low x range of zoom number i
-   Float_t           fZoomY0[20];           //Low y range of zoom number i
-   Float_t           fZoomX1[20];           //High x range of zoom number i
-   Float_t           fZoomY1[20];           //High y range of zoom number i
-   Int_t             fZooms;                //Number of zooms
-   Int_t             fHitsCuts;             //Number of hits surviving cuts
    Int_t             fClustersCuts;         //Number of clusters surviving cuts
-   TCanvas          *fCanvas;               //Pointer to the display canvas
-   TPad             *fTrigPad;              //Pointer to the trigger pad 
    TPad             *fColPad;               //Pointer to the colors pad 
-   TPad             *fButtons;              //Pointer to the buttons pad
-   TPad             *fPad;                  //Pointer to the event display main pad
-   TSlider          *fRangeSlider;          //Range slider
-   TButton          *fPickButton;           //Button to activate Pick mode
-   TButton          *fZoomButton;           //Button to activate Zoom mode
-   TArc             *fArcButton;            //Gren/Red button to show Pick/Zoom mode
    TObjArray        *fPoints;               //Array of points for each cathode
    TObjArray        *fPhits;                //Array of hit points for each chamber
    TObjArray        *fRpoints;              //Array of cog points for each cathode
-   TObjArray        *fR2points;             //Array of cog points for each cathode
-   TObjArray        *fCpoints;              //Array of correlated points for each first cathode
    Int_t            fNextCathode;           //Flagging next cathode
+
+   AliLoader*       fLoader;                //! MUON loader to get data
+   AliMUONData*     fMUONData;              //! Data container for MUON subsystem 
+
    ClassDef(AliMUONDisplay, 0)   //Utility class to display MUON events
 };