AliPhysics  5a28df1 (5a28df1)
PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHUtils Class Reference

#include <AliAnalysisTaskEmcalJetHUtils.h>

Public Types

enum  ELeadingHadronBiasType_t { kCharged = 0, kNeutral = 1, kBoth = 2 }
 Determine the jet leading hadron bias type. More...
 

Static Public Member Functions

static double GetLeadingHadronPt (AliEmcalJet *jet, ELeadingHadronBiasType_t leadingHadronType)
 
static double RelativeEPAngle (double jetAngle, double epAngle)
 

Static Public Attributes

static const std::map< std::string, ELeadingHadronBiasType_tfgkLeadingHadronBiasMap
 ! Map from name to leading hadron bias used with the YAML config More...
 

Detailed Description

Definition at line 22 of file AliAnalysisTaskEmcalJetHUtils.h.

Member Enumeration Documentation

Determine the jet leading hadron bias type.

Enumerator
kCharged 

! Charged hadron bias

kNeutral 

! Neutral hadron bias

kBoth 

! Leading is from the leader of both

Definition at line 28 of file AliAnalysisTaskEmcalJetHUtils.h.

Member Function Documentation

double AliAnalysisTaskEmcalJetHUtils::GetLeadingHadronPt ( AliEmcalJet jet,
AliAnalysisTaskEmcalJetHUtils::ELeadingHadronBiasType_t  leadingHadronType 
)
static

Determine leading hadron pt in a jet. This is inspired by AliJetContainer::GetLeadingHadronMomentum(), but that particular function is avoided because the cluster energy retrieved is always the raw E while the cluster energy used in creating the jet would be preferred. One could create a cluster container and go through all of those steps, but there is a simpler approach: the leading charged and neutral momenta are stored in AliEmcalJet while performing jet finding.

Parameters
[in]jetJet from which the leading hadron pt should be extracted
[in]leadingHadronTypeType of leading hadron pt to retrieve
Returns
Value of the leading hadron pt

Definition at line 39 of file AliAnalysisTaskEmcalJetHUtils.cxx.

Referenced by PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::CreateResponseMatrixFillWrapper().

double AliAnalysisTaskEmcalJetHUtils::RelativeEPAngle ( double  jetAngle,
double  epAngle 
)
static

Function to calculate angle between jet and EP in the 1st quadrant (0,Pi/2). Adapted from AliAnalysisTaskEmcalJetHadEPpid.

Parameters
jetAnglePhi angle of the jet (could be any particle)
epAngleEvent plane angle
Returns
Angle between jet and EP in the 1st quadrant (0,Pi/2)

Definition at line 78 of file AliAnalysisTaskEmcalJetHUtils.cxx.

Referenced by PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::CreateResponseMatrixFillWrapper(), and PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHCorrelations::Run().

Member Data Documentation

const std::map< std::string, AliAnalysisTaskEmcalJetHUtils::ELeadingHadronBiasType_t > AliAnalysisTaskEmcalJetHUtils::fgkLeadingHadronBiasMap
static
Initial value:

! Map from name to leading hadron bias used with the YAML config

Definition at line 33 of file AliAnalysisTaskEmcalJetHUtils.h.

Referenced by PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::RetrieveAndSetTaskPropertiesFromYAMLConfig().


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