]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPairLight.cxx
Adding PiKP-only histograms and eliminating a number of switches where histograms...
[u/mrichter/AliRoot.git] / MUON / AliMUONPairLight.cxx
index b1ab53bde88391c6cba995db382555190950f80b..6cbdb3c5b322da2c15b345c9f558ca295b10a7a2 100644 (file)
@@ -82,6 +82,27 @@ AliMUONPairLight::~AliMUONPairLight(){
 
 //====================================
 
+AliMUONPairLight& AliMUONPairLight::operator=(const AliMUONPairLight& dimuCopy)
+{
+  // check assignment to self
+  if (this == &dimuCopy) return *this;
+
+  // base class assignment
+  TObject::operator=(dimuCopy);
+
+  // assignment operator
+  fMu0 = dimuCopy.fMu0;
+  fMu1 = dimuCopy.fMu1; 
+  fCreationProcess = dimuCopy.fCreationProcess;
+  fIsCorrelated = dimuCopy.fIsCorrelated; 
+  fCauseOfCorrelation  = dimuCopy.fCauseOfCorrelation;
+  fIsFeedDown = dimuCopy.fIsFeedDown;
+
+  return *this;
+}
+
+//====================================
+
 Bool_t AliMUONPairLight::IsAResonance(){
   /// checks if muon pair comes from a resonance decay  
   if (!fIsCorrelated) return kFALSE;   //if muons not correlated, cannot be a resonance