}
//_________________________________________________________________________________________________
-AliRsnCutValue::AliRsnCutValue(const AliRsnCutValue& copy) :
+AliRsnCutValue::AliRsnCutValue(const AliRsnCutValue ©) :
AliRsnCut(copy),
fValue(copy.fValue)
{
}
//_________________________________________________________________________________________________
-AliRsnCutValue& AliRsnCutValue::operator=(const AliRsnCutValue& copy)
+AliRsnCutValue &AliRsnCutValue::operator=(const AliRsnCutValue ©)
{
//
// Assignment operator.
// Does not duplicate memory allocation.
//
- AliRsnCut::operator=(copy);
- if (this == ©)
- return *this;
-
- fValue = copy.fValue;
-
- return (*this);
+ AliRsnCut::operator=(copy);
+ if (this == ©)
+ return *this;
+
+ fValue = copy.fValue;
+
+ return (*this);
}
//_________________________________________________________________________________________________
// skip cut if value is not initialized
if (!fValue) return kTRUE;
-
+
// match target types
SetTargetType(fValue->GetTargetType());