![]() |
AliPhysics
a4b41ad (a4b41ad)
|
Muon task to study fake tracks. More...
#include <AliAnalysisTaskMuonFakes.h>
Public Member Functions | |
AliAnalysisTaskMuonFakes () | |
AliAnalysisTaskMuonFakes (const char *name) | |
virtual | ~AliAnalysisTaskMuonFakes () |
virtual void | UserCreateOutputObjects () |
virtual void | UserExec (Option_t *) |
virtual void | NotifyRun () |
virtual void | Terminate (Option_t *) |
void | ShowProgressBar (Bool_t flag=kTRUE) |
set the flag to show the progression bar More... | |
void | UseMCLabels (Bool_t flag=kTRUE) |
Set the flag to match reconstructed and simulated tracks by using the MC labels or by position. More... | |
void | CombineMCId (Bool_t flag=kTRUE) |
Set the flag to combine reconstructed/simulated track matching by MC labels and by position. More... | |
void | SetExternalSigmaCut (Double_t cut) |
Set the sigma cut to associate clusters with TrackRefs by position (instead of using recoParam) More... | |
void | MatchTrigger (Bool_t flag=kTRUE) |
set the flag to fill histograms only with tracks matched with trigger or not More... | |
void | ApplyAccCut (Bool_t flag=kTRUE) |
set the flag to fill histograms only with tracks passing the acceptance cuts (Rabs, eta) More... | |
void | Chi2Cut (Double_t cut) |
set specific cut value on normalized chi2 above which the track is not considered More... | |
void | PtCut (Double_t cut) |
set specific cut value on minimum pt below which the track is not considered More... | |
void | SetMuonTrackCuts (AliMuonTrackCuts &trackCuts) |
void | RecoParamLocation (const char *ocdbPath) |
Set the ocdb path toward the reconstruction parameters. More... | |
void | DecayAsFake (Bool_t flag=kTRUE) |
set the flag to considere decays as fake tracks or not More... | |
void | PrintDecayChain (Bool_t flag=kTRUE) |
set the flag to print labels of connected particles and ancestors when looking for decays More... | |
void | DisableDetailedCounters (Bool_t flag=kTRUE) |
set the flag to disable the recording of event/file of problematic tracks More... | |
TObjArray * | GetCanvases () |
Return the list of summary canvases. More... | |
Private Types | |
enum | histoIndex { kNumberOfClusters = 0, kNumberOfChamberHit = 6, kChi2PerDof = 12, kChi2PerDofVsNClusters = 18, kChi2PerDofVsNChamberHit = 24, kP = 30, kPt = 36, kEta = 42, kPhi = 48, kDCA = 54, kPDCA23 = 60, kPDCA310 = 66, kRAbs = 72, kNhistTrack = 78 } |
enum | histoIndexAdd { kNumberOfTracks, kNumberOfAdditionalTracks, kNumberOfClustersMC, kFractionOfMatchedClusters, kFractionOfConnectedClusters } |
enum | histo2Index { k2Mass = 0, k2P = 4, k2Pt = 8, k2Y = 12, k2Eta = 16, k2Phi = 20, kNhistPair = 24 } |
Private Member Functions | |
AliAnalysisTaskMuonFakes (const AliAnalysisTaskMuonFakes &rhs) | |
Not implemented. More... | |
AliAnalysisTaskMuonFakes & | operator= (const AliAnalysisTaskMuonFakes &rhs) |
Not implemented. More... | |
Bool_t | IsSelected (AliESDMuonTrack &esdTrack) |
void | FillHistoTrack (Int_t histShift, Int_t nClusters, Int_t nChamberHit, Double_t normalizedChi2, Double_t p, Double_t pT, Double_t eta, Double_t phi, Double_t dca, Double_t thetaTrackAbsEnd, Double_t pdca, Double_t rAbs) |
void | FillHistoPair (Int_t histShift, Double_t mass, Double_t p, Double_t pt, Double_t y, Double_t eta, Double_t phi) |
fill global histograms at pair level More... | |
Int_t | RemoveConnectedFakes (AliMUONVTrackStore &fakeTrackStore, AliMUONVTrackStore &trackRefStore, TString &selected, TString ¢rality) |
Int_t | IsDecay (Int_t nClusters, Int_t *chId, Int_t *labels, Bool_t &isReconstructible, Int_t &lastCh) const |
void | AddCompatibleClusters (const AliMUONTrack &track, const AliMUONTrack &trackRef, TArrayI *labels, Int_t *nLabels) const |
Int_t | IsDecayByLabel (const AliMUONTrack &track, Bool_t &isReconstructible, Int_t &lastCh) const |
Int_t | IsDecayByPosition (const AliMUONTrack &track, const AliMUONVTrackStore &trackRefStore, const AliMUONVTrackStore &usedTrackRefStore, Bool_t &isReconstructible, Int_t &lastCh) const |
ClassDef (AliAnalysisTaskMuonFakes, 3) | |
Private Attributes | |
TObjArray * | fList |
list of output histograms about single tracks More... | |
TObjArray * | fList2 |
list of output histograms about track pairs More... | |
TObjArray * | fCanvases |
List of canvases summarizing the results. More... | |
AliCounterCollection * | fTrackCounters |
global counters of tracks More... | |
AliCounterCollection * | fFakeTrackCounters |
detailled counters of fake tracks More... | |
AliCounterCollection * | fMatchedTrackCounters |
detailled counters of matched tracks More... | |
AliCounterCollection * | fEventCounters |
counters of events More... | |
AliCounterCollection * | fPairCounters |
global counters of track pairs More... | |
TString | fCurrentFileName |
current input file name More... | |
UInt_t | fRequestedStationMask |
mask of requested stations More... | |
Bool_t | fRequest2ChInSameSt45 |
2 fired chambers requested in the same station (4 or 5) or not More... | |
Double_t | fSigmaCut |
sigma cut to associate clusters with TrackRefs More... | |
Int_t | fNEvents |
number of processed events More... | |
Bool_t | fShowProgressBar |
show the progression bar More... | |
Bool_t | fUseLabel |
match reconstructed and simulated tracks by using the MC labels or by position More... | |
Bool_t | fCombineMCId |
combine reconstructed/simulated track matching by MC labels and by position More... | |
Double_t | fExternalSigmaCut |
sigma cut to associate clusters with TrackRefs (instead of using recoParam) More... | |
Bool_t | fMatchTrig |
fill histograms with tracks matched with trigger only More... | |
Bool_t | fApplyAccCut |
fill histograms with tracks passing the acceptance cuts (Rabs, eta) only More... | |
Double_t | fChi2Cut |
cut on normalized chi2 More... | |
Double_t | fPtCut |
cut on minimum pt More... | |
TString | fRecoParamLocation |
ocdb path toward the reconstruction parameters More... | |
Bool_t | fDecayAsFake |
considere decays as fake tracks or not More... | |
Bool_t | fPrintDecayChain |
print labels of connected particles and ancestors when looking for decays More... | |
Bool_t | fDisableDetailedCounters |
disable the recording of event/file of problematic tracks More... | |
AliMuonTrackCuts * | fMuonTrackCuts |
cuts to select tracks to be considered More... | |
Muon task to study fake tracks.
Definition at line 25 of file AliAnalysisTaskMuonFakes.h.
|
private |
Enumerator | |
---|---|
k2Mass |
invariant mass |
k2P |
momentum |
k2Pt |
transverse momentum |
k2Y |
rapidity |
k2Eta |
pseudo-rapidity |
k2Phi |
phi angle |
kNhistPair |
number of histograms at pair level |
Definition at line 144 of file AliAnalysisTaskMuonFakes.h.
|
private |
Definition at line 119 of file AliAnalysisTaskMuonFakes.h.
|
private |
Definition at line 136 of file AliAnalysisTaskMuonFakes.h.
AliAnalysisTaskMuonFakes::AliAnalysisTaskMuonFakes | ( | ) |
AliAnalysisTaskMuonFakes::AliAnalysisTaskMuonFakes | ( | const char * | name | ) |
Constructor.
Definition at line 98 of file AliAnalysisTaskMuonFakes.cxx.
|
virtual |
Destructor.
Definition at line 145 of file AliAnalysisTaskMuonFakes.cxx.
|
private |
Not implemented.
|
private |
Try to match clusters between track and trackRef and add the corresponding MC labels to the arrays
Definition at line 1412 of file AliAnalysisTaskMuonFakes.cxx.
Referenced by IsDecayByPosition().
|
inline |
set the flag to fill histograms only with tracks passing the acceptance cuts (Rabs, eta)
Definition at line 53 of file AliAnalysisTaskMuonFakes.h.
|
inline |
set specific cut value on normalized chi2 above which the track is not considered
Definition at line 56 of file AliAnalysisTaskMuonFakes.h.
|
private |
|
inline |
Set the flag to combine reconstructed/simulated track matching by MC labels and by position.
Definition at line 44 of file AliAnalysisTaskMuonFakes.h.
|
inline |
set the flag to considere decays as fake tracks or not
Definition at line 68 of file AliAnalysisTaskMuonFakes.h.
|
inline |
set the flag to disable the recording of event/file of problematic tracks
Definition at line 74 of file AliAnalysisTaskMuonFakes.h.
|
private |
fill global histograms at pair level
fill global histograms at pair level
Definition at line 1187 of file AliAnalysisTaskMuonFakes.cxx.
Referenced by UserExec().
|
private |
fill global histograms at track level
Definition at line 1166 of file AliAnalysisTaskMuonFakes.cxx.
Referenced by UserExec().
|
inline |
Return the list of summary canvases.
Definition at line 77 of file AliAnalysisTaskMuonFakes.h.
|
private |
Check whether this combination of clusters correspond to a decaying particle or not: More than 50% of clusters, including 1 before and 1 after the dipole, must be connected.
Definition at line 1294 of file AliAnalysisTaskMuonFakes.cxx.
Referenced by IsDecayByLabel(), and IsDecayByPosition().
|
private |
Check whether this track correspond to a decaying particle by using cluster MC labels. "lastCh" contains the chamber Id of the most downstream chamber hit by the decay chain
Definition at line 1453 of file AliAnalysisTaskMuonFakes.cxx.
Referenced by UserExec().
|
private |
Check whether this track correspond to a decaying particle by comparing clusters position All possible combinations of compatible clusters from every trackRefs are considered
Definition at line 1496 of file AliAnalysisTaskMuonFakes.cxx.
Referenced by UserExec().
|
private |
return kTRUE if the track pass the section criteria
Definition at line 1145 of file AliAnalysisTaskMuonFakes.cxx.
Referenced by UserExec().
|
inline |
set the flag to fill histograms only with tracks matched with trigger or not
Definition at line 50 of file AliAnalysisTaskMuonFakes.h.
|
virtual |
Prepare processing of new run: load corresponding OCDB objects...
Definition at line 888 of file AliAnalysisTaskMuonFakes.cxx.
|
private |
Not implemented.
|
inline |
set the flag to print labels of connected particles and ancestors when looking for decays
Definition at line 71 of file AliAnalysisTaskMuonFakes.h.
|
inline |
set specific cut value on minimum pt below which the track is not considered
Definition at line 59 of file AliAnalysisTaskMuonFakes.h.
|
inline |
Set the ocdb path toward the reconstruction parameters.
Definition at line 65 of file AliAnalysisTaskMuonFakes.h.
|
private |
loop over reconstructible TrackRef not associated with reconstructed track: for each of them, find and remove the most connected the fake track, if any, and fill the histograms with the fraction of connected clusters. Return the number of reconstructible track not connected to any fake
Definition at line 1200 of file AliAnalysisTaskMuonFakes.cxx.
Referenced by UserExec().
|
inline |
Set the sigma cut to associate clusters with TrackRefs by position (instead of using recoParam)
Definition at line 47 of file AliAnalysisTaskMuonFakes.h.
|
inline |
set standard cuts to select tracks to be considered
Definition at line 189 of file AliAnalysisTaskMuonFakes.h.
|
inline |
set the flag to show the progression bar
Definition at line 38 of file AliAnalysisTaskMuonFakes.h.
|
virtual |
Draw results to the screen and print statistics.
Definition at line 929 of file AliAnalysisTaskMuonFakes.cxx.
|
inline |
Set the flag to match reconstructed and simulated tracks by using the MC labels or by position.
Definition at line 41 of file AliAnalysisTaskMuonFakes.h.
|
virtual |
Create histograms and counters.
Definition at line 162 of file AliAnalysisTaskMuonFakes.cxx.
|
virtual |
Process event: looks for fakes...
Definition at line 367 of file AliAnalysisTaskMuonFakes.cxx.
|
private |
fill histograms with tracks passing the acceptance cuts (Rabs, eta) only
Definition at line 174 of file AliAnalysisTaskMuonFakes.h.
Referenced by ApplyAccCut(), and UserExec().
|
private |
List of canvases summarizing the results.
Definition at line 156 of file AliAnalysisTaskMuonFakes.h.
Referenced by GetCanvases(), Terminate(), and ~AliAnalysisTaskMuonFakes().
|
private |
cut on normalized chi2
Definition at line 175 of file AliAnalysisTaskMuonFakes.h.
Referenced by Chi2Cut(), and IsSelected().
|
private |
combine reconstructed/simulated track matching by MC labels and by position
Definition at line 171 of file AliAnalysisTaskMuonFakes.h.
Referenced by CombineMCId(), RemoveConnectedFakes(), and UserExec().
|
private |
current input file name
Definition at line 164 of file AliAnalysisTaskMuonFakes.h.
Referenced by RemoveConnectedFakes(), and UserExec().
|
private |
considere decays as fake tracks or not
Definition at line 178 of file AliAnalysisTaskMuonFakes.h.
Referenced by DecayAsFake(), and UserExec().
|
private |
disable the recording of event/file of problematic tracks
Definition at line 180 of file AliAnalysisTaskMuonFakes.h.
Referenced by DisableDetailedCounters(), RemoveConnectedFakes(), and UserExec().
|
private |
counters of events
Definition at line 161 of file AliAnalysisTaskMuonFakes.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonFakes().
|
private |
sigma cut to associate clusters with TrackRefs (instead of using recoParam)
Definition at line 172 of file AliAnalysisTaskMuonFakes.h.
Referenced by NotifyRun(), and SetExternalSigmaCut().
|
private |
detailled counters of fake tracks
Definition at line 159 of file AliAnalysisTaskMuonFakes.h.
Referenced by RemoveConnectedFakes(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonFakes().
|
private |
list of output histograms about single tracks
Definition at line 154 of file AliAnalysisTaskMuonFakes.h.
Referenced by FillHistoTrack(), RemoveConnectedFakes(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonFakes().
|
private |
list of output histograms about track pairs
Definition at line 155 of file AliAnalysisTaskMuonFakes.h.
Referenced by FillHistoPair(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonFakes().
|
private |
detailled counters of matched tracks
Definition at line 160 of file AliAnalysisTaskMuonFakes.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonFakes().
|
private |
fill histograms with tracks matched with trigger only
Definition at line 173 of file AliAnalysisTaskMuonFakes.h.
Referenced by MatchTrigger(), and UserExec().
|
private |
cuts to select tracks to be considered
Definition at line 182 of file AliAnalysisTaskMuonFakes.h.
Referenced by IsSelected(), NotifyRun(), SetMuonTrackCuts(), and ~AliAnalysisTaskMuonFakes().
|
private |
number of processed events
Definition at line 168 of file AliAnalysisTaskMuonFakes.h.
Referenced by UserExec().
|
private |
global counters of track pairs
Definition at line 162 of file AliAnalysisTaskMuonFakes.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonFakes().
|
private |
print labels of connected particles and ancestors when looking for decays
Definition at line 179 of file AliAnalysisTaskMuonFakes.h.
Referenced by IsDecayByLabel(), IsDecayByPosition(), and PrintDecayChain().
|
private |
cut on minimum pt
Definition at line 176 of file AliAnalysisTaskMuonFakes.h.
Referenced by IsSelected(), and PtCut().
|
private |
ocdb path toward the reconstruction parameters
Definition at line 177 of file AliAnalysisTaskMuonFakes.h.
Referenced by NotifyRun(), and RecoParamLocation().
|
private |
2 fired chambers requested in the same station (4 or 5) or not
Definition at line 166 of file AliAnalysisTaskMuonFakes.h.
Referenced by IsDecay(), NotifyRun(), RemoveConnectedFakes(), and UserExec().
|
private |
mask of requested stations
Definition at line 165 of file AliAnalysisTaskMuonFakes.h.
Referenced by IsDecay(), NotifyRun(), RemoveConnectedFakes(), and UserExec().
|
private |
show the progression bar
Definition at line 169 of file AliAnalysisTaskMuonFakes.h.
Referenced by ShowProgressBar(), and UserExec().
|
private |
sigma cut to associate clusters with TrackRefs
Definition at line 167 of file AliAnalysisTaskMuonFakes.h.
Referenced by AddCompatibleClusters(), NotifyRun(), RemoveConnectedFakes(), and UserExec().
|
private |
global counters of tracks
Definition at line 158 of file AliAnalysisTaskMuonFakes.h.
Referenced by RemoveConnectedFakes(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskMuonFakes().
|
private |
match reconstructed and simulated tracks by using the MC labels or by position
Definition at line 170 of file AliAnalysisTaskMuonFakes.h.
Referenced by RemoveConnectedFakes(), UseMCLabels(), and UserExec().