Initialization of data members
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 26 Jun 2005 15:31:16 +0000 (15:31 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 26 Jun 2005 15:31:16 +0000 (15:31 +0000)
FMD/AliFMD.cxx
FMD/AliFMDv1.h

index c6a8958..e87dec8 100644 (file)
@@ -123,7 +123,8 @@ ClassImp(AliFMD)
 
 //____________________________________________________________________
 AliFMD::AliFMD()
-  : fSDigits(0), 
+  : AliDetector(),
+    fSDigits(0), 
     fNsdigits(0),
     fDetailed(kTRUE),
     fSimulator(0)
index 951e3b5..fa3f1b8 100644 (file)
 class AliFMDv1 : public AliFMD 
 {
 public:
-  AliFMDv1() { fDetailed = kTRUE; }
+  AliFMDv1()
+    : AliFMD(),
+      fCurrentDeltaE(0),
+      fCurrentV(),
+      fCurrentP(),
+      fCurrentPdg(0) { fDetailed = kTRUE; }
   AliFMDv1(const char *name, const char *title="Detailed geometry") 
-    : AliFMD(name, title) 
-  { fDetailed = kTRUE; }
+    : AliFMD(name, title),
+      fCurrentDeltaE(0),
+      fCurrentV(),
+      fCurrentP(),
+      fCurrentPdg(0) { fDetailed = kTRUE; }
   virtual ~AliFMDv1() {}
 
   // Required member functions