AliPhysics  781d0c7 (781d0c7)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskDmesonJets::AliJetInfo Class Reference

Class that encapsulates jets. More...

#include <AliAnalysisTaskDmesonJets.h>

Public Member Functions

 AliJetInfo ()
 
 AliJetInfo (Double_t px, Double_t py, Double_t pz, Double_t E, Int_t nconst, Double_t nef, Double_t cpt, Double_t npt)
 
virtual ~AliJetInfo ()
 
Double_t Pt () const
 
Double_t Eta () const
 
Double_t Phi () const
 
Double_t Phi_0_2pi () const
 
Double_t GetDistance (const AliJetInfo &jet, Double_t &deta, Double_t &dphi) const
 
Double_t GetDistance (const AliJetInfo &jet) const
 

Public Attributes

AliTLorentzVector fMomentum
 4-momentum of the jet More...
 
Int_t fNConstituents
 Number of constituents of the jet. More...
 
Double_t fNEF
 Neutral Energy Fraction of the jet. More...
 
Double_t fMaxChargedPt
 Transverse momentum of the leading charged particle (or track) More...
 
Double_t fMaxNeutralPt
 Transverse momentum of the leading neutral particle (or cluster) More...
 

Detailed Description

Class that encapsulates jets.

This class encapsulates jet information that can be easily passed to a function.

Definition at line 105 of file AliAnalysisTaskDmesonJets.h.

Constructor & Destructor Documentation

AliAnalysisTaskDmesonJets::AliJetInfo::AliJetInfo ( )
inline

Definition at line 107 of file AliAnalysisTaskDmesonJets.h.

AliAnalysisTaskDmesonJets::AliJetInfo::AliJetInfo ( Double_t  px,
Double_t  py,
Double_t  pz,
Double_t  E,
Int_t  nconst,
Double_t  nef,
Double_t  cpt,
Double_t  npt 
)
inline

Definition at line 108 of file AliAnalysisTaskDmesonJets.h.

virtual AliAnalysisTaskDmesonJets::AliJetInfo::~AliJetInfo ( )
inlinevirtual

Definition at line 111 of file AliAnalysisTaskDmesonJets.h.

Member Function Documentation

Double_t AliAnalysisTaskDmesonJets::AliJetInfo::GetDistance ( const AliJetInfo jet,
Double_t deta,
Double_t dphi 
) const

Calculates the distance between this jet and another jet

Parameters
jetConst reference to a AliJetInfo object
detareference where the eta distance will be returned
dphireference where the phi distance will be returned
Returns
The distance between this jet and the jet reference provided

Definition at line 61 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::FindJetMacthedToGeneratedDMeson().

Double_t AliAnalysisTaskDmesonJets::AliJetInfo::GetDistance ( const AliJetInfo jet) const

Calculates the distance between this jet and another jet

Parameters
jetConst reference to a AliJetInfo object
Returns
The distance between this jet and the jet reference provided

Definition at line 72 of file AliAnalysisTaskDmesonJets.cxx.

Member Data Documentation

Double_t AliAnalysisTaskDmesonJets::AliJetInfo::fMaxChargedPt

Transverse momentum of the leading charged particle (or track)

Definition at line 123 of file AliAnalysisTaskDmesonJets.h.

Referenced by AliAnalysisTaskDmesonJets::AliHFJetDefinition::IsJetInAcceptance().

Double_t AliAnalysisTaskDmesonJets::AliJetInfo::fMaxNeutralPt

Transverse momentum of the leading neutral particle (or cluster)

Definition at line 124 of file AliAnalysisTaskDmesonJets.h.

Referenced by AliAnalysisTaskDmesonJets::AliHFJetDefinition::IsJetInAcceptance().

AliTLorentzVector AliAnalysisTaskDmesonJets::AliJetInfo::fMomentum

4-momentum of the jet

Definition at line 120 of file AliAnalysisTaskDmesonJets.h.

Referenced by Eta(), GetDistance(), Phi(), Phi_0_2pi(), and Pt().

Int_t AliAnalysisTaskDmesonJets::AliJetInfo::fNConstituents

Number of constituents of the jet.

Definition at line 121 of file AliAnalysisTaskDmesonJets.h.

Double_t AliAnalysisTaskDmesonJets::AliJetInfo::fNEF

Neutral Energy Fraction of the jet.

Definition at line 122 of file AliAnalysisTaskDmesonJets.h.


The documentation for this class was generated from the following files: