}
//_____________________________________________________________________________
-AliRsnMiniValue::AliRsnMiniValue(const AliRsnMiniValue& copy) :
+AliRsnMiniValue::AliRsnMiniValue(const AliRsnMiniValue ©) :
TNamed(copy),
fType(copy.fType),
fUseMCInfo(copy.fUseMCInfo)
}
//_____________________________________________________________________________
-AliRsnMiniValue& AliRsnMiniValue::operator=(const AliRsnMiniValue& copy)
+AliRsnMiniValue &AliRsnMiniValue::operator=(const AliRsnMiniValue ©)
{
//
// Assignment operator.
//
TNamed::operator=(copy);
if (this == ©)
- return *this;
+ return *this;
fType = copy.fType;
fUseMCInfo = copy.fUseMCInfo;
}
//_____________________________________________________________________________
-const char* AliRsnMiniValue::TypeName(EType type)
+const char *AliRsnMiniValue::TypeName(EType type)
{
//
// This method returns a string to give a name to each possible
AliError("Null pair passed!");
return 1E20;
}
-
+
// compute value depending on types in the enumeration
// if the type does not match any available choice, or if
// the computation is not doable due to any problem
// (not initialized support object, wrong values, risk of floating point errors)
// the method returng kFALSE and sets the computed value to a meaningless number
switch (fType) {
- // ---- event values -------------------------------------------------------------------------
+ // ---- event values -------------------------------------------------------------------------
case kVz:
return event->Vz();
case kMult:
return event->Angle();
case kLeadingPt:
return 0.0;
- // ---- pair values --------------------------------------------------------------------------
- case kPt:
+ // ---- pair values --------------------------------------------------------------------------
+ case kPt:
return pair->Pt(fUseMCInfo);
case kInvMass:
return pair->InvMass(fUseMCInfo);