AliPhysics  7f2a7c4 (7f2a7c4)
 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
 
Int_t GetNConstituents () 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 107 of file AliAnalysisTaskDmesonJets.h.

Constructor & Destructor Documentation

AliAnalysisTaskDmesonJets::AliJetInfo::AliJetInfo ( )
inline

Definition at line 109 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 110 of file AliAnalysisTaskDmesonJets.h.

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

Definition at line 113 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 65 of file AliAnalysisTaskDmesonJets.cxx.

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 76 of file AliAnalysisTaskDmesonJets.cxx.

Int_t AliAnalysisTaskDmesonJets::AliJetInfo::GetNConstituents ( ) const
inline

Member Data Documentation

Double_t AliAnalysisTaskDmesonJets::AliJetInfo::fMaxChargedPt

Transverse momentum of the leading charged particle (or track)

Definition at line 126 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 127 of file AliAnalysisTaskDmesonJets.h.

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

AliTLorentzVector AliAnalysisTaskDmesonJets::AliJetInfo::fMomentum

4-momentum of the jet

Definition at line 123 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 124 of file AliAnalysisTaskDmesonJets.h.

Referenced by GetNConstituents().

Double_t AliAnalysisTaskDmesonJets::AliJetInfo::fNEF

Neutral Energy Fraction of the jet.

Definition at line 125 of file AliAnalysisTaskDmesonJets.h.


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