]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnPairDef.cxx
Added first version of cut monitoring + style format applied
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnPairDef.cxx
index 8ada0bcd7a8c9f90553ab68d4418374f7ee5d2cb..c3d59d92c4e03394493e38a13344c457dbe6b81b 100644 (file)
@@ -22,7 +22,7 @@
 //  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
@@ -41,9 +41,9 @@ ClassImp(AliRsnPairDef)
 
 //_____________________________________________________________________________
 AliRsnPairDef::AliRsnPairDef() :
-   fMotherMass(0.0), 
-   fMotherPDG(0), 
-   fDef1(), 
+   fMotherMass(0.0),
+   fMotherPDG(0),
+   fDef1(),
    fDef2()
 {
 //
@@ -55,9 +55,9 @@ AliRsnPairDef::AliRsnPairDef() :
 //_____________________________________________________________________________
 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)
 {
 //
@@ -69,9 +69,9 @@ AliRsnPairDef::AliRsnPairDef
 //_____________________________________________________________________________
 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)
 {
 //
@@ -79,7 +79,7 @@ AliRsnPairDef::AliRsnPairDef
 // If the two pointers are well initialized, they are used to init the members.
 //
 }
-   
+
 //_____________________________________________________________________________
 AliRsnPairDef::AliRsnPairDef(const AliRsnPairDef &copy) :
    TObject(copy),
@@ -94,17 +94,17 @@ AliRsnPairDef::AliRsnPairDef(const AliRsnPairDef &copy) :
 }
 
 //_____________________________________________________________________________
-AliRsnPairDefAliRsnPairDef::operator=(const AliRsnPairDef &copy)
+AliRsnPairDef &AliRsnPairDef::operator=(const AliRsnPairDef &copy)
 {
 //
 // Assignment operator with standard behavior.
 //
-  if (this == &copy)
-    return *this;
-  fMotherMass = copy.fMotherMass;
-  fMotherPDG = copy.fMotherPDG;
-  fDef1 = copy.fDef1;
-  fDef2 = copy.fDef2;
-  
+   if (this == &copy)
+      return *this;
+   fMotherMass = copy.fMotherMass;
+   fMotherPDG = copy.fMotherPDG;
+   fDef1 = copy.fDef1;
+   fDef2 = copy.fDef2;
+
    return (*this);
 }