]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDigit.cxx
Some fixes and updates for the embedding :
[u/mrichter/AliRoot.git] / MUON / AliMUONDigit.cxx
index 793d3ade531b6d18017a5114c9f4412ae2cbc0c5..f8c5882ad6e43755c9b6fa9a006fe28f8cf36b37 100644 (file)
@@ -239,6 +239,15 @@ AliMUONDigit::IsCalibrated() const
   return (fFlags & fgkCalibratedMask );
 }
 
+//_____________________________________________________________________________
+Bool_t
+AliMUONDigit::IsConverted() const
+{
+  /// Whether this digit is converted or not
+  
+  return (fFlags & fgkConverted);
+}
+
 
 //_____________________________________________________________________________
 Bool_t
@@ -386,6 +395,22 @@ AliMUONDigit::Saturated(Bool_t value)
   }
 }
 
+//_____________________________________________________________________________
+void
+AliMUONDigit::Converted(Bool_t value)
+{
+  /// Set the convertion status of this digit.
+  
+  if ( value )
+  {
+    fFlags |= fgkConverted;
+  }
+  else
+  {
+    fFlags &= ~fgkConverted;
+  }
+}
+
 //_____________________________________________________________________________
 Int_t
 AliMUONDigit::Track(Int_t i) const