13 #include <TClonesArray.h> 15 #include <TLorentzVector.h> 18 #include <AliVParticle.h> 19 #include <AliVCluster.h> 20 #include <AliVEvent.h> 102 std::ostream &
Print(std::ostream &in)
const;
174 AliVParticle *
TrackAt(
Int_t idx, TClonesArray *ta)
const;
347 void PrintConstituents(TClonesArray* tracks = 0, TClonesArray* clusters = 0)
const;
432 bool operator () (
const std::pair<Double_t, Int_t>& p1,
const std::pair<Double_t, Int_t>& p2) {
return p1.first > p2.first ; }
TArrayI fTrackIDs
Array containing ids of track constituents.
void SetMaxNeutralPt(Double32_t t)
void SetSecondClosestJet(AliEmcalJet *j, Double_t d)
void SetTagStatus(Int_t i)
Double_t fPtSubVect
! Background vector subtracted pt (not stored set from outside)
const PWG::JETFW::AliEmcalParticleJetConstituent * ParticleConstituentAt(unsigned int ipart) const
Access to the -particle constituent.
void AddFlavourTag(Int_t tag)
void AddTrackAt(Int_t track, Int_t idx)
Bool_t XvYvZv(Double_t x[3]) const
AliEmcalJet * GetTaggedJet() const
Int_t fTagStatus
! Status of tagging -1: NA 0: not tagged 1: tagged
AliVParticle * GetLeadingTrack(TClonesArray *tracks=0) const
void SetTaggedJet(AliEmcalJet *j)
Double_t GetXi(const AliVParticle *trk) const
Simple C structure to allow sorting in descending order.
Double32_t fAreaE
Jet temporal area component.
AliEmcalJet * ClosestJet() const
Jet is tagged to contain a D* meson.
Int_t GetTagStatus() const
Double_t ClosestJetDistance() const
TArrayI fClusterIDs
Array containing ids of cluster constituents.
DCal acceptance – spans entire rectangular region in eta-phi (including most of PHOS) ...
Bool_t AxisInEmcal() const
void ClearFlavourTracks()
Int_t fLabel
! Label to inclusive jet for constituent subtracted jet
Double_t fPtSub
! Background subtracted pt (not stored set from outside)
void Clear(Option_t *="")
JetAcceptanceType
Bit definition for jet geometry acceptance. Cut implemented in AliJetContainer by comparing jet's bit...
Bool_t fHasGhost
! Whether ghost particle are included within the constituents
void AddClusterAt(Int_t clus, Int_t idx)
std::vector< PWG::JETFW::AliEmcalParticleJetConstituent > fParticleConstituents
List of particle constituents.
AliEmcalJet * MatchedJet() const
Bool_t IsSortable() const
Int_t ClusterAt(Int_t idx) const
AliEmcalJetShapeProperties * fJetShapeProperties
! Pointer to the jet shape properties
AliVParticle * Track(Int_t idx) const
Full acceptance, i.e. no acceptance cut applied – left to user.
Double_t FracEmcalArea() const
const std::vector< PWG::JETFW::AliEmcalParticleJetConstituent > & GetParticleConstituents() const
Get container with particle (track / MC particle) constituents.
Double_t MaxChargedPt() const
AliEmcalJet & operator=(const AliEmcalJet &jet)
const PWG::JETFW::AliEmcalClusterJetConstituent * ClusterConstituentAt(unsigned int icl) const
Access to the -cluster constituent.
Double_t GetFlavourTrackZ(Int_t i=0) const
void SetAreaE(Double_t a)
std::vector< PWG::JETFW::AliEmcalClusterJetConstituent > fClusterConstituents
List of cluster constituents.
const PWG::JETFW::AliEmcalParticleJetConstituent * GetLeadingParticleConstituent() const
Get the leading particle constituent.
void SetPtSubVect(Double_t ps)
AliVParticle * GetFlavourTrack(Int_t i=0) const
UShort_t GetNumberOfConstituents() const
AliVParticle * RemoveFlavourTrack(Int_t i=0)
Int_t ContainsCluster(AliVCluster *cluster, TClonesArray *clusters) const
void SetMatchedToSecondClosest(UShort_t m)
Int_t TrackAt(Int_t idx) const
UShort_t GetNumberOfTracks() const
AliEmcalJetShapeProperties * GetShapeProperties()
void AddParticleConstituent(const AliVParticle *const part, Bool_t isFromEmbeddedEvent, UInt_t globalIndex)
Add new particle (track / mc particle) constituent to the given jet Note: this will append the consti...
std::ostream & Print(std::ostream &in) const
void GetMomentum(TLorentzVector &vec) const
Double32_t fMCPt
Pt from MC particles contributing to the jet.
Double32_t fMaxNPt
Pt of maximum neutral constituent.
TPC fiducial acceptance (each eta edge narrowed by jet R)
void SetJetAcceptanceType(UInt_t type)
UShort_t GetNumberOfClusters() const
friend std::ostream & operator<<(std::ostream &in, const AliEmcalJet &myjet)
UShort_t GetMatchingType() const
Double32_t fAreaPhi
Jet phi area.
UInt_t GetJetAcceptanceType() const
PHOS fiducial acceptance (each eta, phi edge narrowed by jet R)
void AddFlavourTrack(AliVParticle *hftrack)
EFlavourTag
Bit definition for the flavor tagging.
void AddClusterConstituent(const AliVCluster *const clust, AliVCluster::VCluUserDefEnergy_t endef, Double_t *pvec, Bool_t isFromEmbeddedEvent, UInt_t globalIndex)
Add new cluster constituent to the given jet Note: this will append the constituent. No sorting according to particle is done.
UShort_t fMatched
! 0 or 1 if it is matched with one of the closest jets; 2 if it is not matched
std::vector< TLorentzVector > fGhosts
! Vector containing the ghost particles
Double_t OneOverPt() const
Double_t PtSubVect() const
Double32_t fArea
Jet transverse area.
Double_t MaxTrackPt() const
AliEmcalJet * fTaggedJet
! Jet tagged to this jet
Int_t ContainsTrack(AliVParticle *track, TClonesArray *tracks) const
Double_t Phi_0_2pi() const
TLorentzVector SubtractRhoVect(Double_t rho, Bool_t save=kFALSE)
int GetNumberOfClusterConstituents() const
Get the number of cluster constituents.
bool HasParticleConstituent(const AliVParticle *const part) const
Checks whether a given particle is a jet constituent.
AliVCluster * GetLeadingCluster(TClonesArray *clusters=0) const
Double32_t fAreaEta
Jet eta area.
void SetPtSub(Double_t ps)
void SetMaxChargedPt(Double32_t t)
void SetNEF(Double_t nef)
const Double_t * PID() const
Double_t MaxNeutralPt() const
void AddGhost(const Double_t dPx, const Double_t dPy, const Double_t dPz, const Double_t dE)
Double_t GetZ(const Double_t trkPx, const Double_t trkPy, const Double_t trkPz) const
void PrintConstituents(TClonesArray *tracks=0, TClonesArray *clusters=0) const
Int_t fFlavourTagging
Tag jet with a flavor (use bits defined in enum EFlavourTag)
AliEmcalJet * SecondClosestJet() const
Implementation of a jet constituent for constituent clusters.
Double_t DeltaR(const AliVParticle *part) const
bool operator()(const std::pair< Double_t, Int_t > &p1, const std::pair< Double_t, Int_t > &p2)
UInt_t fJetAcceptanceType
! Jet acceptance type (stored bitwise)
Double32_t fPtEmc
Pt in EMCAL acceptance.
void SetNumberOfCharged(Int_t n)
This class contains the derivative subtraction operators for jet shapes.
void SetAreaEta(Double_t a)
const PWG::JETFW::AliEmcalClusterJetConstituent * GetLeadingClusterConstituent() const
Get the leading cluster constituent.
Jet is tagged to contain a D0 meson.
Double32_t fPt
Jet transverse momentum.
const std::vector< PWG::JETFW::AliEmcalClusterJetConstituent > & GetClusterConstituents() const
Get container with cluster constituents.
Bool_t IsInsideEmcal() const
void SetClosestJet(AliEmcalJet *j, Double_t d)
Double32_t fEta
Jet pseudo-rapidity.
Double32_t fMaxCPt
Pt of maximum charged constituent.
Double_t SecondClosestJetDistance() const
Bool_t TestFlavourTag(Int_t tag) const
Double32_t fAreaEmc
Area on EMCAL surface (determined by ghosts in EMCal acceptance)
AliVCluster * Cluster(Int_t idx) const
int GetNumberOfParticleConstituents() const
Get the number of particle constituents assigned to the given jet.
Double_t MaxClusterPt() const
Represent a jet reconstructed using the EMCal jet framework.
Int_t fNn
Number of neutral constituents.
void SetNumberOfTracks(Int_t n)
Bool_t PxPyPz(Double_t p[3]) const
const std::vector< TLorentzVector > GetGhosts() const
void SetTrigger(UInt_t trigger)
void SetFlavour(Int_t flavour)
UInt_t fTriggers
! Triggers that the jet might have fired (AliVEvent::EOfflineTriggerTypes)
Bool_t fAxisInEmcal
Whether the jet axis is inside the EMCAL acceptance.
Int_t fNEmc
Number of constituents in EMCAL acceptance.
void CreateShapeProperties()
Double32_t fPhi
Jet axis azimuthal angle.
DCal fiducial acceptance (each eta, phi edge narrowed by jet R)
AliEmcalJet * fClosestJets[2]
! If this is MC it contains the two closest detector level jets in order of distance and viceversa ...
AliEmcalJetShapeProperties * GetShapeProperties() const
void AddTrigger(UInt_t trigger)
DCal acceptance – spans ONLY DCal (no PHOS or gap)
void SetAreaPhi(Double_t a)
void SetPtEmc(Double_t pt)
Bool_t IsTriggerJet(UInt_t trigger=AliVEvent::kEMCEJE) const
bool HasClusterConstituent(const AliVCluster *const clust) const
Checks whether a given cluster is a constituent of the jet.
Double32_t fNEF
Jet Neutral Energy Fraction.
Double32_t fClosestJetsDist[2]
! Distance from the two closest jets
DCal fiducial acceptance (each eta, phi edge narrowed by jet R)
UShort_t fMatchingType
! Matching type
EMCal fiducial acceptance (each eta, phi edge narrowed by jet R)
Int_t Compare(const TObject *obj) const
Double_t MaxPartPt() const
void SetMatchedToClosest(UShort_t m)
void SetNumberOfClusters(Int_t n)
std::vector< int > GetPtSortedTrackConstituentIndexes(TClonesArray *tracks) const
void SetAxisInEmcal(Bool_t b)
TObjArray * fFlavourTracks
void SetAreaEmc(Double_t a)
void SetNumberOfNeutrals(Int_t n)