]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - OADB/AliOADBPhysicsSelection.cxx
AliXMLParser (Harsh)
[u/mrichter/AliRoot.git] / OADB / AliOADBPhysicsSelection.cxx
index 870924e3d3d837e0062ea45a4092646886437a3b..5f9f76e8815487e96f97ca99ba2e0302e3064fe1 100644 (file)
@@ -80,6 +80,7 @@ AliOADBPhysicsSelection::AliOADBPhysicsSelection(const AliOADBPhysicsSelection&
 
 AliOADBPhysicsSelection& AliOADBPhysicsSelection::operator=(const AliOADBPhysicsSelection& other)  {
   //Assignment operator
+  if(&other == this) return *this;
   TNamed::operator=(other);
 
   fCollTrigClasses = other.fCollTrigClasses;
@@ -240,7 +241,7 @@ UInt_t AliOADBPhysicsSelection::GetActiveBit(UInt_t mask) {
   // If more than one bit is lit, prints an error and returns the first.
   // If no bit is on, prints an error and returns 0
 
-  const Int_t kNBitsToCheck = 28;
+  const Int_t kNBitsToCheck = 29;
 
   //  Int_t nbit = sizeof(mask)*8;
   Int_t nbit = kNBitsToCheck;