]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDigit.cxx
(hopefully) Last tweaks to have the embedding straight : the charge of sdigits is...
[u/mrichter/AliRoot.git] / MUON / AliMUONDigit.cxx
index f8c5882ad6e43755c9b6fa9a006fe28f8cf36b37..56907450e1980c7c99e2f7cb21eef1c4a15cec8d 100644 (file)
@@ -248,6 +248,15 @@ AliMUONDigit::IsConverted() const
   return (fFlags & fgkConverted);
 }
 
+//_____________________________________________________________________________
+Bool_t
+AliMUONDigit::IsChargeInFC() const
+{
+  /// Whether this digit is converted or not
+  
+  return (fFlags & fgkChargeInFC);
+}
+
 
 //_____________________________________________________________________________
 Bool_t
@@ -411,6 +420,22 @@ AliMUONDigit::Converted(Bool_t value)
   }
 }
 
+//_____________________________________________________________________________
+void
+AliMUONDigit::ChargeInFC(Bool_t value)
+{
+  /// Set the convertion status of this digit.
+  
+  if ( value )
+  {
+    fFlags |= fgkChargeInFC;
+  }
+  else
+  {
+    fFlags &= ~fgkChargeInFC;
+  }
+}
+
 //_____________________________________________________________________________
 Int_t
 AliMUONDigit::Track(Int_t i) const