AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONPairLight Class Reference

Compact information for the generated muon pairs. More...

#include <AliMUONPairLight.h>

Inheritance diagram for AliMUONPairLight:

Public Member Functions

 AliMUONPairLight ()
 
 AliMUONPairLight (AliMUONPairLight &dimuCopy)
 
virtual ~AliMUONPairLight ()
 
AliMUONPairLightoperator= (const AliMUONPairLight &)
 
virtual void SetMuons (const AliMUONTrackLight &mu0, const AliMUONTrackLight &mu1)
 
AliMUONTrackLightGetMuon (Int_t index)
 
Int_t GetMuonMotherPDG (Int_t imuon, Int_t mother=0)
 
Bool_t IsOpenCharm ()
 returns kTRUE if the creation process of the pair was "open charm" (kFALSE... otherwise) More...
 
Bool_t IsOpenBeauty ()
 returns kTRUE if the creation process of the pair was "open beauty" (kFALSE... otherwise) More...
 
Bool_t IsAResonance ()
 
Bool_t IsOneMuonFromPionOrKaon ()
 returns kTRUE if at least one of the first hadronised parent is a pi or a K (kFALSE... otherwise) More...
 
Bool_t IsCorrelated () const
 Return the info if the two muons are of correlated origin. More...
 
Int_t GetCauseOfCorrelation () const
 Return the pdg of common mother. More...
 
Bool_t IsFeedDown () const
 Return the info if the process is from feeddown. More...
 
Bool_t IsOneTrackNotAMuon ()
 returns kTRUE if at least one of the reconstructed tracks is not a muon (kFALSE... otherwise) More...
 
Int_t GetCharge ()
 returns the charge of the created pair More...
 
Int_t GetCreationProcess () const
 Return the info ablout creation process 0: pair creation, 1: gluon splitting, 2: flavour excitation, 3: same fragmented mother, -1: resonance. More...
 
void SetCorrelated (Bool_t answer)
 Set the info ablout creation process. More...
 
void SetCauseOfCorrelation (Int_t pdg)
 Set the pdg of common mother. More...
 
void SetFeedDown (Int_t answer)
 Set the info if the process is from feeddown. More...
 
TLorentzVector GetPRec ()
 returns a TLorentzVector containing the reconstructed kinematics of the pair More...
 
TLorentzVector GetPGen ()
 returns a TLorentzVector containing the generated kinematics of the pair More...
 
Double_t GetOpeningAngle ()
 
Bool_t IsDimuonFromCorrPiK ()
 
virtual void PrintInfo (const Option_t *opt)
 

Protected Member Functions

void SetProcess ()
 Checks if muons are correlated and assigns. More...
 

Protected Attributes

AliMUONTrackLight fMu0
 first muon More...
 
AliMUONTrackLight fMu1
 second muon More...
 
Int_t fCreationProcess
 0: pair creation, 1: gluon splitting, 2: flavour excitation, 3: same fragmented mother, -1: resonance More...
 
Bool_t fIsCorrelated
 tells if the two muons are of correlated origin More...
 
Int_t fCauseOfCorrelation
 pdg of common mother More...
 
Int_t fIsFeedDown
 tells if the process is from feeddown More...
 

Detailed Description

Compact information for the generated muon pairs.

Compact information for the generated muon pairs in the MUON arm useful at the last stage of the analysis chain Pairs are built with two AliMUONTrackLight objects Using the class AliMUONTrackLight this class combines the decay information ("history") of the reconstructed tracks and fills a series of flags for the formed reconstructed dimuon: fIsCorrelated, fCreationProcess, fIsFeedDown, ... for information about the dimuon, use PrintInfo with the appropriate printflag To be used together with AliMUONTrackLight

Author
This class was prepared by INFN Cagliari, July 2006 (authors: H.Woehri, A.de Falco)

Definition at line 34 of file AliMUONPairLight.h.

Constructor & Destructor Documentation

AliMUONPairLight::AliMUONPairLight ( )
AliMUONPairLight::AliMUONPairLight ( AliMUONPairLight dimuCopy)

copy constructor fMu0 = AliMUONTrackLight(dimuCopy.fMu0); fMu1 = AliMUONTrackLight(dimuCopy.fMu1); fIsCorrelated = dimuCopy.fIsCorrelated; fCauseOfCorrelation = dimuCopy.fCauseOfCorrelation; fCreationProcess = dimuCopy.fCreationProcess; fIsFeedDown = dimuCopy.fIsFeedDown;

Definition at line 58 of file AliMUONPairLight.cxx.

AliMUONPairLight::~AliMUONPairLight ( )
virtual

destructor

Definition at line 79 of file AliMUONPairLight.cxx.

Member Function Documentation

Int_t AliMUONPairLight::GetCauseOfCorrelation ( ) const
inline

Return the pdg of common mother.

Definition at line 54 of file AliMUONPairLight.h.

Referenced by SetProcess().

Int_t AliMUONPairLight::GetCharge ( )
inline

returns the charge of the created pair

Definition at line 60 of file AliMUONPairLight.h.

Referenced by PrintInfo().

Int_t AliMUONPairLight::GetCreationProcess ( ) const
inline

Return the info ablout creation process 0: pair creation, 1: gluon splitting, 2: flavour excitation, 3: same fragmented mother, -1: resonance.

Definition at line 63 of file AliMUONPairLight.h.

AliMUONTrackLight * AliMUONPairLight::GetMuon ( Int_t  index)

return muon 0 or 1

Definition at line 127 of file AliMUONPairLight.cxx.

Referenced by IsDimuonFromCorrPiK(), and PrintInfo().

Int_t AliMUONPairLight::GetMuonMotherPDG ( Int_t  imuon,
Int_t  mother = 0 
)

return muon mother pdg code

Definition at line 137 of file AliMUONPairLight.cxx.

Referenced by PrintInfo().

Double_t AliMUONPairLight::GetOpeningAngle ( )

opening angle between the two muons in the lab frame (in degrees)

Definition at line 426 of file AliMUONPairLight.cxx.

Referenced by PrintInfo().

TLorentzVector AliMUONPairLight::GetPGen ( )
inline

returns a TLorentzVector containing the generated kinematics of the pair

Definition at line 73 of file AliMUONPairLight.h.

Referenced by PrintInfo().

TLorentzVector AliMUONPairLight::GetPRec ( )
inline

returns a TLorentzVector containing the reconstructed kinematics of the pair

Definition at line 71 of file AliMUONPairLight.h.

Referenced by PrintInfo().

Bool_t AliMUONPairLight::IsAResonance ( )

checks if muon pair comes from a resonance decay

Definition at line 106 of file AliMUONPairLight.cxx.

Referenced by IsOpenBeauty(), IsOpenCharm(), PrintInfo(), and SetProcess().

Bool_t AliMUONPairLight::IsCorrelated ( ) const
inline

Return the info if the two muons are of correlated origin.

Definition at line 52 of file AliMUONPairLight.h.

Referenced by ReadRecoCocktail().

Bool_t AliMUONPairLight::IsDimuonFromCorrPiK ( )

check if we have a correlated pi/K

Definition at line 439 of file AliMUONPairLight.cxx.

Referenced by SetProcess().

Bool_t AliMUONPairLight::IsFeedDown ( ) const
inline

Return the info if the process is from feeddown.

Definition at line 56 of file AliMUONPairLight.h.

Bool_t AliMUONPairLight::IsOneMuonFromPionOrKaon ( )
inline

returns kTRUE if at least one of the first hadronised parent is a pi or a K (kFALSE... otherwise)

Definition at line 50 of file AliMUONPairLight.h.

Bool_t AliMUONPairLight::IsOneTrackNotAMuon ( )
inline

returns kTRUE if at least one of the reconstructed tracks is not a muon (kFALSE... otherwise)

Definition at line 58 of file AliMUONPairLight.h.

Referenced by PrintInfo().

Bool_t AliMUONPairLight::IsOpenBeauty ( )
inline

returns kTRUE if the creation process of the pair was "open beauty" (kFALSE... otherwise)

Definition at line 47 of file AliMUONPairLight.h.

Referenced by PrintInfo().

Bool_t AliMUONPairLight::IsOpenCharm ( )
inline

returns kTRUE if the creation process of the pair was "open charm" (kFALSE... otherwise)

Definition at line 45 of file AliMUONPairLight.h.

Referenced by PrintInfo().

AliMUONPairLight & AliMUONPairLight::operator= ( const AliMUONPairLight dimuCopy)

Definition at line 85 of file AliMUONPairLight.cxx.

void AliMUONPairLight::PrintInfo ( const Option_t *  opt)
virtual

print information about muon pairs Options:

  • "H" single muons' decay histories
  • "K" dimuon kinematics
  • "F" dimuon flags
  • "A" all variables

Definition at line 351 of file AliMUONPairLight.cxx.

Referenced by ReadRecoCocktail().

void AliMUONPairLight::SetCauseOfCorrelation ( Int_t  pdg)
inline

Set the pdg of common mother.

Definition at line 67 of file AliMUONPairLight.h.

Referenced by SetProcess().

void AliMUONPairLight::SetCorrelated ( Bool_t  answer)
inline

Set the info ablout creation process.

Definition at line 65 of file AliMUONPairLight.h.

Referenced by SetProcess().

void AliMUONPairLight::SetFeedDown ( Int_t  answer)
inline

Set the info if the process is from feeddown.

Definition at line 69 of file AliMUONPairLight.h.

Referenced by IsAResonance().

void AliMUONPairLight::SetMuons ( const AliMUONTrackLight mu0,
const AliMUONTrackLight mu1 
)
virtual

set the two muons

Definition at line 343 of file AliMUONPairLight.cxx.

Referenced by DecodeRecoCocktail(), and fastMUONSim().

void AliMUONPairLight::SetProcess ( )
protected

Checks if muons are correlated and assigns.

finds the process related to the muon pair (open charm/beauty, resonance, uncorrelated...)

Definition at line 145 of file AliMUONPairLight.cxx.

Referenced by SetMuons().

Member Data Documentation

Int_t AliMUONPairLight::fCauseOfCorrelation
protected

pdg of common mother

Definition at line 89 of file AliMUONPairLight.h.

Referenced by GetCauseOfCorrelation(), operator=(), and SetCauseOfCorrelation().

Int_t AliMUONPairLight::fCreationProcess
protected

0: pair creation, 1: gluon splitting, 2: flavour excitation, 3: same fragmented mother, -1: resonance

Definition at line 87 of file AliMUONPairLight.h.

Referenced by GetCreationProcess(), operator=(), PrintInfo(), and SetProcess().

Bool_t AliMUONPairLight::fIsCorrelated
protected

tells if the two muons are of correlated origin

Definition at line 88 of file AliMUONPairLight.h.

Referenced by IsAResonance(), IsCorrelated(), IsOpenBeauty(), IsOpenCharm(), operator=(), PrintInfo(), and SetCorrelated().

Int_t AliMUONPairLight::fIsFeedDown
protected

tells if the process is from feeddown

Definition at line 90 of file AliMUONPairLight.h.

Referenced by IsFeedDown(), operator=(), PrintInfo(), and SetFeedDown().


The documentation for this class was generated from the following files: