]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPadHit.h
All data members private. Access functions provided.
[u/mrichter/AliRoot.git] / MUON / AliMUONPadHit.h
index 62fdf33c3e4d1d632c363c80f00c2f622e4887e9..5d4ad2aec5fbd3451e07ff59bf568b4310b4fddf 100644 (file)
@@ -9,8 +9,22 @@
 
 
 class AliMUONPadHit : public TObject {
 public:
-
+   AliMUONPadHit() {
+      fHitNumber=fQ=fPadX=fPadY=fQpad=fRSec=0;   
+}
+   AliMUONPadHit(Int_t *clhits);
+   virtual ~AliMUONPadHit() {;}
+   Int_t   HitNumber()  {return fHitNumber;}
+   Int_t   Cathode()    {return fCathode;}
+   Int_t   Q()          {return fQ;}
+   Int_t   PadX()       {return fPadX;}   
+   Int_t   PadY()       {return fPadY;}
+   Int_t   QPad()       {return fQpad;}
+   Int_t   RSec()       {return fRSec;}
+   
+ private:
    Int_t     fHitNumber;    // Hit number
    Int_t     fCathode;      // Cathode number
    Int_t     fQ  ;          // Total charge      
@@ -18,14 +32,6 @@ public:
    Int_t     fPadY  ;       // Pad number along Y
    Int_t     fQpad  ;       // Charge per pad
    Int_t     fRSec  ;       // R -sector of pad
-public:
-   AliMUONPadHit() {
-      fHitNumber=fQ=fPadX=fPadY=fQpad=fRSec=0;   
-}
-   AliMUONPadHit(Int_t *clhits);
-   virtual ~AliMUONPadHit() {;}
    ClassDef(AliMUONPadHit,1)  // MUON Pad Hit
 };
 #endif