]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDBoolMap.cxx
From Jochen: patch generalizing TRD trigger analysis to AliVEvent and AliVTrdTrack
[u/mrichter/AliRoot.git] / FMD / AliFMDBoolMap.cxx
index f2fd9389db475092ba9fd678113aed2acf7f6aec..16f20c67b4101abc6dc6ee7ced557ac6b07d837e 100644 (file)
@@ -62,9 +62,9 @@ AliFMDBoolMap::AliFMDBoolMap()
 
 //__________________________________________________________
 AliFMDBoolMap::AliFMDBoolMap(UShort_t maxDet,
-                         UShort_t maxRing,
-                         UShort_t maxSec,
-                         UShort_t maxStr)
+                            UShort_t maxRing,
+                            UShort_t maxSec,
+                            UShort_t maxStr)
   : AliFMDMap(maxDet, maxRing, maxSec, maxStr),
     fTotal(fMaxDetectors * fMaxRings * fMaxSectors * fMaxStrips),
     fData(0)
@@ -85,6 +85,7 @@ AliFMDBoolMap&
 AliFMDBoolMap::operator=(const AliFMDBoolMap& other)
 {
   // Assignment operator 
+  if (&other == this) return *this; 
   fMaxDetectors = other.fMaxDetectors;
   fMaxRings     = other.fMaxRings;
   fMaxSectors   = other.fMaxSectors;