]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPairLight.h
Adding PiKP-only histograms and eliminating a number of switches where histograms...
[u/mrichter/AliRoot.git] / MUON / AliMUONPairLight.h
index 178375b57214891f5cb0b7b156fc77ec605ae007..945694033dc1fd5eb35056f8727603f18e27e302 100644 (file)
@@ -36,16 +36,17 @@ public:
   AliMUONPairLight();
   AliMUONPairLight(AliMUONPairLight &dimuCopy);
   virtual ~AliMUONPairLight();
-  virtual void SetMuons(AliMUONTrackLight mu0, AliMUONTrackLight mu1);
+  AliMUONPairLight& operator=(const AliMUONPairLight&);
+  virtual void SetMuons(const AliMUONTrackLight& mu0, const AliMUONTrackLight& mu1);
   AliMUONTrackLight* GetMuon(Int_t index) ;   
   Int_t GetMuonMotherPDG(Int_t imuon, Int_t mother=0) ; 
-  
-  /// \todo add comment
+
+  /// returns kTRUE if the creation process of the pair was "open charm" (kFALSE... otherwise)
   Bool_t IsOpenCharm() {return (TMath::Abs(fMu0.GetParentFlavour(0))==4 && TMath::Abs(fMu1.GetParentFlavour(0))==4 && fIsCorrelated && !IsAResonance());}
-  /// \todo add comment
+  /// returns kTRUE if the creation process of the pair was "open beauty" (kFALSE... otherwise)
   Bool_t IsOpenBeauty() {return (TMath::Abs(fMu0.GetParentFlavour(0))==5 && TMath::Abs(fMu1.GetParentFlavour(0))==5 && fIsCorrelated  && !IsAResonance());}
   Bool_t IsAResonance(); 
-  /// \todo add comment
+  /// returns kTRUE if at least one of the first hadronised parent is a pi or a K (kFALSE... otherwise)
   Bool_t IsOneMuonFromPionOrKaon(){return (fMu0.IsParentPionOrKaon(0) || fMu1.IsParentPionOrKaon(0));}
   /// Return the info if the two muons are of correlated origin
   Bool_t IsCorrelated() const {return fIsCorrelated;}   
@@ -53,9 +54,9 @@ public:
   Int_t GetCauseOfCorrelation() const {return fCauseOfCorrelation;}
   /// Return the info if the process is from feeddown 
   Bool_t IsFeedDown() const {return fIsFeedDown;}   
-  /// \todo add comment
+  /// returns kTRUE if at least one of the reconstructed tracks is not a muon (kFALSE... otherwise)
   Bool_t IsOneTrackNotAMuon() {return (!( fMu0.IsAMuon() && fMu1.IsAMuon() )) ;}
-  /// \todo add comment
+  /// returns the charge of the created pair
   Int_t GetCharge() {return fMu0.GetCharge() + fMu1.GetCharge();}
   /// \brief Return the info ablout creation process
   ///0: pair creation, 1: gluon splitting, 2: flavour excitation, 3: same fragmented mother, -1: resonance
@@ -66,12 +67,13 @@ public:
   void SetCauseOfCorrelation(Int_t pdg) {fCauseOfCorrelation = pdg; }
   /// Set the info if the process is from feeddown
   void SetFeedDown(Int_t answer) {fIsFeedDown = answer;}
-  /// \todo add comment
+  /// returns a TLorentzVector containing the reconstructed kinematics of the pair
   TLorentzVector GetPRec(){return fMu0.GetPRec()+fMu1.GetPRec();}
-  /// \todo add comment
+  /// returns a TLorentzVector containing the generated kinematics of the pair
   TLorentzVector GetPGen(){return fMu0.GetPGen()+fMu1.GetPGen();}
   Double_t GetOpeningAngle(); 
-  virtual void PrintInfo(Option_t* opt);//"H" single muons' decay histories
+  Bool_t IsDimuonFromCorrPiK();
+  virtual void PrintInfo(const Option_t* opt);//"H" single muons' decay histories
                                            //"K" dimuon kinematics
                                            //"F" dimuon flags
                                            //"A" all variables