![]() |
AliPhysics
d497afb (d497afb)
|
AddTaskEmcalJetTagger.C contains two methods:
The actual tagging is performed in the method AliAnalysisTaskEmcalJetTagger::MatchJetsGeo. The distance between pair of jets in the two inputs array is compared and those who are reciprocally closest are matched.
There are two tagging types:
kTag
is used for "hard core" tagging and switches the TagStatus of the AliEmcalJet to 1 and set the TaggedJet to the companion jet.kClosest
is used for the matching of the reconstructed and particle level jets in PYTHIA. It sets the ClosestJet (AliEmcalJet::fClosestJets[0]) and the distance.Used to reject combinatorial jets without applying an explicit high-pT cut on the constituents. Two jet finders are needed:
The jets are matched geometrically to the tags and flagged as "tagged".
JetFinderAKTCharged_R04_Escheme
JetFinderAKTCharged_R04_Escheme_4GeV
JetTaggerChargedR040_v2
It is done geometrically, as explained before. It is possible to request that the detector level jet has a given fraction of pT of the particle level jet. This doesn't affect the tagging but the result is shown in one of the output histograms (fh2PtJet2VsFraction) and the cut is applied to the histograms related to the "tagged" jets.
Note that the method:
can be used without specifying cont2
if the track containers of the two jets is the same. If cont2
is specified, a geometrical matching of the constituents of jet1
and jet2 = jet1->ClosestJet()
is performed. The tracks of jet2
contained in cont2
that have very similar (equal) #eta, #phi, and pT as the tracks of jet1
in cont1
are accounted for the shared pT fraction.