]> git.uio.no Git - u/mrichter/AliRoot.git/commit - MUON/MUONRecoCheck.C
Fixes in reconstruction:
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Nov 2009 12:51:07 +0000 (12:51 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Nov 2009 12:51:07 +0000 (12:51 +0000)
commitf202486b0582208867a62e459a8b11fa19cfaef2
treee394b2e4c251d3d6aa09b3253686e235e831f1eb
parenta23ba1c3430ca6b71382dea02d749526a33cbe28
Fixes in reconstruction:

1) Define in a single place (AliMUONTrack) the algorithm to be used to associate 2 tracks by comparing the position of their clusters. Update all the classes/macro using that algorithm to find the simulated track corresponding to a given reconstructed one:

AliMUONTrack:
- Change the function IsValid(...) to be able to check the reconstructibility of the track depending on the tracking algorithm
- Change the name of the function CompatibleTrack to FindCompatibleCluster that is actually what the function does
- New function Match(...) to associate, or not, 2 tracks by comparing the position of their clusters (can be used to assign MC labels to reconstructed tracks).

AliMUONRecoCheck:
- Check the track reconstructibility according to given informations about the tracking algorithm (those info can be extracted from RecoParam).
- New function FindCompatibleTrack(...) to find in the given store a track that match the given track. Matching is done by using MC labels or by comparing clusters' position.

All other classes/macros/tasks:
- use these new functionnalities

2) Additional correction:

DecodeRecoCocktail.C:
- correct the algorithm to make it working even if there are ghost tracks
- avoid accessing OCDB when not needed

MUONRecoCheck.C:
- new histograms/graphs to study the momentum resolution as a function of the momentum
- new histograms/graphs to study the cluster resolution at each chamber
- avoid loading magnetic field when not needed

AliMUONTrackLight:
- correct constructor
- avoid using magnetic field when not needed

(Philippe P.)
12 files changed:
MUON/AliMUONRecoCheck.cxx
MUON/AliMUONRecoCheck.h
MUON/AliMUONTrack.cxx
MUON/AliMUONTrack.h
MUON/AliMUONTrackLight.cxx
MUON/AliMUONTrackLight.h
MUON/DIMUONFakes.C
MUON/DecodeRecoCocktail.C
MUON/MUONFakes.C
MUON/MUONRecoCheck.C
PWG3/muondep/AliAnalysisTaskESDMCLabelAddition.cxx
PWG3/muondep/AliAnalysisTaskRecoCheck.cxx