]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Improving stepmanager and reponse function of the chambers: gain and saturation ...
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Oct 2003 11:28:51 +0000 (11:28 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Oct 2003 11:28:51 +0000 (11:28 +0000)
MUON/AliMUONResponse.h
MUON/AliMUONResponseV0.h

index 46b0401925b188064513c92c1547b8db967ee8cc..7ec1b45dcdb18bec7589555404be7001096e0e9e 100644 (file)
@@ -33,10 +33,14 @@ public TObject {
     virtual Float_t ChargeSpreadY()                           =0;
     // Set maximum Adc-count value
     virtual void    SetMaxAdc(Int_t p1)                       =0;
+    // Set saturation value
+    virtual void    SetSaturation(Int_t p1)                   =0;
     // Set zero suppression threshold
     virtual void    SetZeroSuppression(Int_t val)             =0;
     // Get maximum Adc-count value
     virtual Int_t MaxAdc()                                    =0;
+    // Get saturation value
+    virtual Int_t Saturation()                                =0;
     // Get maximum zero suppression threshold
     virtual Int_t ZeroSuppression()                           =0;
     // Set anode cathode Pitch
index cc55a7dfcc5330ee1dddf6a4a3cfe4f266c88fa8..4addf18281a997dc48bdfc61534c5b5050c4a07c 100644 (file)
@@ -32,10 +32,15 @@ public AliMUONResponse {
     virtual Float_t ChargeSpreadY()    {return fChargeSpreadY;}        
     // Set maximum Adc-count value
     virtual void    SetMaxAdc(Int_t p1) {fMaxAdc=p1;}
+    // Set saturation value
+    virtual void    SetSaturation(Int_t p1) {fSaturation=p1;}
     // Set zero suppression threshold
     virtual void    SetZeroSuppression(Int_t p1) {fZeroSuppression=p1;}
     // Get maximum Adc-count value   
     virtual Int_t   MaxAdc()           {return fMaxAdc;}
+    // Get saturation value   
+    virtual Int_t   Saturation()           {return fSaturation;}
+
     // Get zero suppression threshold
     virtual Int_t   ZeroSuppression() {return fZeroSuppression;}
     // Set anode cathode Pitch
@@ -79,6 +84,7 @@ public AliMUONResponse {
     Float_t fChargeSpreadY;            // Width of the charge distribution in y
     Float_t fSigmaIntegration;         // Number of sigma's used for charge distribution
     Int_t   fMaxAdc;                   // Maximum ADC channel
+    Int_t   fSaturation;               // Pad saturation in ADC channel
     Int_t   fZeroSuppression;          // Zero suppression threshold
     Float_t fChargeCorrel;             // amplitude of charge correlation on 2 cathods
                                        // is RMS of ln(q1/q2)