]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPad.h
Separating run-dependent mapping data from data, which are not
[u/mrichter/AliRoot.git] / MUON / AliMUONPad.h
index 10acb80fbe90c75ec59b5a8bb670ed0625ccc4df..2ecc7da4b49bea7c73b49c1ed129581e893914c4 100644 (file)
@@ -49,15 +49,9 @@ public:
   /// Return backup charge
   Double_t ChargeBackup() const { return fChargeBackup; }
 
-  virtual Int_t Compare(const TObject* obj) const;
-
   /// Return detection element id
   Int_t DetElemId() const { return fDetElemId; }
   
-  /// \brief Return corresponding digit index 
-  /// To get back the digit from which this pad was constructed, if needed
-  Int_t DigitIndex() const { return fDigitIndex; }
-
   /// Return half dimensions in x and y (cm)
   TVector2 Dimensions() const { return fDimensions; }
   
@@ -72,9 +66,11 @@ public:
   /// Return info whether this pad is saturated or not
   Bool_t IsSaturated() const { return fIsSaturated; }
   
-  /// Return true as the function Sort is implemented
+  /// Return true as the function Compare is implemented
   Bool_t IsSortable() const { return kTRUE; }
   
+  virtual Int_t Compare(const TObject* obj) const;
+
   /// Return true if is used
   Bool_t IsUsed() const { return fClusterId >= 0; }
 
@@ -104,10 +100,6 @@ public:
 
   void SetCoord(Int_t ixy, Double_t Coord);
 
-  /// \brief Set corresponding digit index
-  /// To get back the digit from which this pad was constructed, if needed
-  void SetDigitIndex(Int_t digitIndex) { fDigitIndex = digitIndex; }
-
   /// Set status word
   void SetStatus(Int_t status) { fStatus = status; }
     
@@ -160,7 +152,6 @@ private:
   Int_t fClusterId; ///< cluster id this pad belongs to (-1 if not attached to a cluster)
   Int_t fCathode; ///< cathode number
   Int_t fDetElemId; ///< detection element id
-  Int_t fDigitIndex; ///< corresponding digit index (to get back the digit from which this pad was constructed, if needed)
   Int_t fIx; ///< x-index
   Int_t fIy; ///< y-index
   Int_t fStatus; ///< status word
@@ -169,7 +160,7 @@ private:
   Double_t fCharge; ///< pad charge
   Double_t fChargeBackup; ///< backup charge (usefull if clustering somehow plays with the charge, this one is the "original" one)
   
-  ClassDef(AliMUONPad,1) // A full grown pad 
+  ClassDef(AliMUONPad,2) // A full grown pad 
 };
 
 #endif