]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnCutValue.cxx
Added first version of cut monitoring + style format applied
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutValue.cxx
index b6cba21a1d3baa803eba688664a5df6a06b2caa9..770211588ca93f6eb863e67a67ec7fec2c0b051d 100644 (file)
@@ -50,7 +50,7 @@ AliRsnCutValue::AliRsnCutValue
 }
 
 //_________________________________________________________________________________________________
-AliRsnCutValue::AliRsnCutValue(const AliRsnCutValuecopy) :
+AliRsnCutValue::AliRsnCutValue(const AliRsnCutValue &copy) :
    AliRsnCut(copy),
    fValue(copy.fValue)
 {
@@ -61,20 +61,20 @@ AliRsnCutValue::AliRsnCutValue(const AliRsnCutValue& copy) :
 }
 
 //_________________________________________________________________________________________________
-AliRsnCutValue& AliRsnCutValue::operator=(const AliRsnCutValue& copy)
+AliRsnCutValue &AliRsnCutValue::operator=(const AliRsnCutValue &copy)
 {
 //
 // Assignment operator.
 // Does not duplicate memory allocation.
 //
 
-  AliRsnCut::operator=(copy);
-  if (this == &copy)
-    return *this;
-  
-  fValue = copy.fValue;
-  
-  return (*this);
+   AliRsnCut::operator=(copy);
+   if (this == &copy)
+      return *this;
+
+   fValue = copy.fValue;
+
+   return (*this);
 }
 
 //_________________________________________________________________________________________________
@@ -87,7 +87,7 @@ Bool_t AliRsnCutValue::IsSelected(TObject *object)
 
    // skip cut if value is not initialized
    if (!fValue) return kTRUE;
-   
+
    // match target types
    SetTargetType(fValue->GetTargetType());