![]() |
AliPhysics
4646b6b (4646b6b)
|
Class for a task that calculates the UE. More...
#include <AliAnalysisTaskRhoDev.h>
Static Public Member Functions | |
static AliAnalysisTaskRhoDev * | AddTaskRhoDev (TString nTracks="usedefault", Double_t trackPtCut=0.15, TString nClusters="usedefault", Double_t clusECut=0.30, 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="") |
![]() | |
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 | |
UInt_t | fNExclLeadJets |
number of leading jets to be excluded from the median calculation More... | |
Bool_t | fRhoSparse |
flag to run CMS method as described in https://arxiv.org/abs/1207.2392 More... | |
TString | fExclJetOverlap |
name of the jet collection that should be used to reject jets that are considered "signal" More... | |
Double_t | fOccupancyFactor |
!occupancy correction factor for sparse events More... | |
TH2F * | fHistOccCorrvsCent |
!occupancy correction vs. centrality More... | |
![]() | |
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... | |
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 More... | |
Double_t | fPtHard |
!event pt hard More... | |
Int_t | fNTrials |
!event trials More... | |
Float_t | fXsection |
!x-section from pythia header More... | |
TString | fGeneratorName |
!name of the MC generator used to produce the current event (only AOD) More... | |
TList * | fOutput |
!output list More... | |
TH1 * | fHistTrialsVsPtHardNoSel |
!total number of trials per pt hard bin after selection (no event selection) More... | |
TH1 * | fHistEventsVsPtHardNoSel |
!total number of events per pt hard bin after selection (no event selection) More... | |
TProfile * | fHistXsectionVsPtHardNoSel |
!x section from pythia header (no event selection) More... | |
TH1 * | fHistTriggerClassesNoSel |
!number of events in each trigger class (no event selection) More... | |
TH1 * | fHistZVertexNoSel |
!z vertex position (no event selection) More... | |
TH1 * | fHistCentralityNoSel |
!event centrality distribution (no event selection) More... | |
TH1 * | fHistEventPlaneNoSel |
!event plane distribution (no event selection) More... | |
TH1 * | fHistTrialsVsPtHard |
!total number of trials per pt hard bin after selection More... | |
TH1 * | fHistEventsVsPtHard |
!total number of events per pt hard bin after selection More... | |
TProfile * | fHistXsectionVsPtHard |
!x section from pythia header More... | |
TH1 * | fHistTriggerClasses |
!number of events in each trigger class More... | |
TH1 * | fHistZVertex |
!z vertex position More... | |
TH1 * | fHistCentrality |
!event centrality distribution More... | |
TH1 * | fHistEventPlane |
!event plane distribution More... | |
TH1 * | fHistEventCount |
!incoming and selected events More... | |
TH1 * | fHistEventRejection |
!book keep reasons for rejecting event More... | |
TH1 * | fHistTrials |
!trials from pyxsec.root More... | |
TH1 * | fHistEvents |
!total number of events per pt hard bin More... | |
TProfile * | fHistXsection |
!x section from pyxsec.root 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 Double_t * | GenerateFixedBinArray (Int_t n, Double_t min, Double_t max) |
static void | GenerateFixedBinArray (Int_t n, Double_t min, Double_t max, Double_t *array) |
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... | |
Class for a task that calculates the UE.
Class for a task that calculates the average background coming from the underlying event (UE) in jet analysis. This task calculates the average background as the median of the pt density of kt clusters. More details at: https://arxiv.org/pdf/0707.1378.pdf. If scale function is given the scaled rho will be exported with the name as "fOutRhoName".Apppend("_Scaled"). This is a development version. The stable version of this class is AliAnalysisTaskRho.
Definition at line 34 of file AliAnalysisTaskRhoDev.h.
AliAnalysisTaskRhoDev::AliAnalysisTaskRhoDev | ( | ) |
Default constructor. Needed by ROOT I/O
Definition at line 36 of file AliAnalysisTaskRhoDev.cxx.
Referenced by AddTaskRhoDev().
AliAnalysisTaskRhoDev::AliAnalysisTaskRhoDev | ( | 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 52 of file AliAnalysisTaskRhoDev.cxx.
|
inlinevirtual |
Definition at line 39 of file AliAnalysisTaskRhoDev.h.
|
protected |
|
static |
Create an instance of this class and add it to the analysis manager
trackName | name of the track collection |
trackPtCut | minimum pt of the tracks |
clusName | name of the calorimeter cluster collection |
clusECut | minimum energy of the calorimeter clustuers |
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 208 of file AliAnalysisTaskRhoDev.cxx.
|
protectedvirtual |
Calculates the average background using the median approach as proposed in https://arxiv.org/pdf/0707.1378.pdf. Rho is stored in fOutRho.
Reimplemented from AliAnalysisTaskRhoBaseDev.
Definition at line 101 of file AliAnalysisTaskRhoDev.cxx.
|
protectedvirtual |
Fill histograms.
Reimplemented from AliAnalysisTaskRhoBaseDev.
Definition at line 169 of file AliAnalysisTaskRhoDev.cxx.
|
protected |
Finds the first two leading jets
Definition at line 80 of file AliAnalysisTaskRhoDev.cxx.
Referenced by CalculateRho().
|
protected |
|
inline |
Definition at line 45 of file AliAnalysisTaskRhoDev.h.
|
inline |
Definition at line 43 of file AliAnalysisTaskRhoDev.h.
|
inline |
Definition at line 44 of file AliAnalysisTaskRhoDev.h.
void AliAnalysisTaskRhoDev::UserCreateOutputObjects | ( | ) |
Performing run-independent initialization. Here the histograms should be instantiated.
Definition at line 66 of file AliAnalysisTaskRhoDev.cxx.
|
protectedvirtual |
Verify that the required particle, cluster and jet containers were provided.
Reimplemented from AliAnalysisTaskRhoBaseDev.
Definition at line 183 of file AliAnalysisTaskRhoDev.cxx.
|
protected |
name of the jet collection that should be used to reject jets that are considered "signal"
Definition at line 71 of file AliAnalysisTaskRhoDev.h.
Referenced by CalculateRho(), and SetExclJetOverlap().
|
protected |
!occupancy correction vs. centrality
Definition at line 74 of file AliAnalysisTaskRhoDev.h.
Referenced by FillHistograms(), and UserCreateOutputObjects().
|
protected |
number of leading jets to be excluded from the median calculation
Definition at line 69 of file AliAnalysisTaskRhoDev.h.
Referenced by GetLeadingJets(), and SetExcludeLeadJets().
|
protected |
!occupancy correction factor for sparse events
Definition at line 73 of file AliAnalysisTaskRhoDev.h.
Referenced by CalculateRho(), and FillHistograms().
|
protected |
flag to run CMS method as described in https://arxiv.org/abs/1207.2392
Definition at line 70 of file AliAnalysisTaskRhoDev.h.
Referenced by CalculateRho(), and SetRhoSparse().