]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSresponseSSD.cxx
Fixed dummy function for Sun system.
[u/mrichter/AliRoot.git] / ITS / AliITSresponseSSD.cxx
index a35d01a9643b1f80ab7336d7a079c06131da452f..627d51dfea331091e0e2d0cc2a9777ed65e2a5d1 100644 (file)
@@ -23,14 +23,27 @@ ClassImp(AliITSresponseSSD)
 
 //______________________________________________________________________
 AliITSresponseSSD::AliITSresponseSSD(){
+    // Default Constructor
+
+    fDetPar = 0;
+    fNPar   = 0;
+    fNoiseP = 0;
+    fNoiseN = 0;
+    fSigmaP = 0;
+    fSigmaN = 0;
+    fDiffCoeff = 0;
+    fADCpereV  = 0;
+}
+//______________________________________________________________________
+AliITSresponseSSD::AliITSresponseSSD(const char *dataType){
     // constructor
 
     SetDiffCoeff();
     SetNoiseParam();
-    SetDataType();
+    SetDataType(dataType);
     SetSigmaSpread();
     SetParamOptions();
-    SetNDetParam();
+    SetNDetParam();   // Sets fNPar=6 by default.
     SetADCpereV();
     fDetPar = new Float_t[fNPar];
     if (fNPar==6) {