AliPhysics  f05a842 (f05a842)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NS_AliAnalysisTaskEmcalJetCDF Namespace Reference

Classes

struct  sort_descend
 functional for sorting pair by first element - descending More...
 

Typedefs

typedef std::pair< Double_t,
Int_t
ptidx_pair
 (pt,index) pair More...
 

Functions

std::vector< Int_tSortTracksPt (AliVEvent *event)
 
std::vector< Int_tSortTracksPt (AliParticleContainer *track_container)
 
Double_t Z_ptot (const AliEmcalJet *jet, const AliVParticle *trk)
 
Double_t Z_pt (const AliEmcalJet *jet, const AliVParticle *trk)
 
Double_t Xi (Double_t z)
 
Double_t DeltaR (const AliVParticle *part1, const AliVParticle *part2)
 
Int_t IdxInArray (Int_t index, TArrayI &array)
 
TObjectAddTaskEmcalJetCDF (const char *ntracks="usedefault", const char *nclusters="usedefault", const char *ncells="usedefault", const char *tag="CDF")
 

Typedef Documentation

(pt,index) pair

Definition at line 58 of file AliAnalysisTaskEmcalJetCDF.h.

Function Documentation

TObject * NS_AliAnalysisTaskEmcalJetCDF::AddTaskEmcalJetCDF ( const char *  ntracks = "usedefault",
const char *  nclusters = "usedefault",
const char *  ncells = "usedefault",
const char *  tag = "CDF" 
)

Add a AliAnalysisTaskEmcalJetCDF task - detailed signature

Parameters
constchar* ntracks : name of tracks collection
constchar* nclusters : name of clusters collection
constchar* ncells : name of EMCAL cell collection
constchar* tag
Returns
AliAnalysisTaskEmcalJetCDF* task

Definition at line 1428 of file AliAnalysisTaskEmcalJetCDF.cxx.

Double_t NS_AliAnalysisTaskEmcalJetCDF::DeltaR ( const AliVParticle *  part1,
const AliVParticle *  part2 
)

Return dR dinstance in eta,phi plane between 2 AliVParticle derived objects

Parameters
AliVParticle*particle1
AliVParticle*particle2
Returns
distance

Definition at line 1352 of file AliAnalysisTaskEmcalJetCDF.cxx.

Int_t NS_AliAnalysisTaskEmcalJetCDF::IdxInArray ( Int_t  index,
TArrayI array 
)

Search for index(int) in array of ints

Parameters
index- the int to be searched
arrayof ints
Returns
kTRUE if found

Definition at line 1344 of file AliAnalysisTaskEmcalJetCDF.cxx.

std::vector< Int_t > NS_AliAnalysisTaskEmcalJetCDF::SortTracksPt ( AliVEvent *  event)

Sorting of tracks in the event by pt (descending)

Parameters
AliVEvent*
Returns
vector of indexes of constituents

Definition at line 1363 of file AliAnalysisTaskEmcalJetCDF.cxx.

std::vector< Int_t > NS_AliAnalysisTaskEmcalJetCDF::SortTracksPt ( AliParticleContainer track_container)

Sorting of tracks in the event by pt (descending) - using a particle container

Parameters
AliParticleContainer*
Returns
vector of indexes of constituents

Definition at line 1393 of file AliAnalysisTaskEmcalJetCDF.cxx.

Double_t NS_AliAnalysisTaskEmcalJetCDF::Xi ( Double_t  z)
inline

Get Xi for a double value z

Returns
Xi

Definition at line 90 of file AliAnalysisTaskEmcalJetCDF.h.

Referenced by AliAnalysisTaskEmcalJetCDF::FillHistograms().

Double_t NS_AliAnalysisTaskEmcalJetCDF::Z_pt ( const AliEmcalJet jet,
const AliVParticle *  trk 
)

Get Pt() fraction of constituent to jet

Parameters
AliEmcalJet*jet
AliVParticle*trk
Returns
Z = trk->Pt()/jet->Pt()

Definition at line 1337 of file AliAnalysisTaskEmcalJetCDF.cxx.

Referenced by AliAnalysisTaskEmcalJetCDF::FillHistograms().

Double_t NS_AliAnalysisTaskEmcalJetCDF::Z_ptot ( const AliEmcalJet jet,
const AliVParticle *  trk 
)

Get P() fraction of constituent to jet

Parameters
AliEmcalJet*jet
AliVParticle*trk
Returns
Z = trk->P()/jet->P()

Definition at line 1330 of file AliAnalysisTaskEmcalJetCDF.cxx.

Referenced by AliAnalysisTaskEmcalJetCDF::FillHistograms().