![]() |
AliRoot Core
v5-06-15 (45dab64)
|
Compact information for the muon generated tracks. More...
#include <AliMUONTrackLight.h>
Public Member Functions | |
AliMUONTrackLight () | |
AliMUONTrackLight (AliESDMuonTrack *muonTrack) | |
AliMUONTrackLight (const AliMUONTrackLight &muonCopy) | |
AliMUONTrackLight & | operator= (const AliMUONTrackLight &) |
virtual | ~AliMUONTrackLight () |
void | SetPGen (TLorentzVector pgen) |
Set 4-momentum of the generated particle. More... | |
TLorentzVector | GetPGen () const |
Return 4-momentum of the generated particle. More... | |
void | SetPRec (TLorentzVector prec) |
Set reconstructed 4-momentum. More... | |
TLorentzVector | GetPRec () const |
Return reconstructed 4-momentum. More... | |
void | SetVertex (Double_t *xyz) |
Set primary vertex position from the ITS. More... | |
Double_t | GetX () const |
Return primary vertex x position from the ITS. More... | |
Double_t | GetY () const |
Return primary vertex y position from the ITS. More... | |
Double_t | GetZ () const |
Return primary vertex z position from the ITS. More... | |
Double_t * | GetVertex () |
Return primary vertex position from the ITS. More... | |
void | SetChi2 (Double_t chi2) |
Set chi2 / ndf in the MUON track fit. More... | |
Double_t | GetChi2 () const |
Return chi2 / ndf in the MUON track fit. More... | |
void | SetWeight (Double_t w) |
Set weight assigned to the muon. More... | |
Double_t | GetWeight () const |
Return weight assigned to the muon. More... | |
void | SetCharge (Int_t charge) |
Set muon charge. More... | |
Int_t | GetCharge () const |
Return muon charge. More... | |
Int_t | GetParentPDGCode (Int_t index=0) const |
Return hadronised parents and grandparents. More... | |
Int_t | GetParentPythiaLine (Int_t index=0) const |
Return line of Pythia output for hadronised parents & grandparents. More... | |
Int_t | GetQuarkPDGCode (Int_t index=0) const |
Return pdg of the string [0], quarks/gluons [1,2], sometimes proton [3]. More... | |
Int_t | GetQuarkPythiaLine (Int_t index=0) const |
Return line of Pythia output for string [0] and quarks [1,2], sometimes proton [3]. More... | |
Int_t | GetTrackPythiaLine () const |
Return line of Pythia output for string [0] and quarks [1,2], sometimes proton [3]. More... | |
Int_t | GetTrackPDGCode () const |
Return pdg code of the rec. track (in general will be a muon) More... | |
void | SetTrackPythiaLine (Int_t trackLine) |
Set line of kin. stack where rec. track (in general, the muon) is stored. More... | |
void | SetTrackPDGCode (Int_t trackPdg) |
Set pdg code of the rec. track (in general will be a muon) More... | |
void | FillFromESD (AliESDMuonTrack *muonTrack, Double_t zvert=-9999) |
void | FillFromAliMUONTrack (AliMUONTrack *trackReco, Double_t zvert=-9999) |
Bool_t | IsAMuon () const |
Return info if is a muon. More... | |
Bool_t | IsParentPionOrKaon (Int_t idParent=0) |
void | SetPxPyPz (Double_t px, Double_t py, Double_t pz) |
void | SetTriggered (Bool_t isTriggered) |
Set flag for trigger. More... | |
Bool_t | IsTriggered () const |
Return flag for trigger. More... | |
Int_t | GetNParents () const |
Return acually filled no. of fragmented parents. More... | |
void | FillMuonHistory (AliStack *stack, TParticle *part) |
Bool_t | IsB0 (Int_t intTest) const |
Bool_t | IsMotherAResonance (Int_t index=0) const |
Bool_t | GetOscillation () const |
Return flag for oscillation. More... | |
virtual void | PrintInfo (const Option_t *opt) |
Int_t | GetParentFlavour (Int_t idParent=0) const |
Bool_t | IsDiquark (Int_t pdg) const |
Protected Member Functions | |
void | SetOscillation (Bool_t oscillation) |
Set flag for oscillation. More... | |
void | SetParentPDGCode (Int_t index, Int_t pdg) |
Set hadronised parents and grandparents. More... | |
void | SetParentPythiaLine (Int_t index, Int_t line) |
Set line of Pythia output for hadronised parents & grandparents. More... | |
void | SetQuarkPDGCode (Int_t index, Int_t pdg) |
Set pdg of the string [0], quarks/gluons [1,2], sometimes proton [3]. More... | |
void | SetQuarkPythiaLine (Int_t index, Int_t line) |
Set line of Pythia output for string [0] and quarks [1,2], sometimes proton [3]. More... | |
void | ResetQuarkInfo () |
Protected Attributes | |
TLorentzVector | fPrec |
reconstructed 4-momentum More... | |
Double_t | fXYZ [3] |
primary vertex position from the ITS More... | |
Bool_t | fIsTriggered |
flag for trigger More... | |
Int_t | fCharge |
muon charge More... | |
Double_t | fChi2 |
chi2 / ndf in the MUON track fit More... | |
Float_t | fCentr |
centrality More... | |
TLorentzVector | fPgen |
4-momentum of the generated particle More... | |
Int_t | fTrackPythiaLine |
line of kin. stack where rec. track (in general, the muon) is stored More... | |
Int_t | fTrackPDGCode |
pdg code of the rec. track (in general will be a muon) More... | |
Int_t | fParentPDGCode [fgkNParentsMax] |
hadronised parents and grandparents More... | |
Int_t | fParentPythiaLine [fgkNParentsMax] |
line of Pythia output for hadronised parents & grandparents More... | |
Int_t | fQuarkPDGCode [4] |
pdg of the string [0], quarks/gluons [1,2], sometimes proton [3] More... | |
Int_t | fQuarkPythiaLine [4] |
line of Pythia output for string [0] and quarks [1,2], sometimes proton [3] More... | |
Bool_t | fOscillation |
flag for oscillation More... | |
Int_t | fNParents |
acually filled no. of fragmented parents More... | |
Double_t | fWeight |
Static Protected Attributes | |
static const Int_t | fgkNParentsMax = 5 |
maximum number of parents More... | |
Compact information for the muon generated tracks.
Compact information for the muon generated tracks in the MUON arm useful at the last stage of the analysis chain provides a link between the reconstructed track and the generated particle stores kinematical information at gen. and rec. level and the decay history of the muon, allowing the identification of the mother process
To be used together with AliMUONPairLight
Definition at line 34 of file AliMUONTrackLight.h.
AliMUONTrackLight::AliMUONTrackLight | ( | ) |
AliMUONTrackLight::AliMUONTrackLight | ( | AliESDMuonTrack * | muonTrack | ) |
constructor
Definition at line 116 of file AliMUONTrackLight.cxx.
AliMUONTrackLight::AliMUONTrackLight | ( | const AliMUONTrackLight & | muonCopy | ) |
copy constructor
Definition at line 89 of file AliMUONTrackLight.cxx.
|
virtual |
Destructor
Definition at line 144 of file AliMUONTrackLight.cxx.
void AliMUONTrackLight::FillFromAliMUONTrack | ( | AliMUONTrack * | trackReco, |
Double_t | zvert = -9999 |
||
) |
this method sets the muon reconstructed momentum according to the value given by AliMUONTrack
Definition at line 186 of file AliMUONTrackLight.cxx.
void AliMUONTrackLight::FillFromESD | ( | AliESDMuonTrack * | muonTrack, |
Double_t | zvert = -9999 |
||
) |
computes prec and charge from ESD track
Definition at line 205 of file AliMUONTrackLight.cxx.
Referenced by AliMUONTrackLight(), and DecodeRecoCocktail().
void AliMUONTrackLight::FillMuonHistory | ( | AliStack * | stack, |
TParticle * | part | ||
) |
scans the muon history to determine parents pdg code and pythia line
Definition at line 238 of file AliMUONTrackLight.cxx.
Referenced by DecodeRecoCocktail(), and fastMUONSim().
|
inline |
Return muon charge.
Definition at line 72 of file AliMUONTrackLight.h.
Referenced by AliMUONPairLight::GetCharge(), and PrintInfo().
|
inline |
Return chi2 / ndf in the MUON track fit.
Definition at line 63 of file AliMUONTrackLight.h.
|
inline |
Return acually filled no. of fragmented parents.
Definition at line 100 of file AliMUONTrackLight.h.
Referenced by AliMUONPairLight::IsAResonance(), AliMUONPairLight::PrintInfo(), and AliMUONPairLight::SetProcess().
|
inline |
Return flag for oscillation.
Definition at line 105 of file AliMUONTrackLight.h.
Int_t AliMUONTrackLight::GetParentFlavour | ( | Int_t | idParent = 0 | ) | const |
returns the flavour of parent idParent (idParent=0 is the oldest hadronized parent)
Definition at line 346 of file AliMUONTrackLight.cxx.
Referenced by FillMuonHistory(), AliMUONPairLight::IsOpenBeauty(), AliMUONPairLight::IsOpenCharm(), and AliMUONPairLight::SetProcess().
|
inline |
Return hadronised parents and grandparents.
Definition at line 74 of file AliMUONTrackLight.h.
Referenced by AliMUONPairLight::GetMuonMotherPDG(), GetParentFlavour(), IsMotherAResonance(), IsParentPionOrKaon(), PrintInfo(), and AliMUONPairLight::SetProcess().
|
inline |
Return line of Pythia output for hadronised parents & grandparents.
Definition at line 76 of file AliMUONTrackLight.h.
Referenced by fastMUONSim(), AliMUONPairLight::IsAResonance(), PrintInfo(), and AliMUONPairLight::SetProcess().
|
inline |
Return 4-momentum of the generated particle.
Definition at line 45 of file AliMUONTrackLight.h.
Referenced by AliMUONPairLight::GetPGen(), and PrintInfo().
|
inline |
Return reconstructed 4-momentum.
Definition at line 49 of file AliMUONTrackLight.h.
Referenced by AliMUONPairLight::GetOpeningAngle(), AliMUONPairLight::GetPRec(), and PrintInfo().
|
inline |
Return pdg of the string [0], quarks/gluons [1,2], sometimes proton [3].
Definition at line 78 of file AliMUONTrackLight.h.
Referenced by FillMuonHistory(), PrintInfo(), and AliMUONPairLight::SetProcess().
|
inline |
Return line of Pythia output for string [0] and quarks [1,2], sometimes proton [3].
Definition at line 80 of file AliMUONTrackLight.h.
Referenced by FillMuonHistory(), AliMUONPairLight::IsDimuonFromCorrPiK(), PrintInfo(), and AliMUONPairLight::SetProcess().
|
inline |
Return pdg code of the rec. track (in general will be a muon)
Definition at line 84 of file AliMUONTrackLight.h.
Referenced by PrintInfo().
|
inline |
Return line of Pythia output for string [0] and quarks [1,2], sometimes proton [3].
Definition at line 82 of file AliMUONTrackLight.h.
Referenced by PrintInfo().
|
inline |
Return primary vertex position from the ITS.
Definition at line 59 of file AliMUONTrackLight.h.
Referenced by AliMUONPairLight::PrintInfo(), and PrintInfo().
|
inline |
Return weight assigned to the muon.
Definition at line 67 of file AliMUONTrackLight.h.
|
inline |
Return primary vertex x position from the ITS.
Definition at line 53 of file AliMUONTrackLight.h.
|
inline |
Return primary vertex y position from the ITS.
Definition at line 55 of file AliMUONTrackLight.h.
|
inline |
Return primary vertex z position from the ITS.
Definition at line 57 of file AliMUONTrackLight.h.
|
inline |
Return info if is a muon.
Definition at line 92 of file AliMUONTrackLight.h.
Referenced by AliMUONPairLight::IsOneTrackNotAMuon().
Bool_t AliMUONTrackLight::IsB0 | ( | Int_t | intTest | ) | const |
checks if the particle is a B0
Definition at line 324 of file AliMUONTrackLight.cxx.
Referenced by FillMuonHistory().
Bool_t AliMUONTrackLight::IsDiquark | ( | Int_t | pdg | ) | const |
check if the provided pdg code corresponds to a diquark
Definition at line 421 of file AliMUONTrackLight.cxx.
Referenced by FillMuonHistory(), and AliMUONPairLight::SetProcess().
Bool_t AliMUONTrackLight::IsMotherAResonance | ( | Int_t | index = 0 | ) | const |
checks if mother is a resonance
Definition at line 337 of file AliMUONTrackLight.cxx.
Referenced by AliMUONPairLight::IsAResonance().
Bool_t AliMUONTrackLight::IsParentPionOrKaon | ( | Int_t | idParent = 0 | ) |
checks if a muon comes from a pion or kaon or a particle that decays into one of these two
Definition at line 406 of file AliMUONTrackLight.cxx.
Referenced by AliMUONPairLight::IsDimuonFromCorrPiK(), and AliMUONPairLight::IsOneMuonFromPionOrKaon().
|
inline |
Return flag for trigger.
Definition at line 98 of file AliMUONTrackLight.h.
AliMUONTrackLight & AliMUONTrackLight::operator= | ( | const AliMUONTrackLight & | muonCopy | ) |
Definition at line 150 of file AliMUONTrackLight.cxx.
|
virtual |
prints information about the track:
Definition at line 356 of file AliMUONTrackLight.cxx.
Referenced by FillMuonHistory(), and AliMUONPairLight::PrintInfo().
|
protected |
resets parton information
Definition at line 315 of file AliMUONTrackLight.cxx.
Referenced by FillMuonHistory().
|
inline |
Set muon charge.
Definition at line 70 of file AliMUONTrackLight.h.
Referenced by fastMUONSim(), and FillFromAliMUONTrack().
|
inline |
Set chi2 / ndf in the MUON track fit.
Definition at line 61 of file AliMUONTrackLight.h.
|
inlineprotected |
Set flag for oscillation.
Definition at line 130 of file AliMUONTrackLight.h.
Referenced by FillMuonHistory().
|
protected |
Set hadronised parents and grandparents.
Set hadronised parents and grandparents
Definition at line 428 of file AliMUONTrackLight.cxx.
Referenced by FillMuonHistory().
|
protected |
Set line of Pythia output for hadronised parents & grandparents.
Set line of Pythia output for hadronised parents & grandparents
Definition at line 437 of file AliMUONTrackLight.cxx.
Referenced by FillMuonHistory().
|
inline |
Set 4-momentum of the generated particle.
Definition at line 43 of file AliMUONTrackLight.h.
Referenced by DecodeRecoCocktail(), and fastMUONSim().
|
inline |
Set reconstructed 4-momentum.
Definition at line 47 of file AliMUONTrackLight.h.
void AliMUONTrackLight::SetPxPyPz | ( | Double_t | px, |
Double_t | py, | ||
Double_t | pz | ||
) |
set the reconstructed 4-momentum, assuming the particle is a muon
Definition at line 230 of file AliMUONTrackLight.cxx.
Referenced by fastMUONSim(), and FillFromAliMUONTrack().
|
protected |
Set pdg of the string [0], quarks/gluons [1,2], sometimes proton [3].
Set pdg of the string [0], quarks/gluons [1,2], sometimes proton [3]
Definition at line 446 of file AliMUONTrackLight.cxx.
Referenced by FillMuonHistory(), and ResetQuarkInfo().
|
protected |
Set line of Pythia output for string [0] and quarks [1,2], sometimes proton [3].
Set line of Pythia output for string [0] and quarks [1,2], sometimes proton [3]
Definition at line 455 of file AliMUONTrackLight.cxx.
Referenced by FillMuonHistory(), and ResetQuarkInfo().
|
inline |
Set pdg code of the rec. track (in general will be a muon)
Definition at line 88 of file AliMUONTrackLight.h.
Referenced by DecodeRecoCocktail(), and fastMUONSim().
|
inline |
Set line of kin. stack where rec. track (in general, the muon) is stored.
Definition at line 86 of file AliMUONTrackLight.h.
Referenced by DecodeRecoCocktail(), and fastMUONSim().
|
inline |
Set flag for trigger.
Definition at line 96 of file AliMUONTrackLight.h.
Referenced by fastMUONSim(), and FillFromAliMUONTrack().
|
inline |
Set primary vertex position from the ITS.
Definition at line 51 of file AliMUONTrackLight.h.
Referenced by fastMUONSim(), and FillFromAliMUONTrack().
|
inline |
Set weight assigned to the muon.
Definition at line 65 of file AliMUONTrackLight.h.
|
protected |
|
protected |
muon charge
Definition at line 116 of file AliMUONTrackLight.h.
Referenced by FillFromESD(), GetCharge(), operator=(), and SetCharge().
|
protected |
chi2 / ndf in the MUON track fit
Definition at line 117 of file AliMUONTrackLight.h.
Referenced by FillFromESD(), GetChi2(), operator=(), and SetChi2().
|
staticprotected |
maximum number of parents
Definition at line 112 of file AliMUONTrackLight.h.
Referenced by AliMUONTrackLight(), operator=(), SetParentPDGCode(), and SetParentPythiaLine().
|
protected |
flag for trigger
Definition at line 115 of file AliMUONTrackLight.h.
Referenced by FillFromESD(), IsTriggered(), operator=(), and SetTriggered().
|
protected |
acually filled no. of fragmented parents
Definition at line 127 of file AliMUONTrackLight.h.
Referenced by FillMuonHistory(), GetNParents(), operator=(), and PrintInfo().
|
protected |
flag for oscillation
Definition at line 126 of file AliMUONTrackLight.h.
Referenced by GetOscillation(), and operator=().
|
protected |
hadronised parents and grandparents
Definition at line 122 of file AliMUONTrackLight.h.
Referenced by AliMUONTrackLight(), GetParentPDGCode(), operator=(), and SetParentPDGCode().
|
protected |
line of Pythia output for hadronised parents & grandparents
Definition at line 123 of file AliMUONTrackLight.h.
Referenced by AliMUONTrackLight(), GetParentPythiaLine(), operator=(), and SetParentPythiaLine().
|
protected |
4-momentum of the generated particle
Definition at line 119 of file AliMUONTrackLight.h.
Referenced by AliMUONTrackLight(), GetPGen(), operator=(), and SetPGen().
|
protected |
reconstructed 4-momentum
Definition at line 113 of file AliMUONTrackLight.h.
Referenced by FillFromESD(), GetPRec(), operator=(), SetPRec(), and SetPxPyPz().
|
protected |
pdg of the string [0], quarks/gluons [1,2], sometimes proton [3]
Definition at line 124 of file AliMUONTrackLight.h.
Referenced by AliMUONTrackLight(), GetQuarkPDGCode(), operator=(), and SetQuarkPDGCode().
|
protected |
line of Pythia output for string [0] and quarks [1,2], sometimes proton [3]
Definition at line 125 of file AliMUONTrackLight.h.
Referenced by AliMUONTrackLight(), GetQuarkPythiaLine(), operator=(), and SetQuarkPythiaLine().
|
protected |
pdg code of the rec. track (in general will be a muon)
Definition at line 121 of file AliMUONTrackLight.h.
Referenced by GetTrackPDGCode(), IsAMuon(), operator=(), and SetTrackPDGCode().
|
protected |
line of kin. stack where rec. track (in general, the muon) is stored
Definition at line 120 of file AliMUONTrackLight.h.
Referenced by GetTrackPythiaLine(), operator=(), and SetTrackPythiaLine().
|
protected |
weight assigned to the muon
Definition at line 128 of file AliMUONTrackLight.h.
Referenced by GetWeight(), operator=(), and SetWeight().
|
protected |
primary vertex position from the ITS
Definition at line 114 of file AliMUONTrackLight.h.
Referenced by AliMUONTrackLight(), FillFromESD(), GetVertex(), GetX(), GetY(), GetZ(), operator=(), and SetVertex().