]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSresponseSPD.cxx
Added the function GetModuleTypeName, and inlined some functions for speed.
[u/mrichter/AliRoot.git] / ITS / AliITSresponseSPD.cxx
index 18f3d447e623a3e6d8d8feb441b5160a9f7f6fbd..3ef7697bf0e167fadb4babc683d5c1c244d6e44b 100644 (file)
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
-
-#include <TMath.h>
+//////////////////////////////////////////////////////
+//  Response class for set:ITS                      //
+//  Specific subdetector implementation for         //
+//  Silicon pixels                                  //
+//  An alternative version "SPDdubna"               //
+//  is also available                               //
+//////////////////////////////////////////////////////
 
 #include "AliITSresponseSPD.h"
-//___________________________________________
-ClassImp(AliITSresponseSPD)    
 
-AliITSresponseSPD::AliITSresponseSPD()
-{
+const Float_t AliITSresponseSPD::fgkDiffCoeffDefault = 0.;
+const Float_t AliITSresponseSPD::fgkThreshDefault = 2000.;
+const Float_t AliITSresponseSPD::fgkSigmaDefault = 280.;
+
+ClassImp(AliITSresponseSPD)    
+//______________________________________________________________________
+AliITSresponseSPD::AliITSresponseSPD(){
   // constructor
-   SetThresholds();
-   SetNoiseParam();
+
+   SetThresholds(fgkThreshDefault,fgkSigmaDefault);
+   SetDiffCoeff(fgkDiffCoeffDefault,0.);
+   SetNoiseParam(0.,0.);
    SetDataType();
+   SetFractionDead();
 }