]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPixel.cxx
Cleanuo Effc++ warnings (Sasha)
[u/mrichter/AliRoot.git] / MUON / AliMUONPixel.cxx
index b89c3ad50fdea53dbdbe734b7ec2f1912d5b4904..3f1d9eabb26b2bde4a995811986442ffebef4751 100644 (file)
@@ -28,20 +28,22 @@ ClassImp(AliMUONPixel) // Class implementation in ROOT context
 
 //_____________________________________________________________________________
 AliMUONPixel::AliMUONPixel()
-  : TObject()
+  : TObject(),
+    fCharge(0),
+    fFlag(0)
 {
 /// Default constructor
-  fXY[0] = fXY[1] = fSize[0] = fSize[1] = fCharge = 0;
-  fFlag = 0;
+  fXY[0] = fXY[1] = fSize[0] = fSize[1] = 0;
 } 
 
 //_____________________________________________________________________________
 AliMUONPixel::AliMUONPixel(Double_t xc, Double_t yc, Double_t wx, Double_t wy, Double_t charge)
-  : TObject()
+  : TObject(),
+    fCharge(charge),
+    fFlag(0)
 {
 /// Constructor
-  fXY[0] = xc; fXY[1] = yc; fSize[0] = wx; fSize[1] = wy; fCharge = charge;
-  fFlag = 0;
+  fXY[0] = xc; fXY[1] = yc; fSize[0] = wx; fSize[1] = wy;
 }
 
 //_____________________________________________________________________________