]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONRealDigit.h
Net Particle fluctuation task including efficiency correction (by Jochen Thaeder)
[u/mrichter/AliRoot.git] / MUON / AliMUONRealDigit.h
index 6090f0a6c4cae364bb59180d0732a2d21b3543cf..031eede19c96e093018795d840e5092788c9dc7d 100644 (file)
@@ -57,6 +57,11 @@ public:
   /// Set the calibration status
   virtual void Calibrated(Bool_t value) { SetBit(kCalibrated,value); }
   
+  /// Whether this digit has its charge already in fC
+  virtual Bool_t IsChargeInFC() const { return TestBit(kChargeInFC); }
+  /// Set the charge unit value
+  virtual void ChargeInFC(Bool_t value=kTRUE) { SetBit(kChargeInFC,value); }
+
   /// Whether this digit is part of a cluster or something else
   virtual Bool_t IsUsed() const { return TestBit(kUsed); }
   /// Set the used status
@@ -67,11 +72,6 @@ public:
   /// Set the status map value
   virtual void SetStatusMap(UInt_t statusMap) { fStatusMap = statusMap; }
   
-  /// Whether this digit is real or virtual (a clustering detail...)
-  virtual Bool_t IsVirtual() const { return TestBit(kVirtual); }
-  /// Set the virtual status
-  virtual void SetVirtual(Bool_t value) { SetBit(kVirtual,value); }
-
   /// Set the ADC value (should be between 0 and 4095)
   virtual void SetADC(Int_t adc) { fADC = adc; }
   virtual void SetPadXY(Int_t padx, Int_t pady);
@@ -94,11 +94,11 @@ private:
   {
     kSaturated = BIT(20),  ///< to indicate that manas amplifier has saturated 
     kUsed = BIT(21),       ///< whether the digit is used (e.g. in a cluster)
-    kCalibrated = BIT(22), ///< whether the digit has been calibrated or not 
-    kVirtual = BIT(23)     ///< whether the digit is virtual or not (see AZ) 
+    kCalibrated = BIT(22),  ///< whether the digit has been calibrated or not 
+    kChargeInFC = BIT(23)   ///< whether the digit has a charge in fC or not
   };
   
-  ClassDef(AliMUONRealDigit,1) // Implementation of AliMUONVDigit
+  ClassDef(AliMUONRealDigit,2) // Implementation of AliMUONVDigit
 };
 
 #endif