![]() |
AliPhysics
f0111dc (f0111dc)
|
#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 void | ConfigureEventCuts (AliEventCuts &eventCuts, PWG::Tools::AliYAMLConfiguration &yamlConfig, const UInt_t offlineTriggerMask, const std::string &baseName, const std::string &taskName) |
Static Public Attributes | |
static const std::map< std::string, ELeadingHadronBiasType_t > | fgkLeadingHadronBiasMap |
! Map from name to leading hadron bias used with the YAML config More... | |
Definition at line 24 of file AliAnalysisTaskEmcalJetHUtils.h.
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 30 of file AliAnalysisTaskEmcalJetHUtils.h.
|
static |
Configure an AliEventCuts object with the options in the given AliYAMLConfiguration object and the task trigger mask.
[in] | eventCuts | AliEventCuts object to configure. |
[in] | yamlConfig | YAML configuration object to be used in configuring the event cuts object. |
[in] | offlineTriggerMask | Trigger mask (set via SelectCollisionCandidates()) from the task. The value can be updated by values in the YAML config. |
[in] | baseName | Name under which the settings should be looked for in the YAML config. |
[in] | taskName | Name of the analysis task for which this function was called. This is to make it clear which task is being configured. |
Definition at line 115 of file AliAnalysisTaskEmcalJetHUtils.cxx.
Referenced by PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::RetrieveAndSetTaskPropertiesFromYAMLConfig(), and PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHCorrelations::RetrieveAndSetTaskPropertiesFromYAMLConfig().
|
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.
[in] | jet | Jet from which the leading hadron pt should be extracted |
[in] | leadingHadronType | Type of leading hadron pt to retrieve |
Definition at line 40 of file AliAnalysisTaskEmcalJetHUtils.cxx.
Referenced by PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::CreateResponseMatrixFillWrapper().
|
static |
Function to calculate angle between jet and EP in the 1st quadrant (0,Pi/2). Adapted from AliAnalysisTaskEmcalJetHadEPpid.
jetAngle | Phi angle of the jet (could be any particle) |
epAngle | Event plane angle |
Definition at line 79 of file AliAnalysisTaskEmcalJetHUtils.cxx.
Referenced by PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::CreateResponseMatrixFillWrapper(), and PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHCorrelations::Run().
|
static |
! Map from name to leading hadron bias used with the YAML config
Definition at line 35 of file AliAnalysisTaskEmcalJetHUtils.h.
Referenced by PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::RetrieveAndSetTaskPropertiesFromYAMLConfig().