// This object contains two AliRsnDaughterDef which define a model for each
// of the two expected daughters (see also AliRsnDaughterDef class) plus a
// mass hypothesis for the resonance, which is used for computin quantities
-// which need it (like rapidity or Mt), and a PDG code, which is used to
+// which need it (like rapidity or Mt), and a PDG code, which is used to
// check for true pairs, when needed. In all other cases, these two additional
// values can be left to their default (meaningless) value.
// Since this object must define a decay channel, the only provided constructor
//_____________________________________________________________________________
AliRsnPairDef::AliRsnPairDef() :
- fMotherMass(0.0),
- fMotherPDG(0),
- fDef1(),
+ fMotherMass(0.0),
+ fMotherPDG(0),
+ fDef1(),
fDef2()
{
//
//_____________________________________________________________________________
AliRsnPairDef::AliRsnPairDef
(EPARTYPE type1, Char_t ch1, EPARTYPE type2, Char_t ch2, Int_t pdg, Double_t mass) :
- fMotherMass(mass),
- fMotherPDG(pdg),
- fDef1(type1, ch1),
+ fMotherMass(mass),
+ fMotherPDG(pdg),
+ fDef1(type1, ch1),
fDef2(type2, ch2)
{
//
//_____________________________________________________________________________
AliRsnPairDef::AliRsnPairDef
(AliRsnDaughter::ESpecies type1, Char_t ch1, AliRsnDaughter::ESpecies type2, Char_t ch2, Int_t pdg, Double_t mass) :
- fMotherMass(mass),
- fMotherPDG(pdg),
- fDef1(type1, ch1),
+ fMotherMass(mass),
+ fMotherPDG(pdg),
+ fDef1(type1, ch1),
fDef2(type2, ch2)
{
//
// If the two pointers are well initialized, they are used to init the members.
//
}
-
+
//_____________________________________________________________________________
AliRsnPairDef::AliRsnPairDef(const AliRsnPairDef ©) :
TObject(copy),
}
//_____________________________________________________________________________
-AliRsnPairDef& AliRsnPairDef::operator=(const AliRsnPairDef ©)
+AliRsnPairDef &AliRsnPairDef::operator=(const AliRsnPairDef ©)
{
//
// Assignment operator with standard behavior.
//
- if (this == ©)
- return *this;
- fMotherMass = copy.fMotherMass;
- fMotherPDG = copy.fMotherPDG;
- fDef1 = copy.fDef1;
- fDef2 = copy.fDef2;
-
+ if (this == ©)
+ return *this;
+ fMotherMass = copy.fMotherMass;
+ fMotherPDG = copy.fMotherPDG;
+ fDef1 = copy.fDef1;
+ fDef2 = copy.fDef2;
+
return (*this);
}