]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMD.cxx
Fixed Effective C++ warnings
[u/mrichter/AliRoot.git] / FMD / AliFMD.cxx
index 1e73d4904e2a77d4831d714b274ce9872d20dad1..6c4a2875f2fd10dbe538005f2c6f34f9894c5fff 100644 (file)
@@ -127,7 +127,9 @@ AliFMD::AliFMD()
     fSDigits(0), 
     fNsdigits(0),
     fDetailed(kTRUE),
-    fBad(0)
+    fUseOld(kFALSE),
+    fUseAssembly(kTRUE),
+    fBad(0) 
 {
   //
   // Default constructor for class AliFMD
@@ -136,8 +138,6 @@ AliFMD::AliFMD()
   fHits        = 0;
   fDigits      = 0;
   fIshunt      = 0;
-  fUseOld      = kFALSE;
-  fUseAssembly = kTRUE;
   fBad         = new TClonesArray("AliFMDHit");
 }
 
@@ -147,11 +147,11 @@ AliFMD::AliFMD(const AliFMD& other)
     fSDigits(other.fSDigits), 
     fNsdigits(other.fNsdigits),
     fDetailed(other.fDetailed),
+    fUseOld(other.fUseOld),
+    fUseAssembly(other.fUseAssembly),
     fBad(other.fBad)
 {
   // Copy constructor 
-  fUseOld      = other.fUseOld;
-  fUseAssembly = other.fUseAssembly;
 }
 
 //____________________________________________________________________
@@ -160,14 +160,14 @@ AliFMD::AliFMD(const char *name, const char *title)
     fSDigits(0),
     fNsdigits(0),
     fDetailed(kTRUE),
+    fUseOld(kFALSE),
+    fUseAssembly(kFALSE),
     fBad(0)
 {
   //
   // Standard constructor for Forward Multiplicity Detector
   //
   AliDebug(10, "\tStandard CTOR");
-  fUseOld      = kFALSE;
-  fUseAssembly = kFALSE;
   fBad         = new TClonesArray("AliFMDHit");
   
   // Initialise Hit array