1 #ifndef ALIEMCALJETTASK_H
2 #define ALIEMCALJETTASK_H
19 #if !(defined(__CINT__) || defined(__MAKECINT__))
55 #if !defined(__CINT__) && !defined(__MAKECINT__)
113 std::vector<fastjet::PseudoJet>& constituents_sub,
Int_t flag = 0,
TString particlesSubName =
"");
123 const TString nTracks =
"usedefault",
124 const TString nClusters =
"usedefault",
134 const Bool_t lockTask = kTRUE,
135 const Bool_t bFillGhosts = kFALSE
138 #if !defined(__CINT__) && !defined(__MAKECINT__)
189 #if !(defined(__CINT__) || defined(__MAKECINT__))
Bool_t fTrackEfficiencyOnlyForEmbedding
void SetJetsName(const char *n)
void SetRecombScheme(ERecoScheme_t scheme)
TClonesArray * fJets
=true ghost particles will be filled in AliEmcalJet obj
void SetMinJetArea(Double_t a)
void SetJetPhiRange(Double_t pmi, Double_t pma)
Bool_t fIsEmcPart
=true if physics selection was set
void SetEtaRange(Double_t emi, Double_t ema)
Bool_t fIsInit
name of jet collection
Base task in the EMCAL framework.
Bool_t IsJetInEmcal(Double_t eta, Double_t phi, Double_t r)
AliJetContainer::ERecoScheme_t ERecoScheme_t
AliEmcalJetUtility * AddUtility(AliEmcalJetUtility *utility)
Bool_t fFillGhost
=true to enable FJ 2.x behavior
const char * GetJetsName()
void SetLegacyMode(Bool_t mode)
void SetJetType(EJetType_t t)
void ExecuteUtilities(AliEmcalJet *jet, Int_t ij)
Double_t GetTrackEfficiency()
void SetMinJetPt(Double_t j)
AliEmcalContainerIndexMap< AliParticleContainer, AliVParticle > fParticleContainerIndexMap
! Mapping between index and particle containers
ERecoScheme_t fRecombScheme
Double_t fTrackEfficiency
void SetJetAlgo(EJetAlgo_t a)
Bool_t GetTrackEfficiencyOnlyForEmbedding()
virtual ~AliEmcalJetTask()
void SetTrackEfficiency(Double_t t)
static FJRecoScheme ConvertToFJRecoScheme(ERecoScheme_t reco)
General jet finder task implementing a wrapper for FastJet.
void SetJetEtaRange(Double_t emi, Double_t ema)
Bool_t fIsPSelSet
=true if already initialized
UInt_t FindJetAcceptanceType(Double_t eta, Double_t phi, Double_t r)
Bool_t IsJetInDcal(Double_t eta, Double_t phi, Double_t r)
void SetTrackEfficiencyOnlyForEmbedding(Bool_t b)
AliEmcalContainerIndexMap< AliClusterContainer, AliVCluster > fClusterContainerIndexMap
contituent index shift
AliJetContainer::EJetAlgo_t EJetAlgo_t
Bool_t GetSortedArray(Int_t indexes[], std::vector< fastjet::PseudoJet > array) const
TObjArray * GetUtilities()
Bool_t IsJetInDcalOnly(Double_t eta, Double_t phi, Double_t r)
Int_t fMinMCLabel
minimum MC label value for the tracks/clusters being considered MC particles
void SetMinJetClusE(Double_t min)
void SelectCollisionCandidates(UInt_t offlineTriggerMask=AliVEvent::kMB)
void SetGhostArea(Double_t gharea)
static FJJetAlgo ConvertToFJAlgo(EJetAlgo_t algo)
void SetJetsTag(const char *n)
void SetMinJetTrackPt(Double_t min)
void SetFillGhost(Bool_t b=kTRUE)
AliEmcalJetTask & operator=(const AliEmcalJetTask &)
void FillJetConstituents(AliEmcalJet *jet, std::vector< fastjet::PseudoJet > &constituents, std::vector< fastjet::PseudoJet > &constituents_sub, Int_t flag=0, TString particlesSubName="")
Represent a jet reconstructed using the EMCal jet framework.
Bool_t fLegacyMode
=true if emcal particles are given as input (for clusters)
void SetMinJetClusPt(Double_t min)
fastjet::JetAlgorithm FJJetAlgo
void SetPhiRange(Double_t pmi, Double_t pma)
fastjet::RecombinationScheme FJRecoScheme
static AliEmcalJetTask * AddTaskEmcalJet(const TString nTracks="usedefault", const TString nClusters="usedefault", const AliJetContainer::EJetAlgo_t jetAlgo=AliJetContainer::antikt_algorithm, const Double_t radius=0.4, const AliJetContainer::EJetType_t jetType=AliJetContainer::kFullJet, const Double_t minTrPt=0.15, const Double_t minClPt=0.30, const Double_t ghostArea=0.005, const AliJetContainer::ERecoScheme_t reco=AliJetContainer::pt_scheme, const TString tag="Jet", const Double_t minJetPt=0., const Bool_t lockTask=kTRUE, const Bool_t bFillGhosts=kFALSE)
void SetRadius(Double_t r)
AliFJWrapper fFastJetWrapper
jet collection
const char * GetJetsTag()
void TerminateUtilities()
Bool_t IsJetInPhos(Double_t eta, Double_t phi, Double_t r)
static const Int_t fgkConstIndexShift
fastjet wrapper
AliJetContainer::EJetType_t EJetType_t