]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSresponseSSD.h
SSD calibration
[u/mrichter/AliRoot.git] / ITS / AliITSresponseSSD.h
index fa94495bc585339d2650503a1653529e832b39ca..bcffc4246b9a50e76cd493050729f9109df2f152 100644 (file)
@@ -24,19 +24,47 @@ class AliITSresponseSSD : public AliITSresponse {
        // options
        strcpy(opt1,fOption1.Data());  strcpy(opt2,fOption2.Data());
     }
-    void SetADCpereV(Double_t a=50./30000.0){fADCpereV = a;}
+    void SetADCpereV(Double_t a=200./30000.0){fADCpereV = a;}
     Double_t DEvToADC(Double_t eV) const {return eV*fADCpereV;}
     Int_t IEvToADC(Double_t eV) const { // Converts electron-hole pairs to
       return ((Int_t) DEvToADC(eV)); }
       
- protected:
+    Double_t  GetCouplingPR() const {// couplings
+      return fCouplingPR;}
+    Double_t  GetCouplingPL() const {// couplings
+      return fCouplingPL;}
+    Double_t  GetCouplingNR() const {// couplings
+      return fCouplingNR;}
+    Double_t  GetCouplingNL() const {// couplings
+      return fCouplingNL;}
+    virtual void SetCouplings(Double_t pr, Double_t pl, Double_t nr, Double_t nl) {
+      fCouplingPR=pr; fCouplingPL=pl; fCouplingNR=nr; fCouplingNL=nl; }
+
+    Int_t GetZSThreshold() const { // ZS threshold
+      return fZSThreshold; }
+    virtual void SetZSThreshold(Int_t zsth) { fZSThreshold = zsth; }
+
+protected:
     static const Float_t fgkDiffCoeffDefault; //default for fDiffCoeff
     static const TString fgkOption1Default; // default for fOption1
     static const TString fgkOption2Default; // default for fOption2
 
+    static const Double_t fgkfCouplingPR;
+    static const Double_t fgkfCouplingPL;
+    static const Double_t fgkfCouplingNR;
+    static const Double_t fgkfCouplingNL;
+
     Double_t fADCpereV;        // Constant to convert eV to ADC.
 
-    TString fOption1;         // Simulate invalid strips option
+    Double_t  fCouplingPR;  // couplings
+    Double_t  fCouplingPL;  // couplings
+    Double_t  fCouplingNR;  // couplings
+    Double_t  fCouplingNL;  // couplings   
+
+    static const Int_t fgkZSThreshold; // threshold for the zero suppresion
+    Int_t fZSThreshold; 
+
+     TString fOption1;         // Simulate invalid strips option
     TString fOption2;         // Not used for the moment
 
  private:
@@ -46,3 +74,4 @@ class AliITSresponseSSD : public AliITSresponse {
     ClassDef(AliITSresponseSSD,4) //Response class for SSD
 };
 #endif
+