AliPhysics  ec707b8 (ec707b8)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AliAnalysisTaskEmcal Class Reference

Base task in the EMCAL framework. More...

#include <AliAnalysisTaskEmcal.h>

Inheritance diagram for AliAnalysisTaskEmcal:

Public Types

enum  BeamType { kNA = -1, kpp = 0, kAA = 1, kpA = 2 }
 
enum  TriggerType {
  kND = -1, kJ1 = 0, kJ2 = 1, kG1 = 2,
  kG2 = 3, kL0 = 4
}
 
enum  TriggerCategory {
  kTriggerLevel0 = 0, kTriggerLevel1Jet = 1, kTriggerLevel1Gamma = 2, kTriggerRecalcJet = 3,
  kTriggerRecalcGamma = 4
}
 
enum  EMCalTriggerMode_t { kNoSpecialTreatment, kOverlapWithLowThreshold }
 

Public Member Functions

 AliAnalysisTaskEmcal ()
 
 AliAnalysisTaskEmcal (const char *name, Bool_t histo=kFALSE)
 
virtual ~AliAnalysisTaskEmcal ()
 
AliParticleContainerAddParticleContainer (const char *n)
 
AliTrackContainerAddTrackContainer (const char *n)
 
AliMCParticleContainerAddMCParticleContainer (const char *n)
 
AliClusterContainerAddClusterContainer (const char *n)
 
void AdoptParticleContainer (AliParticleContainer *cont)
 
void AdoptClusterContainer (AliClusterContainer *cont)
 
AliParticleContainerGetParticleContainer (Int_t i=0) const
 
AliParticleContainerGetParticleContainer (const char *name) const
 
AliClusterContainerGetClusterContainer (Int_t i=0) const
 
AliClusterContainerGetClusterContainer (const char *name) const
 
AliMCParticleContainerGetMCParticleContainer (Int_t i=0) const
 
AliMCParticleContainerGetMCParticleContainer (const char *name) const
 
AliTrackContainerGetTrackContainer (Int_t i=0) const
 
AliTrackContainerGetTrackContainer (const char *name) const
 
void RemoveParticleContainer (Int_t i=0)
 
void RemoveClusterContainer (Int_t i=0)
 
void SetCaloCellsName (const char *n)
 
void SetCaloTriggerPatchInfoName (const char *n)
 
void SetCaloTriggersName (const char *n)
 
void SetCentRange (Double_t min, Double_t max)
 
void SetCentralityEstimator (const char *c)
 
void SetClusName (const char *n)
 
void SetClusPtCut (Double_t cut, Int_t c=0)
 
void SetClusTimeCut (Double_t min, Double_t max, Int_t c=0)
 
void SetEventPlaneVsEmcal (Double_t ep)
 
void SetForceBeamType (BeamType f)
 
void SetHistoBins (Int_t nbins, Double_t min, Double_t max)
 
void SetIsEmbedded (Bool_t i)
 
void SetIsPythia (Bool_t i)
 
void SetMakeGeneralHistograms (Bool_t g)
 
void SetMCLabelShift (Int_t s)
 
void SetMinMCLabel (Int_t s)
 
void SetMinNTrack (Int_t min)
 
void SetMinPtTrackInEmcal (Double_t min)
 
virtual void SetNCentBins (Int_t n)
 
void SetNeedEmcalGeom (Bool_t n)
 
void SetOffTrigger (UInt_t t)
 
void SetTrackEtaLimits (Double_t min, Double_t max, Int_t c=0)
 
void SetTrackPhiLimits (Double_t min, Double_t max, Int_t c=0)
 
void SetTrackPtCut (Double_t cut, Int_t c=0)
 
void SetTracksName (const char *n)
 
void SetTrigClass (const char *n)
 
void SetTriggerTypeSel (TriggerType t)
 
void SetUseAliAnaUtils (Bool_t b, Bool_t bRejPilup=kTRUE)
 
void SetVzRange (Double_t min, Double_t max)
 
void SetUseSPDTrackletVsClusterBG (Bool_t b)
 
void SetEMCalTriggerMode (EMCalTriggerMode_t m)
 
void SetUseNewCentralityEstimation (Bool_t b)
 
void SetGeneratePythiaInfoObject (Bool_t b)
 
void SetPythiaInfoName (const char *n)
 
const TString & GetPythiaInfoName () const
 
const AliEmcalPythiaInfoGetPythiaInfo () const
 

Protected Member Functions

void LoadPythiaInfo (AliVEvent *event)
 
void SetRejectionReasonLabels (TAxis *axis)
 
Bool_t AcceptCluster (AliVCluster *clus, Int_t c=0) const
 
Bool_t AcceptTrack (AliVParticle *track, Int_t c=0) const
 
void AddObjectToEvent (TObject *obj, Bool_t attempt=kFALSE)
 
AliVParticle * GetAcceptParticleFromArray (Int_t p, Int_t c=0) const
 
AliVCluster * GetAcceptClusterFromArray (Int_t cl, Int_t c=0) const
 
TClonesArray * GetArrayFromEvent (const char *name, const char *clname=0)
 
BeamType GetBeamType ()
 
TClonesArray * GetParticleArray (Int_t i=0) const
 
TClonesArray * GetClusterArray (Int_t i=0) const
 
Int_t GetNParticles (Int_t i=0) const
 
Int_t GetNClusters (Int_t i=0) const
 
AliEMCALTriggerPatchInfo * GetMainTriggerPatch (TriggerCategory triggersel=kTriggerLevel1Jet, Bool_t doOfflinSimple=kFALSE)
 
Bool_t HasTriggerType (TriggerType triggersel)
 
ULong_t GetTriggerList ()
 
Bool_t PythiaInfoFromFile (const char *currFile, Float_t &fXsec, Float_t &fTrials, Int_t &pthard)
 
Bool_t IsTrackInEmcalAcceptance (AliVParticle *part, Double_t edges=0.9) const
 
void GeneratePythiaInfoObject (AliMCEvent *mcEvent)
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *option)
 
Bool_t UserNotify ()
 
virtual void ExecOnce ()
 
virtual Bool_t FillGeneralHistograms ()
 
virtual Bool_t IsEventSelected ()
 
virtual Bool_t RetrieveEventObjects ()
 
virtual Bool_t FillHistograms ()
 
virtual Bool_t Run ()
 

Static Protected Member Functions

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)
 

Protected Attributes

TString fPythiaInfoName
 phi value used to distinguish between DCal and EMCal More...
 
BeamType fForceBeamType
 name of pythia info object More...
 
Bool_t fGeneralHistograms
 forced beam type More...
 
Bool_t fInitialized
 whether or not it should fill some general histograms More...
 
Bool_t fCreateHisto
 whether or not the task has been already initialized More...
 
TString fCaloCellsName
 whether or not create histograms More...
 
TString fCaloTriggersName
 name of calo cell collection More...
 
TString fCaloTriggerPatchInfoName
 name of calo triggers collection More...
 
Double_t fMinCent
 trigger patch info array name More...
 
Double_t fMaxCent
 min centrality for event selection More...
 
Double_t fMinVz
 max centrality for event selection More...
 
Double_t fMaxVz
 min vertex for event selection More...
 
Double_t fTrackPtCut
 max vertex for event selection More...
 
Int_t fMinNTrack
 cut on track pt in event selection More...
 
Bool_t fUseAliAnaUtils
 minimum nr of tracks in event with pT>fTrackPtCut More...
 
Bool_t fRejectPileup
 used for LHC13* data: z-vtx, Ncontributors, z-vtx resolution cuts More...
 
Bool_t fTklVsClusSPDCut
 Reject pilup using function AliAnalysisUtils::IsPileUpEvent() More...
 
UInt_t fOffTrigger
 Apply tracklet-vs-cluster SPD cut to reject background events in pp. More...
 
TString fTrigClass
 offline trigger for event selection More...
 
TriggerType fTriggerTypeSel
 trigger class name for event selection More...
 
Int_t fNbins
 trigger type to select based on trigger patches More...
 
Double_t fMinBinPt
 no. of pt bins More...
 
Double_t fMaxBinPt
 min pt in histograms More...
 
Double_t fMinPtTrackInEmcal
 max pt in histograms More...
 
Double_t fEventPlaneVsEmcal
 min pt track in emcal More...
 
Double_t fMinEventPlane
 select events which have a certain event plane wrt the emcal More...
 
Double_t fMaxEventPlane
 minimum event plane value More...
 
TString fCentEst
 maximum event plane value More...
 
Bool_t fIsEmbedded
 name of V0 centrality estimator More...
 
Bool_t fIsPythia
 trigger, embedded signal More...
 
Int_t fSelectPtHardBin
 trigger, if it is a PYTHIA production More...
 
Int_t fMinMCLabel
 select one pt hard bin for analysis More...
 
Int_t fMCLabelShift
 minimum MC label value for the tracks/clusters being considered MC particles More...
 
Int_t fNcentBins
 if MC label > fMCLabelShift, MC label -= fMCLabelShift More...
 
Bool_t fNeedEmcalGeom
 how many centrality bins More...
 
TObjArray fParticleCollArray
 whether or not the task needs the emcal geometry More...
 
TObjArray fClusterCollArray
 particle/track collection array More...
 
ULong_t fTriggers
 cluster collection array More...
 
EMCalTriggerMode_t fEMCalTriggerMode
 list of fired triggers More...
 
Bool_t fUseNewCentralityEstimation
 EMCal trigger selection mode. More...
 
Bool_t fGeneratePythiaInfoObject
 Use new centrality estimation (for 2015 data) More...
 
AliAnalysisUtils * fAliAnalysisUtils
 Generate Pythia info object. More...
 
Bool_t fIsEsd
 !whether it's an ESD analysis More...
 
AliEMCALGeometry * fGeom
 !emcal geometry More...
 
TClonesArray * fTracks
 !tracks More...
 
TClonesArray * fCaloClusters
 !clusters 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...
 
Int_t fNVertCont
 !event vertex number of contributors More...
 
BeamType fBeamType
 !event beam type More...
 
AliGenPythiaEventHeader * fPythiaHeader
 !event Pythia header More...
 
Double_t fPtHard
 !event pt hard More...
 
Int_t fPtHardBin
 !event pt hard bin More...
 
Int_t fNTrials
 !event trials More...
 
Float_t fXsection
 !x-section from pythia header More...
 
AliEmcalPythiaInfofPythiaInfo
 !event parton info More...
 
TList * fOutput
 !output list More...
 
TH1 * fHistEventCount
 !incoming and selected events More...
 
TH1 * fHistTrialsAfterSel
 !total number of trials per pt hard bin after selection More...
 
TH1 * fHistEventsAfterSel
 !total number of events per pt hard bin after selection More...
 
TProfile * fHistXsectionAfterSel
 !x section from pythia header 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...
 
TH1 * fHistPtHard
 !pt hard distribution More...
 
TH1 * fHistCentrality
 !event centrality distribution More...
 
TH1 * fHistZVertex
 !z vertex position More...
 
TH1 * fHistEventPlane
 !event plane distribution More...
 
TH1 * fHistEventRejection
 !book keep reasons for rejecting event More...
 
TH1 * fHistTriggerClasses
 !number of events in each trigger class More...
 

Static Protected Attributes

static Double_t fgkEMCalDCalPhiDivide = 4.
 

Private Member Functions

 AliAnalysisTaskEmcal (const AliAnalysisTaskEmcal &)
 
AliAnalysisTaskEmcaloperator= (const AliAnalysisTaskEmcal &)
 

Detailed Description

Base task in the EMCAL framework.

Definition at line 37 of file AliAnalysisTaskEmcal.h.

Member Enumeration Documentation

Enumerator
kNA 
kpp 
kAA 
kpA 

Definition at line 40 of file AliAnalysisTaskEmcal.h.

Enumerator
kNoSpecialTreatment 
kOverlapWithLowThreshold 

Definition at line 64 of file AliAnalysisTaskEmcal.h.

Enumerator
kTriggerLevel0 
kTriggerLevel1Jet 
kTriggerLevel1Gamma 
kTriggerRecalcJet 
kTriggerRecalcGamma 

Definition at line 56 of file AliAnalysisTaskEmcal.h.

Enumerator
kND 
kJ1 
kJ2 
kG1 
kG2 
kL0 

Definition at line 47 of file AliAnalysisTaskEmcal.h.

Constructor & Destructor Documentation

AliAnalysisTaskEmcal::AliAnalysisTaskEmcal ( )

Definition at line 51 of file AliAnalysisTaskEmcal.cxx.

AliAnalysisTaskEmcal::AliAnalysisTaskEmcal ( const char *  name,
Bool_t  histo = kFALSE 
)

Definition at line 140 of file AliAnalysisTaskEmcal.cxx.

AliAnalysisTaskEmcal::~AliAnalysisTaskEmcal ( )
virtual

Definition at line 233 of file AliAnalysisTaskEmcal.cxx.

AliAnalysisTaskEmcal::AliAnalysisTaskEmcal ( const AliAnalysisTaskEmcal )
private

Member Function Documentation

Bool_t AliAnalysisTaskEmcal::AcceptCluster ( AliVCluster *  clus,
Int_t  c = 0 
) const
protected

Definition at line 493 of file AliAnalysisTaskEmcal.cxx.

Bool_t AliAnalysisTaskEmcal::AcceptTrack ( AliVParticle *  track,
Int_t  c = 0 
) const
protected

Definition at line 511 of file AliAnalysisTaskEmcal.cxx.

AliClusterContainer * AliAnalysisTaskEmcal::AddClusterContainer ( const char *  n)

Definition at line 1253 of file AliAnalysisTaskEmcal.cxx.

Referenced by SetClusName().

AliMCParticleContainer * AliAnalysisTaskEmcal::AddMCParticleContainer ( const char *  n)
void AliAnalysisTaskEmcal::AddObjectToEvent ( TObject *  obj,
Bool_t  attempt = kFALSE 
)
protected
AliParticleContainer * AliAnalysisTaskEmcal::AddParticleContainer ( const char *  n)

Definition at line 1238 of file AliAnalysisTaskEmcal.cxx.

Referenced by SetTracksName().

AliTrackContainer * AliAnalysisTaskEmcal::AddTrackContainer ( const char *  n)
void AliAnalysisTaskEmcal::AdoptClusterContainer ( AliClusterContainer cont)
inline

Definition at line 78 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::AdoptParticleContainer ( AliParticleContainer cont)
inline

Definition at line 77 of file AliAnalysisTaskEmcal.h.

Double_t AliAnalysisTaskEmcal::DeltaPhi ( Double_t  phia,
Double_t  phib,
Double_t  rMin = -TMath::Pi()/2,
Double_t  rMax = 3*TMath::Pi()/2 
)
inlinestaticprotected

Definition at line 266 of file AliAnalysisTaskEmcal.h.

Bool_t AliAnalysisTaskEmcal::FillGeneralHistograms ( )
protectedvirtual

Definition at line 423 of file AliAnalysisTaskEmcal.cxx.

Referenced by UserExec().

virtual Bool_t AliAnalysisTaskEmcal::FillHistograms ( )
inlineprotectedvirtual
Double_t * AliAnalysisTaskEmcal::GenerateFixedBinArray ( Int_t  n,
Double_t  min,
Double_t  max 
)
inlinestaticprotected

Definition at line 295 of file AliAnalysisTaskEmcal.h.

Referenced by AliEmcalTrackingQATask::GenerateHistoBins().

void AliAnalysisTaskEmcal::GenerateFixedBinArray ( Int_t  n,
Double_t  min,
Double_t  max,
Double_t *  array 
)
inlinestaticprotected

Definition at line 285 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::GeneratePythiaInfoObject ( AliMCEvent *  mcEvent)
protected

Definition at line 1638 of file AliAnalysisTaskEmcal.cxx.

Referenced by RetrieveEventObjects().

AliVCluster * AliAnalysisTaskEmcal::GetAcceptClusterFromArray ( Int_t  cl,
Int_t  c = 0 
) const
protected

Definition at line 1349 of file AliAnalysisTaskEmcal.cxx.

AliVParticle * AliAnalysisTaskEmcal::GetAcceptParticleFromArray ( Int_t  p,
Int_t  c = 0 
) const
protected

Definition at line 1333 of file AliAnalysisTaskEmcal.cxx.

Referenced by IsEventSelected().

TClonesArray * AliAnalysisTaskEmcal::GetArrayFromEvent ( const char *  name,
const char *  clname = 0 
)
protected

Definition at line 1039 of file AliAnalysisTaskEmcal.cxx.

Referenced by ExecOnce().

AliAnalysisTaskEmcal::BeamType AliAnalysisTaskEmcal::GetBeamType ( )
protected

Definition at line 750 of file AliAnalysisTaskEmcal.cxx.

Referenced by RetrieveEventObjects().

TClonesArray * AliAnalysisTaskEmcal::GetClusterArray ( Int_t  i = 0) const
protected

Definition at line 1320 of file AliAnalysisTaskEmcal.cxx.

Referenced by ExecOnce().

AliClusterContainer * AliAnalysisTaskEmcal::GetClusterContainer ( const char *  name) const

Definition at line 1297 of file AliAnalysisTaskEmcal.cxx.

void AliAnalysisTaskEmcal::GetEtaPhiDiff ( const AliVTrack *  t,
const AliVCluster *  v,
Double_t &  phidiff,
Double_t &  etadiff 
)
staticprotected
AliEMCALTriggerPatchInfo * AliAnalysisTaskEmcal::GetMainTriggerPatch ( TriggerCategory  triggersel = kTriggerLevel1Jet,
Bool_t  doOfflinSimple = kFALSE 
)
protected

Definition at line 1391 of file AliAnalysisTaskEmcal.cxx.

AliMCParticleContainer* AliAnalysisTaskEmcal::GetMCParticleContainer ( Int_t  i = 0) const
inline

Definition at line 83 of file AliAnalysisTaskEmcal.h.

AliMCParticleContainer* AliAnalysisTaskEmcal::GetMCParticleContainer ( const char *  name) const
inline

Definition at line 84 of file AliAnalysisTaskEmcal.h.

Int_t AliAnalysisTaskEmcal::GetNClusters ( Int_t  i = 0) const
protected

Definition at line 1378 of file AliAnalysisTaskEmcal.cxx.

Int_t AliAnalysisTaskEmcal::GetNParticles ( Int_t  i = 0) const
protected

Definition at line 1365 of file AliAnalysisTaskEmcal.cxx.

Referenced by IsEventSelected().

Double_t AliAnalysisTaskEmcal::GetParallelFraction ( AliVParticle *  part1,
AliVParticle *  part2 
)
staticprotected

Definition at line 1553 of file AliAnalysisTaskEmcal.cxx.

Double_t AliAnalysisTaskEmcal::GetParallelFraction ( const TVector3 &  vect1,
AliVParticle *  part2 
)
staticprotected

Definition at line 1564 of file AliAnalysisTaskEmcal.cxx.

TClonesArray * AliAnalysisTaskEmcal::GetParticleArray ( Int_t  i = 0) const
protected

Definition at line 1306 of file AliAnalysisTaskEmcal.cxx.

Referenced by ExecOnce().

AliParticleContainer * AliAnalysisTaskEmcal::GetParticleContainer ( const char *  name) const

Definition at line 1288 of file AliAnalysisTaskEmcal.cxx.

const AliEmcalPythiaInfo* AliAnalysisTaskEmcal::GetPythiaInfo ( ) const
inline

Definition at line 124 of file AliAnalysisTaskEmcal.h.

const TString& AliAnalysisTaskEmcal::GetPythiaInfoName ( ) const
inline

Definition at line 123 of file AliAnalysisTaskEmcal.h.

AliTrackContainer* AliAnalysisTaskEmcal::GetTrackContainer ( Int_t  i = 0) const
inline

Definition at line 85 of file AliAnalysisTaskEmcal.h.

AliTrackContainer* AliAnalysisTaskEmcal::GetTrackContainer ( const char *  name) const
inline

Definition at line 86 of file AliAnalysisTaskEmcal.h.

Byte_t AliAnalysisTaskEmcal::GetTrackType ( const AliVTrack *  t)
staticprotected

Definition at line 1596 of file AliAnalysisTaskEmcal.cxx.

Byte_t AliAnalysisTaskEmcal::GetTrackType ( const AliAODTrack *  aodTrack,
UInt_t  filterBit1,
UInt_t  filterBit2 
)
staticprotected

Definition at line 1611 of file AliAnalysisTaskEmcal.cxx.

ULong_t AliAnalysisTaskEmcal::GetTriggerList ( )
protected

Definition at line 785 of file AliAnalysisTaskEmcal.cxx.

Referenced by RetrieveEventObjects().

Bool_t AliAnalysisTaskEmcal::HasTriggerType ( TriggerType  triggersel)
protected

Definition at line 824 of file AliAnalysisTaskEmcal.cxx.

Referenced by IsEventSelected().

Bool_t AliAnalysisTaskEmcal::IsEventSelected ( )
protectedvirtual

Definition at line 839 of file AliAnalysisTaskEmcal.cxx.

Referenced by UserExec().

Bool_t AliAnalysisTaskEmcal::IsTrackInEmcalAcceptance ( AliVParticle *  part,
Double_t  edges = 0.9 
) const
protected
void AliAnalysisTaskEmcal::LoadPythiaInfo ( AliVEvent *  event)
protected

Definition at line 649 of file AliAnalysisTaskEmcal.cxx.

Referenced by ExecOnce().

AliAnalysisTaskEmcal& AliAnalysisTaskEmcal::operator= ( const AliAnalysisTaskEmcal )
private
Bool_t AliAnalysisTaskEmcal::PythiaInfoFromFile ( const char *  currFile,
Float_t &  fXsec,
Float_t &  fTrials,
Int_t &  pthard 
)
protected

Definition at line 529 of file AliAnalysisTaskEmcal.cxx.

Referenced by UserNotify().

void AliAnalysisTaskEmcal::RemoveClusterContainer ( Int_t  i = 0)
inline

Definition at line 88 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::RemoveParticleContainer ( Int_t  i = 0)
inline

Definition at line 87 of file AliAnalysisTaskEmcal.h.

Bool_t AliAnalysisTaskEmcal::RetrieveEventObjects ( )
protectedvirtual

Definition at line 1069 of file AliAnalysisTaskEmcal.cxx.

Referenced by UserExec().

void AliAnalysisTaskEmcal::SetCaloCellsName ( const char *  n)
inline

Definition at line 89 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetCaloTriggerPatchInfoName ( const char *  n)
inline

Definition at line 90 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetCaloTriggersName ( const char *  n)
inline

Definition at line 91 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetCentralityEstimator ( const char *  c)
inline

Definition at line 93 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetCentRange ( Double_t  min,
Double_t  max 
)
inline

Definition at line 92 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetClusName ( const char *  n)
inline
void AliAnalysisTaskEmcal::SetClusPtCut ( Double_t  cut,
Int_t  c = 0 
)

Definition at line 239 of file AliAnalysisTaskEmcal.cxx.

void AliAnalysisTaskEmcal::SetClusTimeCut ( Double_t  min,
Double_t  max,
Int_t  c = 0 
)

Definition at line 247 of file AliAnalysisTaskEmcal.cxx.

void AliAnalysisTaskEmcal::SetEMCalTriggerMode ( EMCalTriggerMode_t  m)
inline

Definition at line 119 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetEventPlaneVsEmcal ( Double_t  ep)
inline

Definition at line 97 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetForceBeamType ( BeamType  f)
inline
void AliAnalysisTaskEmcal::SetGeneratePythiaInfoObject ( Bool_t  b)
inline

Definition at line 121 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetHistoBins ( Int_t  nbins,
Double_t  min,
Double_t  max 
)
inline

Definition at line 99 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetIsEmbedded ( Bool_t  i)
inline

Definition at line 100 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetIsPythia ( Bool_t  i)
inline

Definition at line 101 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetMCLabelShift ( Int_t  s)
inline

Definition at line 103 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetMinMCLabel ( Int_t  s)
inline

Definition at line 104 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetMinNTrack ( Int_t  min)
inline

Definition at line 105 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetMinPtTrackInEmcal ( Double_t  min)
inline

Definition at line 106 of file AliAnalysisTaskEmcal.h.

virtual void AliAnalysisTaskEmcal::SetNCentBins ( Int_t  n)
inlinevirtual

Reimplemented in AliEmcalTriggerQATask.

Definition at line 107 of file AliAnalysisTaskEmcal.h.

Referenced by AliEmcalTriggerQATaskPP::AliEmcalTriggerQATaskPP().

void AliAnalysisTaskEmcal::SetNeedEmcalGeom ( Bool_t  n)
inline

Definition at line 108 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetOffTrigger ( UInt_t  t)
inline

Definition at line 109 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetPythiaInfoName ( const char *  n)
inline

Definition at line 122 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetRejectionReasonLabels ( TAxis *  axis)
protected

Definition at line 1516 of file AliAnalysisTaskEmcal.cxx.

void AliAnalysisTaskEmcal::SetTrackEtaLimits ( Double_t  min,
Double_t  max,
Int_t  c = 0 
)

Definition at line 265 of file AliAnalysisTaskEmcal.cxx.

void AliAnalysisTaskEmcal::SetTrackPhiLimits ( Double_t  min,
Double_t  max,
Int_t  c = 0 
)

Definition at line 273 of file AliAnalysisTaskEmcal.cxx.

void AliAnalysisTaskEmcal::SetTrackPtCut ( Double_t  cut,
Int_t  c = 0 
)

Definition at line 255 of file AliAnalysisTaskEmcal.cxx.

void AliAnalysisTaskEmcal::SetTracksName ( const char *  n)
inline
void AliAnalysisTaskEmcal::SetTrigClass ( const char *  n)
inline

Definition at line 114 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetTriggerTypeSel ( TriggerType  t)
inline

Definition at line 115 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetUseAliAnaUtils ( Bool_t  b,
Bool_t  bRejPilup = kTRUE 
)
inline

Definition at line 116 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetUseNewCentralityEstimation ( Bool_t  b)
inline

Definition at line 120 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetUseSPDTrackletVsClusterBG ( Bool_t  b)
inline

Definition at line 118 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::SetVzRange ( Double_t  min,
Double_t  max 
)
inline

Definition at line 117 of file AliAnalysisTaskEmcal.h.

void AliAnalysisTaskEmcal::UserExec ( Option_t *  option)
protected

Definition at line 452 of file AliAnalysisTaskEmcal.cxx.

Bool_t AliAnalysisTaskEmcal::UserNotify ( )
protected

Definition at line 608 of file AliAnalysisTaskEmcal.cxx.

Member Data Documentation

AliAnalysisUtils* AliAnalysisTaskEmcal::fAliAnalysisUtils
protected

Generate Pythia info object.

!vertex selection (optional)

Definition at line 217 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected().

BeamType AliAnalysisTaskEmcal::fBeamType
protected

!event beam type

Definition at line 232 of file AliAnalysisTaskEmcal.h.

Referenced by RetrieveEventObjects().

TString AliAnalysisTaskEmcal::fCaloCellsName
protected

whether or not create histograms

Definition at line 179 of file AliAnalysisTaskEmcal.h.

Referenced by ExecOnce(), AliEmcalPatchFromCellMaker::Run(), AliEmcalTriggerMaker::Run(), and SetCaloCellsName().

TClonesArray* AliAnalysisTaskEmcal::fCaloClusters
protected
TString AliAnalysisTaskEmcal::fCaloTriggerPatchInfoName
protected

name of calo triggers collection

Definition at line 181 of file AliAnalysisTaskEmcal.h.

Referenced by ExecOnce(), and SetCaloTriggerPatchInfoName().

TString AliAnalysisTaskEmcal::fCaloTriggersName
protected

name of calo cell collection

Definition at line 180 of file AliAnalysisTaskEmcal.h.

Referenced by ExecOnce(), AliEmcalTriggerMaker::Run(), and SetCaloTriggersName().

TString AliAnalysisTaskEmcal::fCentEst
protected

maximum event plane value

Definition at line 201 of file AliAnalysisTaskEmcal.h.

Referenced by RetrieveEventObjects(), and SetCentralityEstimator().

TObjArray AliAnalysisTaskEmcal::fClusterCollArray
protected
EMCalTriggerMode_t AliAnalysisTaskEmcal::fEMCalTriggerMode
protected

list of fired triggers

Definition at line 212 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetEMCalTriggerMode().

Double_t AliAnalysisTaskEmcal::fEPV0
protected

!event plane V0

Definition at line 227 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), IsEventSelected(), and RetrieveEventObjects().

Double_t AliAnalysisTaskEmcal::fEPV0A
protected

!event plane V0A

Definition at line 228 of file AliAnalysisTaskEmcal.h.

Referenced by RetrieveEventObjects().

Double_t AliAnalysisTaskEmcal::fEPV0C
protected

!event plane V0C

Definition at line 229 of file AliAnalysisTaskEmcal.h.

Referenced by RetrieveEventObjects().

Double_t AliAnalysisTaskEmcal::fEventPlaneVsEmcal
protected

min pt track in emcal

Definition at line 198 of file AliAnalysisTaskEmcal.h.

Referenced by ExecOnce(), and SetEventPlaneVsEmcal().

Bool_t AliAnalysisTaskEmcal::fGeneralHistograms
protected
Bool_t AliAnalysisTaskEmcal::fGeneratePythiaInfoObject
protected

Use new centrality estimation (for 2015 data)

Definition at line 214 of file AliAnalysisTaskEmcal.h.

Referenced by RetrieveEventObjects(), and SetGeneratePythiaInfoObject().

Double_t AliAnalysisTaskEmcal::fgkEMCalDCalPhiDivide = 4.
staticprotected

Definition at line 171 of file AliAnalysisTaskEmcal.h.

TH1* AliAnalysisTaskEmcal::fHistCentrality
protected

!event centrality distribution

Definition at line 250 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().

TH1* AliAnalysisTaskEmcal::fHistEventCount
protected

!incoming and selected events

Definition at line 242 of file AliAnalysisTaskEmcal.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH1* AliAnalysisTaskEmcal::fHistEventPlane
protected

!event plane distribution

Definition at line 252 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().

TH1* AliAnalysisTaskEmcal::fHistEventRejection
protected

!book keep reasons for rejecting event

Definition at line 253 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and UserCreateOutputObjects().

TH1* AliAnalysisTaskEmcal::fHistEvents
protected

!total number of events per pt hard bin

Definition at line 247 of file AliAnalysisTaskEmcal.h.

Referenced by UserCreateOutputObjects(), and UserNotify().

TH1* AliAnalysisTaskEmcal::fHistEventsAfterSel
protected

!total number of events per pt hard bin after selection

Definition at line 244 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().

TH1* AliAnalysisTaskEmcal::fHistPtHard
protected

!pt hard distribution

Definition at line 249 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().

TH1* AliAnalysisTaskEmcal::fHistTrials
protected

!trials from pyxsec.root

Definition at line 246 of file AliAnalysisTaskEmcal.h.

Referenced by UserCreateOutputObjects(), and UserNotify().

TH1* AliAnalysisTaskEmcal::fHistTrialsAfterSel
protected

!total number of trials per pt hard bin after selection

Definition at line 243 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().

TH1* AliAnalysisTaskEmcal::fHistTriggerClasses
protected

!number of events in each trigger class

Definition at line 254 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().

TProfile* AliAnalysisTaskEmcal::fHistXsection
protected

!x section from pyxsec.root

Definition at line 248 of file AliAnalysisTaskEmcal.h.

Referenced by UserCreateOutputObjects(), and UserNotify().

TProfile* AliAnalysisTaskEmcal::fHistXsectionAfterSel
protected

!x section from pythia header

Definition at line 245 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().

TH1* AliAnalysisTaskEmcal::fHistZVertex
protected

!z vertex position

Definition at line 251 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskEmcal::fIsEmbedded
protected

name of V0 centrality estimator

Definition at line 202 of file AliAnalysisTaskEmcal.h.

Referenced by AliHadCorrTask::ApplyHadCorrAllTracks(), SetIsEmbedded(), and AliHadCorrTask::UserCreateOutputObjects().

Bool_t AliAnalysisTaskEmcal::fIsEsd
protected
Bool_t AliAnalysisTaskEmcal::fIsPythia
protected

trigger, embedded signal

Definition at line 203 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), RetrieveEventObjects(), SetIsPythia(), UserCreateOutputObjects(), and UserNotify().

Double_t AliAnalysisTaskEmcal::fMaxBinPt
protected
Double_t AliAnalysisTaskEmcal::fMaxCent
protected

min centrality for event selection

Definition at line 183 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), RetrieveEventObjects(), and SetCentRange().

Double_t AliAnalysisTaskEmcal::fMaxEventPlane
protected

minimum event plane value

Definition at line 200 of file AliAnalysisTaskEmcal.h.

Referenced by ExecOnce(), and IsEventSelected().

Double_t AliAnalysisTaskEmcal::fMaxVz
protected

min vertex for event selection

Definition at line 185 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetVzRange().

Int_t AliAnalysisTaskEmcal::fMCLabelShift
protected

minimum MC label value for the tracks/clusters being considered MC particles

Definition at line 206 of file AliAnalysisTaskEmcal.h.

Referenced by SetMCLabelShift().

Double_t AliAnalysisTaskEmcal::fMinBinPt
protected
Double_t AliAnalysisTaskEmcal::fMinCent
protected

trigger patch info array name

Definition at line 182 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), RetrieveEventObjects(), and SetCentRange().

Double_t AliAnalysisTaskEmcal::fMinEventPlane
protected

select events which have a certain event plane wrt the emcal

Definition at line 199 of file AliAnalysisTaskEmcal.h.

Referenced by ExecOnce(), and IsEventSelected().

Int_t AliAnalysisTaskEmcal::fMinMCLabel
protected

select one pt hard bin for analysis

Definition at line 205 of file AliAnalysisTaskEmcal.h.

Referenced by AliHadCorrTask::DoMatchedTracksLoop(), and SetMinMCLabel().

Int_t AliAnalysisTaskEmcal::fMinNTrack
protected

cut on track pt in event selection

Definition at line 187 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetMinNTrack().

Double_t AliAnalysisTaskEmcal::fMinPtTrackInEmcal
protected

max pt in histograms

Definition at line 197 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetMinPtTrackInEmcal().

Double_t AliAnalysisTaskEmcal::fMinVz
protected

max centrality for event selection

Definition at line 184 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetVzRange().

Int_t AliAnalysisTaskEmcal::fNbins
protected
Bool_t AliAnalysisTaskEmcal::fNeedEmcalGeom
protected

how many centrality bins

Definition at line 208 of file AliAnalysisTaskEmcal.h.

Referenced by ExecOnce(), and SetNeedEmcalGeom().

Int_t AliAnalysisTaskEmcal::fNTrials
protected

!event trials

Definition at line 236 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), and RetrieveEventObjects().

Int_t AliAnalysisTaskEmcal::fNVertCont
protected

!event vertex number of contributors

Definition at line 231 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and RetrieveEventObjects().

UInt_t AliAnalysisTaskEmcal::fOffTrigger
protected

Apply tracklet-vs-cluster SPD cut to reject background events in pp.

Definition at line 191 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetOffTrigger().

Double_t AliAnalysisTaskEmcal::fPtHard
protected

!event pt hard

Definition at line 234 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), and RetrieveEventObjects().

Int_t AliAnalysisTaskEmcal::fPtHardBin
protected

!event pt hard bin

Definition at line 235 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), IsEventSelected(), and RetrieveEventObjects().

AliGenPythiaEventHeader* AliAnalysisTaskEmcal::fPythiaHeader
protected

!event Pythia header

Definition at line 233 of file AliAnalysisTaskEmcal.h.

Referenced by RetrieveEventObjects().

AliEmcalPythiaInfo* AliAnalysisTaskEmcal::fPythiaInfo
protected

!event parton info

Definition at line 238 of file AliAnalysisTaskEmcal.h.

Referenced by GeneratePythiaInfoObject(), GetPythiaInfo(), and LoadPythiaInfo().

TString AliAnalysisTaskEmcal::fPythiaInfoName
protected

phi value used to distinguish between DCal and EMCal

Definition at line 174 of file AliAnalysisTaskEmcal.h.

Referenced by GetPythiaInfoName(), LoadPythiaInfo(), and SetPythiaInfoName().

Bool_t AliAnalysisTaskEmcal::fRejectPileup
protected

used for LHC13* data: z-vtx, Ncontributors, z-vtx resolution cuts

Definition at line 189 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetUseAliAnaUtils().

Int_t AliAnalysisTaskEmcal::fSelectPtHardBin
protected

trigger, if it is a PYTHIA production

Definition at line 204 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected().

Bool_t AliAnalysisTaskEmcal::fTklVsClusSPDCut
protected

Reject pilup using function AliAnalysisUtils::IsPileUpEvent()

Definition at line 190 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetUseSPDTrackletVsClusterBG().

Double_t AliAnalysisTaskEmcal::fTrackPtCut
protected

max vertex for event selection

Definition at line 186 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetTrackPtCut().

TClonesArray* AliAnalysisTaskEmcal::fTracks
protected
TString AliAnalysisTaskEmcal::fTrigClass
protected

offline trigger for event selection

Definition at line 192 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetTrigClass().

ULong_t AliAnalysisTaskEmcal::fTriggers
protected

cluster collection array

Definition at line 211 of file AliAnalysisTaskEmcal.h.

Referenced by HasTriggerType(), and RetrieveEventObjects().

TriggerType AliAnalysisTaskEmcal::fTriggerTypeSel
protected

trigger class name for event selection

Definition at line 193 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetTriggerTypeSel().

Bool_t AliAnalysisTaskEmcal::fUseAliAnaUtils
protected

minimum nr of tracks in event with pT>fTrackPtCut

Definition at line 188 of file AliAnalysisTaskEmcal.h.

Referenced by IsEventSelected(), and SetUseAliAnaUtils().

Bool_t AliAnalysisTaskEmcal::fUseNewCentralityEstimation
protected

EMCal trigger selection mode.

Definition at line 213 of file AliAnalysisTaskEmcal.h.

Referenced by RetrieveEventObjects(), and SetUseNewCentralityEstimation().

Float_t AliAnalysisTaskEmcal::fXsection
protected

!x-section from pythia header

Definition at line 237 of file AliAnalysisTaskEmcal.h.

Referenced by FillGeneralHistograms(), and RetrieveEventObjects().


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