1 #ifndef ALIEMCALJETTASK_H 2 #define ALIEMCALJETTASK_H 21 #if !(defined(__CINT__) || defined(__MAKECINT__)) 57 #if !defined(__CINT__) && !defined(__MAKECINT__) 69 void SetJetsName(
const char *n) {
if (IsLocked())
return; fJetsTag = n ; }
70 void SetJetsTag(
const char *n) {
if (IsLocked())
return; fJetsTag = n ; }
73 void SetJetAlgo(EJetAlgo_t a) {
if (IsLocked())
return; fJetAlgo = a ; }
74 void SetJetType(EJetType_t t) {
if (IsLocked())
return; fJetType = t ; }
78 void SetRecombScheme(ERecoScheme_t scheme) {
if (IsLocked())
return; fRecombScheme = scheme; }
114 void FillJetConstituents(
AliEmcalJet *jet, std::vector<fastjet::PseudoJet>& constituents,
115 std::vector<fastjet::PseudoJet>& constituents_sub,
Int_t flag = 0,
TString particlesSubName =
"");
119 void LoadTrackEfficiencyFunction(
const std::string & path,
const std::string & name);
122 void SelectCollisionCandidates(
UInt_t offlineTriggerMask = AliVEvent::kMB);
123 void SetType(
Int_t t);
135 const TString nTracks =
"usedefault",
136 const TString nClusters =
"usedefault",
146 const Bool_t lockTask = kTRUE,
147 const Bool_t bFillGhosts = kFALSE
150 #if !defined(__CINT__) && !defined(__MAKECINT__) 151 static FJJetAlgo ConvertToFJAlgo(EJetAlgo_t algo);
152 static FJRecoScheme ConvertToFJRecoScheme(ERecoScheme_t reco);
158 void FillJetBranch();
161 void InitUtilities();
162 void PrepareUtilities();
164 void TerminateUtilities();
165 Bool_t GetSortedArray(
Int_t indexes[], std::vector<fastjet::PseudoJet> array)
const;
204 #if !(defined(__CINT__) || defined(__MAKECINT__)) Bool_t fTrackEfficiencyOnlyForEmbedding
Apply aritificial tracking inefficiency only for embedded tracks.
void SetJetsName(const char *n)
void SetRecombScheme(ERecoScheme_t scheme)
TClonesArray * fJets
!jet collection
void SetMinJetArea(Double_t a)
void SetJetPhiRange(Double_t pmi, Double_t pma)
Bool_t fIsEmcPart
!=true if emcal particles are given as input (for clusters)
Bool_t fIsInit
!=true if already initialized
Base task in the EMCAL framework.
Double_t fJetEtaMin
minimum eta to keep jet in output
EJetType_t fJetType
jet type (full, charged, neutral)
AliJetContainer::ERecoScheme_t ERecoScheme_t
Bool_t fApplyArtificialTrackingEfficiency
Flag to apply artificial tracking efficiency.
Bool_t fFillGhost
=true ghost particles will be filled in AliEmcalJet obj
const char * GetJetsName()
void SetLegacyMode(Bool_t mode)
void SetJetType(EJetType_t t)
Double_t GetTrackEfficiency()
void SetMinJetPt(Double_t j)
AliEmcalContainerIndexMap< AliParticleContainer, AliVParticle > fParticleContainerIndexMap
! Mapping between index and particle containers
ERecoScheme_t fRecombScheme
recombination scheme used by fastjet
Bool_t fFillConstituents
If true jet consituents will be filled to the AliEmcalJet.
Double_t fTrackEfficiency
artificial tracking inefficiency (0...1)
void SetJetAlgo(EJetAlgo_t a)
Bool_t GetTrackEfficiencyOnlyForEmbedding()
void SetTrackEfficiency(Double_t t)
General jet finder task implementing a wrapper for FastJet.
void SetJetEtaRange(Double_t emi, Double_t ema)
Bool_t fIsPSelSet
!=true if physics selection was set
Bool_t fLocked
true if lock is set
Double_t fJetPhiMin
minimum phi to keep jet in output
TString fJetsTag
tag of jet collection (usually = "Jets")
TObjArray * fUtilities
jet utilities (gen subtractor, constituent subtractor etc.)
void SetTrackEfficiencyOnlyForEmbedding(Bool_t b)
AliEmcalContainerIndexMap< AliClusterContainer, AliVCluster > fClusterContainerIndexMap
! Mapping between index and cluster containers
AliJetContainer::EJetAlgo_t EJetAlgo_t
Double_t fJetEtaMax
maximum eta to keep jet in output
Double_t fGhostArea
ghost area
TObjArray * GetUtilities()
void SetGhostArea(Double_t gharea)
EJetAlgo_t fJetAlgo
jet algorithm (kt, akt, etc)
Double_t fJetPhiMax
maximum phi to keep jet in output
void SetJetsTag(const char *n)
Double_t fMinJetArea
min area to keep jet in output
TString fJetsName
!name of jet collection
void SetFillGhost(Bool_t b=kTRUE)
Double_t fMinJetPt
min jet pt to keep jet in output
Represent a jet reconstructed using the EMCal jet framework.
Double_t fRadius
jet radius
Bool_t fLegacyMode
!=true to enable FJ 2.x behavior
fastjet::JetAlgorithm FJJetAlgo
fastjet::RecombinationScheme FJRecoScheme
void SetFillJetConsituents(Bool_t doFill)
Switch for whether to fill the AliEmcalJetConstituent objects (clusters and particles/tracks) ...
void SetRadius(Double_t r)
AliFJWrapper fFastJetWrapper
!fastjet wrapper
const char * GetJetsTag()
static const Int_t fgkConstIndexShift
!contituent index shift
AliJetContainer::EJetType_t EJetType_t