]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpSlat.cxx
Coding conventions corrections
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSlat.cxx
index 23f7e99bc7a711dffe5728d5950ac2f2c8fdd1da..98ab3cdbf0789615f6865868c9809cc770481223 100644 (file)
@@ -369,9 +369,9 @@ AliMpSlat::GetAllMotifPositionsIDs(TArrayI& ecn) const
   ///
   /// Return all the manuIds (=MotifPositionIDs) of this slat
   ///
-  Int_t N(GetNofElectronicCards());
-  assert(N>0);
-  ecn.Set(N);
+  Int_t nofElectronicCards(GetNofElectronicCards());
+  assert(nofElectronicCards>0);
+  ecn.Set(nofElectronicCards);
 //#ifdef WITH_ROOT
   TIter next(fManuMap.CreateIterator());
   AliMpMotifPosition* mp;
@@ -381,7 +381,7 @@ AliMpSlat::GetAllMotifPositionsIDs(TArrayI& ecn) const
     ecn.AddAt(mp->GetID(),n);
     ++n;
   }
-  assert(n==N);
+  assert(n==nofElectronicCards);
 //#else
   // missing here
 //#endif