]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FASTSIM/AliFastDetector.cxx
Only read online gain tables and apply them if they were enabled in FEE
[u/mrichter/AliRoot.git] / FASTSIM / AliFastDetector.cxx
index 16540927596dcb9159b40ded6c3fb53f00d2b5a0..d9950cc42e88557791abbce1c93f52d4b3f04957 100644 (file)
 #include <TString.h>
 
 ClassImp(AliFastDetector)
-AliFastDetector::AliFastDetector()
+
+
+AliFastDetector::AliFastDetector():
+    fSubdetectors(0),
+    fResponses(0),
+    fLnkD(0),
+    fLnkR(0),
+    fEfficiency(0),
+    fResolution(0),
+    fGeometry(0)
 {
 // Default Constructor
     fName  = "FastDetector";
     fTitle = "Fast Detector Base Class";
-    fLnkD  = 0;
-    fLnkR  = 0;
-    
-    fResponses    = 0;
-    fSubdetectors = 0;
 }
 
 AliFastDetector::AliFastDetector(char* Name, char* Title):
-    TNamed(Name, Title)
+    TNamed(Name, Title),
+    fSubdetectors(new TList()),
+    fResponses(new TList()),
+    fLnkD(0),
+    fLnkR(0),
+    fEfficiency(0),
+    fResolution(0),
+    fGeometry(0)
 {
 // Constructor
-    fSubdetectors = new TList();
-    fResponses    = new TList();
-}
+ }
 
 AliFastDetector::AliFastDetector(const AliFastDetector & det)
-    :TNamed(det)
+    :TNamed(det),
+    fSubdetectors(0),
+    fResponses(0),
+    fLnkD(0),
+    fLnkR(0),
+    fEfficiency(0),
+    fResolution(0),
+    fGeometry(0)
 {
 // Copy constructor
     det.Copy(*this);