![]() |
AliPhysics
2aaea23 (2aaea23)
|
Base class for a task that calculates the UE. More...
#include <AliAnalysisTaskRhoBaseDev.h>
Static Public Member Functions | |
static AliAnalysisTaskRhoBaseDev * | AddTaskRhoBaseDev (TString nTracks="usedefault", TString nClusters="usedefault", TString nRho="Rho", Double_t jetradius=0.2, UInt_t acceptance=AliEmcalJet::kTPCfid, AliJetContainer::EJetType_t jetType=AliJetContainer::kChargedJet, AliJetContainer::ERecoScheme_t rscheme=AliJetContainer::pt_scheme, Bool_t histo=kTRUE, TString suffix="") |
Protected Attributes | |
TString | fOutRhoName |
name of output rho object More... | |
TString | fOutRhoScaledName |
name of output scaled rho object More... | |
TF1 * | fRhoFunction |
pre-computed rho as a function of centrality More... | |
TF1 * | fScaleFunction |
pre-computed scale factor as a function of centrality More... | |
Bool_t | fAttachToEvent |
whether or not attach rho to the event objects list More... | |
Bool_t | fTaskConfigured |
!kTRUE if the task is properly configured More... | |
AliRhoParameter * | fOutRho |
!output rho object More... | |
AliRhoParameter * | fOutRhoScaled |
!output scaled rho object More... | |
TH2 * | fHistRhoVsCent |
!rho vs. centrality More... | |
std::map< std::string, TH2 * > | fHistRhoVsLeadJetPt |
!rho vs. leading jet pt More... | |
std::map< std::string, TH2 * > | fHistLeadJetPtVsCent |
!leading jet pt vs. centrality More... | |
std::map< std::string, TH2 * > | fHistLeadJetPtDensityVsCent |
!leading jet area vs. centrality More... | |
std::map< std::string, TH2 * > | fHistTotJetAreaVsCent |
!total area covered by jets vs. centrality More... | |
std::map< std::string, TH2 * > | fHistLeadJetNconstVsCent |
!leading jet constituents vs. cent More... | |
std::map< std::string, TH2 ** > | fHistLeadJetNconstVsPt |
!leading jet constituents vs. pt More... | |
std::map< std::string, TH2 * > | fHistNjetVsCent |
!no. of jets vs. centrality More... | |
std::map< std::string, TH2 * > | fHistNjetVsNtrack |
!no. of jets vs. no. of tracks More... | |
TH2 * | fHistRhoVsLeadTrackPt |
!rho vs. leading track pt More... | |
TH2 * | fHistRhoVsNtrack |
!rho vs. no. of tracks More... | |
TH2 * | fHistLeadTrackPtVsCent |
!leading track pt vs. centrality More... | |
TH2 * | fHistNtrackVsCent |
!no. of tracks vs. centrality More... | |
TH2 * | fHistRhoVsLeadClusterE |
!rho vs. leading cluster energy More... | |
TH2 * | fHistRhoVsNcluster |
!rho vs. no. of clusters More... | |
TH2 * | fHistLeadClusterEVsCent |
!leading cluster energy vs. centrality More... | |
TH2 * | fHistNclusterVsCent |
!no. of cluster vs. centrality More... | |
TH2 * | fHistRhoScaledVsCent |
!rhoscaled vs. centrality More... | |
TH2 * | fHistRhoScaledVsNtrack |
!rhoscaled vs. no. of tracks More... | |
TH2 * | fHistRhoScaledVsNcluster |
!rhoscaled vs. no. of clusters More... | |
![]() | |
Double_t | fBackToBackJetPtFraction |
Minimum pt fraction of the back-to-back jet. More... | |
Double_t | fMaxMomentumThridJet |
Maximum pt of any additional jet in the event (other than the back-to-back fraction. More... | |
Float_t | fPtBinWidth |
Histogram pt bin width. More... | |
Float_t | fMaxPt |
Histogram pt limit. More... | |
Int_t | fNtracks |
!number of tracks More... | |
Int_t | fNclusters |
!number of clusters More... | |
std::map< std::string, Int_t > | fNjets |
!number of jets More... | |
std::map< std::string, Double_t > | fTotJetArea |
!total area covered by jets More... | |
AliVParticle * | fLeadingParticle |
!leading particle More... | |
AliVCluster * | fLeadingCluster |
!leading cluster More... | |
std::map< std::string, AliEmcalJet * > | fLeadingJet |
!leading jet More... | |
std::map< std::string, std::list< AliEmcalJet * > > | fSortedJets |
!jets sorted by momentum More... | |
![]() | |
std::map< std::string, AliJetContainer * > | fJetCollArray |
jet collection array More... | |
![]() | |
EBeamType_t | fForceBeamType |
forced beam type More... | |
Bool_t | fGeneralHistograms |
whether or not it should fill some general histograms More... | |
Bool_t | fCreateHisto |
whether or not create histograms More... | |
Bool_t | fNeedEmcalGeom |
whether or not the task needs the emcal geometry More... | |
std::vector< double > | fCentBins |
how many centrality bins More... | |
ECentralityEstimation_t | fCentralityEstimation |
Centrality estimation. More... | |
Bool_t | fIsPythia |
if it is a PYTHIA production More... | |
TString | fCaloCellsName |
name of calo cell collection More... | |
TString | fCaloTriggersName |
name of calo triggers collection More... | |
TString | fCaloTriggerPatchInfoName |
trigger patch info array name More... | |
TString | fCentEst |
name of the centrality estimator More... | |
std::map< std::string, AliParticleContainer * > | fParticleCollArray |
particle/track collection array More... | |
std::map< std::string, AliClusterContainer * > | fClusterCollArray |
cluster collection array More... | |
UInt_t | fTriggerSelectionBitMap |
trigger selection bit map More... | |
Double_t | fMinCent |
min centrality for event selection More... | |
Double_t | fMaxCent |
max centrality for event selection More... | |
Double_t | fMinVz |
min vertex for event selection More... | |
Double_t | fMaxVz |
max vertex for event selection More... | |
Double_t | fMaxVzDiff |
upper limit for distance between primary and SPD vertex More... | |
Double_t | fMinNVertCont |
minumum number of vertex contributors More... | |
Double_t | fMinPtHard |
select minimum pt hard (MC) More... | |
Double_t | fMaxPtHard |
select maximum pt hard (MC) More... | |
Double_t | fMaxMinimumBiasPtHard |
maximum pt hard for the minimum bias pt hard bin (MC) More... | |
std::set< std::string > | fAcceptedTriggerClasses |
list of accepted trigger classes More... | |
std::set< std::string > | fRejectedTriggerClasses |
list of accepted trigger classes More... | |
Bool_t | fMCRejectFilter |
enable the filtering of events by tail rejection More... | |
Float_t | fPtHardAndJetPtFactor |
Factor between ptHard and jet pT to reject/accept event. More... | |
Float_t | fPtHardAndClusterPtFactor |
Factor between ptHard and cluster pT to reject/accept event. More... | |
Float_t | fPtHardAndTrackPtFactor |
Factor between ptHard and track pT to reject/accept event. More... | |
Bool_t | fSwitchOffLHC15oFaultyBranches |
Switch off faulty tree branches in LHC15o AOD trees. More... | |
Bool_t | fEventSelectionAfterRun |
If kTRUE, the event selection is performed after Run() but before FillHistograms() More... | |
TString | fSelectGeneratorName |
Selects only events produced by a generator that has a name containing a string. More... | |
Double_t | fMinimumEventWeight |
Minimum event weight for the related bookkeping histogram. More... | |
Double_t | fMaximumEventWeight |
Minimum event weight for the related bookkeping histogram. More... | |
Bool_t | fInhibit |
!inhibit execution of the task More... | |
Bool_t | fLocalInitialized |
!whether or not the task has been already initialized More... | |
EDataType_t | fDataType |
!data type (ESD or AOD) More... | |
AliEMCALGeometry * | fGeom |
!emcal geometry More... | |
AliVCaloCells * | fCaloCells |
!cells More... | |
AliVCaloTrigger * | fCaloTriggers |
!calo triggers More... | |
TClonesArray * | fTriggerPatchInfo |
!trigger patch info array More... | |
Double_t | fCent |
!event centrality More... | |
Int_t | fCentBin |
!event centrality bin More... | |
Double_t | fEPV0 |
!event plane V0 More... | |
Double_t | fEPV0A |
!event plane V0A More... | |
Double_t | fEPV0C |
!event plane V0C More... | |
Double_t | fVertex [3] |
!event vertex More... | |
Double_t | fVertexSPD [3] |
!event Svertex More... | |
Int_t | fNVertCont |
!event vertex number of contributors More... | |
Int_t | fNVertSPDCont |
!event SPD vertex number of contributors More... | |
ULong_t | fFiredTriggerBitMap |
!bit map of fired triggers More... | |
std::vector< std::string > | fFiredTriggerClasses |
!trigger classes fired by the current event More... | |
EBeamType_t | fBeamType |
!event beam type More... | |
AliGenPythiaEventHeader * | fPythiaHeader |
!event Pythia header More... | |
Int_t | fPtHardBin |
!event pt hard bin More... | |
Double_t | fPtHard |
!event pt hard More... | |
Int_t | fNTrials |
!event trials More... | |
Float_t | fXsection |
!x-section from pythia header More... | |
Float_t | fEventWeight |
!event weight More... | |
TString | fGeneratorName |
!name of the MC generator used to produce the current event (only AOD) More... | |
TList * | fOutput |
!output list More... | |
Additional Inherited Members | |
![]() | |
typedef AliJetContainer::EJetType_t | EJetType_t |
typedef AliJetContainer::EJetAlgo_t | EJetAlgo_t |
typedef AliJetContainer::ERecoScheme_t | ERecoScheme_t |
![]() | |
enum | EDataType_t { kUnknownDataType, kESD, kAOD } |
Switch for the data type. More... | |
enum | EBeamType_t { kNA = -1, kpp = 0, kAA = 1, kpA = 2 } |
Switch for the beam type. More... | |
enum | ECentralityEstimation_t { kNoCentrality = 0, kNewCentrality = 1, kOldCentrality = 2 } |
Switch for the centrality estimation. More... | |
![]() | |
static void | GetEtaPhiDiff (const AliVTrack *t, const AliVCluster *v, Double_t &phidiff, Double_t &etadiff) |
static Byte_t | GetTrackType (const AliVTrack *t) |
static Byte_t | GetTrackType (const AliAODTrack *aodTrack, UInt_t filterBit1, UInt_t filterBit2) |
static Double_t | DeltaPhi (Double_t phia, Double_t phib, Double_t rMin=-TMath::Pi()/2, Double_t rMax=3 *TMath::Pi()/2) |
static std::vector< double > | GenerateFixedBinArray (int n, double min, double max, bool last=true) |
static void | GenerateFixedBinArray (int n, double min, double max, std::vector< double > &array, bool last=true) |
static std::vector< double > | GenerateLogFixedBinArray (int n, double min, double max, bool last=true) |
static void | GenerateLogFixedBinArray (int n, double min, double max, std::vector< double > &array, bool last=true) |
static Double_t | GetParallelFraction (AliVParticle *part1, AliVParticle *part2) |
static Double_t | GetParallelFraction (const TVector3 &vect1, AliVParticle *part2) |
static EBeamType_t | BeamTypeFromRunNumber (Int_t runnumber) |
![]() | |
static Double_t | fgkEMCalDCalPhiDivide = 4. |
phi value used to distinguish between DCal and EMCal More... | |
Base class for a task that calculates the UE.
Base class for a task that calculates the average background coming from the underlying event (UE) in jet analysis. This is a development version. The stable version of this class is AliAnalysisTaskRhoBase.
Definition at line 38 of file AliAnalysisTaskRhoBaseDev.h.
AliAnalysisTaskRhoBaseDev::AliAnalysisTaskRhoBaseDev | ( | ) |
Default constructor. Needed by ROOT I/O
Definition at line 42 of file AliAnalysisTaskRhoBaseDev.cxx.
Referenced by AddTaskRhoBaseDev().
AliAnalysisTaskRhoBaseDev::AliAnalysisTaskRhoBaseDev | ( | const char * | name, |
Bool_t | histo = kFALSE |
||
) |
Standard constructor. Should be used by the user.
[in] | name | Name of the task |
[in] | histo | If kTRUE, the task will also produce QA histograms |
Definition at line 81 of file AliAnalysisTaskRhoBaseDev.cxx.
|
inlinevirtual |
Definition at line 42 of file AliAnalysisTaskRhoBaseDev.h.
|
protected |
|
static |
Create an instance of this class and add it to the analysis manager
trackName | name of the track collection |
clusName | name of the calorimeter cluster collection |
nRho | name of the output rho object |
jetradius | Radius of the kt jets used to calculate the background |
acceptance | Fiducial acceptance of the kt jets |
jetType | Jet type (full/charged) |
rscheme | Recombination scheme |
histo | If kTRUE the task will also produce QA histograms |
suffix | additional suffix that can be added at the end of the task name |
Definition at line 461 of file AliAnalysisTaskRhoBaseDev.cxx.
Referenced by GetOutRhoScaledName().
|
protectedvirtual |
Calculates the average background using a given parametrization as a function of centrality.
Reimplemented in AliAnalysisTaskRhoTransDev, and AliAnalysisTaskRhoDev.
Definition at line 277 of file AliAnalysisTaskRhoBaseDev.cxx.
Referenced by Run(), and VerifyContainers().
|
protectedvirtual |
Init the analysis.
Reimplemented from AliAnalysisTaskEmcalLight.
Definition at line 353 of file AliAnalysisTaskRhoBaseDev.cxx.
Referenced by GetOutRhoScaledName().
|
protectedvirtual |
Fill histograms.
Reimplemented from AliAnalysisTaskEmcalLight.
Reimplemented in AliAnalysisTaskRhoTransDev, and AliAnalysisTaskRhoDev.
Definition at line 306 of file AliAnalysisTaskRhoBaseDev.cxx.
Referenced by AliAnalysisTaskRhoDev::FillHistograms(), AliAnalysisTaskRhoTransDev::FillHistograms(), and GetOutRhoScaledName().
|
inline |
Definition at line 53 of file AliAnalysisTaskRhoBaseDev.h.
|
inline |
Definition at line 54 of file AliAnalysisTaskRhoBaseDev.h.
Return rho per centrality.
cent | Centrality percentile. |
Definition at line 391 of file AliAnalysisTaskRhoBaseDev.cxx.
Referenced by CalculateRho(), and VerifyContainers().
Get scale factor.
cent | Centrality percentile. |
Definition at line 403 of file AliAnalysisTaskRhoBaseDev.cxx.
Referenced by Run(), and VerifyContainers().
TF1 * AliAnalysisTaskRhoBaseDev::LoadRhoFunction | ( | const char * | path, |
const char * | name | ||
) |
Load the scale function from a file.
path | Path to the file |
name | Name of the object inside the file |
Definition at line 416 of file AliAnalysisTaskRhoBaseDev.cxx.
Referenced by SetRhoFunction().
|
protected |
|
protectedvirtual |
Run the analysis.
Reimplemented from AliAnalysisTaskEmcalLight.
Definition at line 286 of file AliAnalysisTaskRhoBaseDev.cxx.
Referenced by GetOutRhoScaledName().
|
inline |
Definition at line 51 of file AliAnalysisTaskRhoBaseDev.h.
|
inline |
Definition at line 46 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by AddTaskRhoBaseDev(), AliAnalysisTaskRhoDev::AddTaskRhoDev(), and AliAnalysisTaskRhoTransDev::AddTaskRhoTransDev().
|
inline |
Definition at line 49 of file AliAnalysisTaskRhoBaseDev.h.
|
inline |
Definition at line 48 of file AliAnalysisTaskRhoBaseDev.h.
void AliAnalysisTaskRhoBaseDev::UserCreateOutputObjects | ( | ) |
Performing run-independent initialization. Here the histograms should be instantiated.
Definition at line 119 of file AliAnalysisTaskRhoBaseDev.cxx.
Referenced by AliAnalysisTaskRhoDev::UserCreateOutputObjects(), AliAnalysisTaskRhoTransDev::UserCreateOutputObjects(), and ~AliAnalysisTaskRhoBaseDev().
|
inlineprotectedvirtual |
Reimplemented in AliAnalysisTaskRhoTransDev, and AliAnalysisTaskRhoDev.
Definition at line 73 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by ExecOnce().
|
protected |
whether or not attach rho to the event objects list
Definition at line 84 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by ExecOnce(), and SetAttachToEvent().
|
protected |
!leading cluster energy vs. centrality
Definition at line 111 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!leading jet constituents vs. cent
Definition at line 99 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!leading jet constituents vs. pt
Definition at line 100 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!leading jet area vs. centrality
Definition at line 97 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!leading jet pt vs. centrality
Definition at line 96 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!leading track pt vs. centrality
Definition at line 106 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!no. of cluster vs. centrality
Definition at line 112 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!no. of jets vs. centrality
Definition at line 101 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!no. of jets vs. no. of tracks
Definition at line 102 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!no. of tracks vs. centrality
Definition at line 107 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!rhoscaled vs. centrality
Definition at line 114 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!rhoscaled vs. no. of clusters
Definition at line 116 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by AliAnalysisTaskRhoTransDev::FillHistograms(), FillHistograms(), and UserCreateOutputObjects().
|
protected |
!rhoscaled vs. no. of tracks
Definition at line 115 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by AliAnalysisTaskRhoTransDev::FillHistograms(), FillHistograms(), and UserCreateOutputObjects().
|
protected |
!rho vs. centrality
Definition at line 93 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!rho vs. leading cluster energy
Definition at line 109 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!rho vs. leading jet pt
Definition at line 95 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!rho vs. leading track pt
Definition at line 104 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!rho vs. no. of clusters
Definition at line 110 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by AliAnalysisTaskRhoTransDev::FillHistograms(), FillHistograms(), and UserCreateOutputObjects().
|
protected |
!rho vs. no. of tracks
Definition at line 105 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!total area covered by jets vs. centrality
Definition at line 98 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
!output rho object
Definition at line 89 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by AliAnalysisTaskRhoDev::CalculateRho(), AliAnalysisTaskRhoTransDev::CalculateRho(), CalculateRho(), ExecOnce(), AliAnalysisTaskRhoTransDev::FillHistograms(), FillHistograms(), and Run().
|
protected |
name of output rho object
Definition at line 80 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by ExecOnce(), GetOutRhoName(), and SetOutRhoName().
|
protected |
!output scaled rho object
Definition at line 90 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by ExecOnce(), AliAnalysisTaskRhoTransDev::FillHistograms(), FillHistograms(), and Run().
|
protected |
name of output scaled rho object
Definition at line 81 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by ExecOnce(), GetOutRhoScaledName(), and SetOutRhoName().
|
protected |
pre-computed rho as a function of centrality
Definition at line 82 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by GetRhoFactor(), and SetRhoFunction().
|
protected |
pre-computed scale factor as a function of centrality
Definition at line 83 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by ExecOnce(), GetScaleFactor(), LoadRhoFunction(), Run(), SetScaleFunction(), UserCreateOutputObjects(), and AliAnalysisTaskRhoTransDev::UserCreateOutputObjects().
|
protected |
!kTRUE if the task is properly configured
Definition at line 86 of file AliAnalysisTaskRhoBaseDev.h.
Referenced by ExecOnce().