![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
Compact information for the generated muon pairs. More...
#include <AliMUONPairLight.h>
Public Member Functions | |
AliMUONPairLight () | |
AliMUONPairLight (AliMUONPairLight &dimuCopy) | |
virtual | ~AliMUONPairLight () |
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) |
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... | |
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
Definition at line 34 of file AliMUONPairLight.h.
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.
|
virtual |
destructor
Definition at line 79 of file AliMUONPairLight.cxx.
|
inline |
Return the pdg of common mother.
Definition at line 54 of file AliMUONPairLight.h.
Referenced by SetProcess().
|
inline |
returns the charge of the created pair
Definition at line 60 of file AliMUONPairLight.h.
Referenced by PrintInfo().
|
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().
|
inline |
returns a TLorentzVector containing the generated kinematics of the pair
Definition at line 73 of file AliMUONPairLight.h.
Referenced by PrintInfo().
|
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().
|
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().
|
inline |
Return the info if the process is from feeddown.
Definition at line 56 of file AliMUONPairLight.h.
|
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.
|
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().
|
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().
|
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.
|
virtual |
print information about muon pairs Options:
Definition at line 351 of file AliMUONPairLight.cxx.
Referenced by ReadRecoCocktail().
|
inline |
Set the pdg of common mother.
Definition at line 67 of file AliMUONPairLight.h.
Referenced by SetProcess().
|
inline |
Set the info ablout creation process.
Definition at line 65 of file AliMUONPairLight.h.
Referenced by SetProcess().
|
inline |
Set the info if the process is from feeddown.
Definition at line 69 of file AliMUONPairLight.h.
Referenced by IsAResonance().
|
virtual |
set the two muons
Definition at line 343 of file AliMUONPairLight.cxx.
Referenced by DecodeRecoCocktail(), and fastMUONSim().
|
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().
|
protected |
pdg of common mother
Definition at line 89 of file AliMUONPairLight.h.
Referenced by GetCauseOfCorrelation(), operator=(), and SetCauseOfCorrelation().
|
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().
|
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().
|
protected |
tells if the process is from feeddown
Definition at line 90 of file AliMUONPairLight.h.
Referenced by IsFeedDown(), operator=(), PrintInfo(), and SetFeedDown().
|
protected |
first muon
Definition at line 85 of file AliMUONPairLight.h.
Referenced by GetCharge(), GetMuon(), GetMuonMotherPDG(), GetOpeningAngle(), GetPGen(), GetPRec(), IsAResonance(), IsOneMuonFromPionOrKaon(), IsOneTrackNotAMuon(), IsOpenBeauty(), IsOpenCharm(), operator=(), PrintInfo(), SetMuons(), and SetProcess().
|
protected |
second muon
Definition at line 86 of file AliMUONPairLight.h.
Referenced by GetCharge(), GetMuon(), GetMuonMotherPDG(), GetOpeningAngle(), GetPGen(), GetPRec(), IsAResonance(), IsOneMuonFromPionOrKaon(), IsOneTrackNotAMuon(), IsOpenBeauty(), IsOpenCharm(), operator=(), PrintInfo(), SetMuons(), and SetProcess().