27 #ifndef ALIEMCALJETTAGGERTASKFAST_H 28 #define ALIEMCALJETTAGGERTASKFAST_H 40 namespace EMCALJetTasks {
129 const char * njetsTag,
131 const char * nrhoBase,
132 const char * nrhoTag,
133 const char * ntracks,
134 const char * nclusters,
136 const char * CentEst,
138 const char * trigClass);
227 #ifdef JETTAGGERFAST_TEST 228 TH1 *fIndexErrorRateBase;
229 TH1 *fIndexErrorRateTag;
230 TH1 *fContainerErrorRateBase;
231 TH1 *fContainerErrorRateTag;
JetTaggingType fJetTaggingType
jet matching type
void SetSpecialParticleContainer(Int_t contnumb)
Adding 0.1 in eta and phi limits for tag jets.
TH2 ** fh2PtJet1VsPtJet2
! pT of base jet vs tagged jet
void SetTypeAcceptance(AcceptanceType type)
AliEmcalJetTaggerTaskFast()
Default constructor.
TH3 ** fh3PtJet1VsDeltaEtaDeltaPhi
! jet 1 vs deta vs dphi
TH1 * fNAccJets
! number of jets per event
void SetMinFractionShared(Double_t f)
AcceptanceType
Accpetance type used for the two jet containers.
Adding 0.1 in eta and phi limits for both base and tag jets.
void SetUseSumw2(Bool_t b)
Double_t fMaxDist
distance allowed for two jets to match
void SetJetContainerTag(Int_t c)
virtual ~AliEmcalJetTaggerTaskFast()
Destructor.
void SetJetTaggingType(JetTaggingType t)
Adding 0.1 in eta limit for tag jets.
Double_t GetDeltaPhi(const AliEmcalJet *jet1, const AliEmcalJet *jet2)
Calculate azimuthal angle between the axes of the jets.
Bool_t fInit
true when the containers are initialized
Bool_t FillHistograms()
Filling QA histograms monitoring the quality of the matching.
Int_t fContainerTag
jets used for tagging
static AliEmcalJetTaggerTaskFast * AddTaskJetTaggerFast(const char *njetsBase, const char *njetsTag, const Double_t R, const char *nrhoBase, const char *nrhoTag, const char *ntracks, const char *nclusters, const char *type, const char *CentEst, Int_t pSel, const char *trigClass)
Factory creating new jet matching task.
TH3 * fh3PtJetDEtaDPhiConst
! jet vs delta eta vs delta phi of constituents
void UserCreateOutputObjects()
Bool_t Run()
Run matching.
void Init()
Initializing the matching task by defining the accepted range on both jet containers.
Bool_t fMatchingDone
flag to indicate if matching is done or not
AliEmcalJetTaggerTaskFast & operator=(const AliEmcalJetTaggerTaskFast &)
TH2 ** fh2PtJet1VsLeadPtAllSel
! all jets after std selection
Bool_t fUseSumw2
activate sumw2 for output histograms
void SetJetTaggingMethod(JetTaggingMethod m)
TH2 ** fh2PtJet2VsRelPt
! pT of tagged jet vs pt base jet / pt tagged jet
TH2 ** fh2PtJet1VsLeadPtTagged
! tagged jets
void ResetTagging(const AliJetContainer &cont) const
Reset tagging for all jets in jet container.
Int_t fContainerBase
jets to be tagged
JetTaggingMethod fJetTaggingMethod
jet matching method
void SetMaxDistance(Double_t dist)
TH3 * fh3PtJetAreaDRConst
! jet vs Area vs delta R of constituents
TH2 ** fh2PtJet2VsFraction
! jet 1 vs shared fraction
Base task in the EMCAL jet framework.
Represent a jet reconstructed using the EMCal jet framework.
AcceptanceType fTypeAcc
acceptance cut for the jet containers, see method MatchJetsGeo in .cxx for possibilities ...
Double_t fMinFractionShared
only fill histos for jets if shared fraction larger than X
Int_t fSpecPartContTag
particle container optionally used in AliJetContainer::GetFractionSharedPt(). Set only if needed...
No Additional limit compared to jet containers.
Container for jet within the EMCAL jet framework.
Bool_t MatchJetsGeo(AliJetContainer &contBase, AliJetContainer &contTag, Float_t maxDist=0.3) const
Match the full jets to the corresponding charged jets.
void SetJetContainerBase(Int_t c)
Fast jet tagger for geometric matching of jets.
TH2 ** fh2PtJet1VsDeltaR
! jet 1 vs dR