Changed GetSignalFrom to tag the digit as saturated if needed.
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Jan 2006 16:43:12 +0000 (16:43 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Jan 2006 16:43:12 +0000 (16:43 +0000)
(Laurent)

MUON/AliMUONDigitizerv2.cxx

index b0af4057458ddd93e8d8e020c769597bdaaef757..9c6d8073a59ff4e4d07bc5a8497f9aad82d42608 100644 (file)
@@ -153,6 +153,10 @@ Int_t AliMUONDigitizerv2::GetSignalFrom(AliMUONTransientDigit* td)
        AliMUONChamber& chamber = fMUON->Chamber(td->Chamber());
        AliMUONResponse* response = chamber.ResponseModel();
        q = response->DigitResponse(q, td);
+  if ( q >= response->Saturation() )
+  {
+    td->Saturated(kTRUE);
+  }
        return q;
 }