AliPhysics  6bc8652 (6bc8652)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalJetShapesMC Class Reference

Task to store and correlate the MC shapes. More...

#include <AliAnalysisTaskEmcalJetShapesMC.h>

Inheritance diagram for AliAnalysisTaskEmcalJetShapesMC:

Public Types

enum  JetShapeType { kGenShapes = 0 }
 
enum  JetShapeSub { kNoSub = 0, kConstSub = 1, kDerivSub = 2 }
 
enum  JetSelectionType { kInclusive = 0, kRecoil = 1 }
 
enum  DerivSubtrOrder { kSecondOrder = 0, kFirstOrder = 1 }
 
- Public Types inherited from AliAnalysisTaskEmcalJet
typedef AliJetContainer::EJetType_t EJetType_t
 
typedef AliJetContainer::EJetAlgo_t EJetAlgo_t
 
typedef
AliJetContainer::ERecoScheme_t 
ERecoScheme_t
 
- Public Types inherited from AliAnalysisTaskEmcal
enum  EDataType_t { kUnknownDataType, kESD, kAOD }
 Switch for the data type. More...
 
enum  BeamType { kNA = -1, kpp = 0, kAA = 1, kpA = 2 }
 Switch for the beam type. More...
 
enum  TriggerType {
  kND = -1, kJ1 = 0, kJ2 = 1, kG1 = 2,
  kG2 = 3, kL0 = 4
}
 Switch for EMCAL trigger types. More...
 
enum  TriggerCategory {
  kTriggerLevel0 = 0, kTriggerLevel1Jet = 1, kTriggerLevel1Gamma = 2, kTriggerRecalcJet = 3,
  kTriggerRecalcGamma = 4
}
 Online trigger categories. More...
 
enum  EMCalTriggerMode_t { kNoSpecialTreatment, kOverlapWithLowThreshold }
 Handling of the EMCAL trigger thresholds. More...
 

Public Member Functions

 AliAnalysisTaskEmcalJetShapesMC ()
 
 AliAnalysisTaskEmcalJetShapesMC (const char *name)
 
virtual ~AliAnalysisTaskEmcalJetShapesMC ()
 
void UserCreateOutputObjects ()
 
void Terminate (Option_t *option)
 
void SetJetContainer (Int_t c)
 
void SetMinFractionShared (Double_t f)
 
void SetJetShapeType (JetShapeType t)
 
void SetJetShapeSub (JetShapeSub t)
 
void SetJetSelection (JetSelectionType t)
 
void SetJetPtThreshold (Float_t f)
 
void SetRMatching (Float_t f)
 
void SetJetRadius (Float_t f)
 
void SetSubjetRadius (Float_t f)
 
void SetSelectShapes (Int_t c)
 
void SetPtTriggerSelections (Float_t minpT, Float_t maxpT)
 
void SetAngularWindowRecoilJet (Float_t t)
 
Float_t GetMinPtTriggerSelection ()
 
Float_t GetMaxPtTriggerSelection ()
 
void SetCentralitySelectionOn (Bool_t t)
 
void SetOneConstSelectionOn (Bool_t t)
 
void SetMinCentrality (Float_t t)
 
void SetMaxCentrality (Float_t t)
 
void SetSemigoodCorrect (Int_t yesno)
 
void SetHolePos (Float_t poshole)
 
void SetHoleWidth (Float_t holewidth)
 
void SetDerivativeSubtractionOrder (Int_t c)
 
- Public Member Functions inherited from AliAnalysisTaskEmcalJet
 AliAnalysisTaskEmcalJet ()
 
 AliAnalysisTaskEmcalJet (const char *name, Bool_t histo=kFALSE)
 
virtual ~AliAnalysisTaskEmcalJet ()
 
void SetAnaType (UInt_t t, Int_t c=0)
 
void SetJetAcceptanceType (UInt_t t, Int_t c=0)
 
void SetJetAcceptanceType (TString cutType, Int_t c=0)
 
void SetJetEtaLimits (Float_t min, Float_t max, Int_t c=0)
 
void SetJetPhiLimits (Float_t min, Float_t max, Int_t c=0)
 
void SetJetAreaCut (Float_t cut, Int_t c=0)
 
void SetPercAreaCut (Float_t p, Int_t c=0)
 
void SetZLeadingCut (Float_t zemc, Float_t zch, Int_t c=0)
 
void SetNEFCut (Float_t min, Float_t max, Int_t c=0)
 
void SetAreaEmcCut (Double_t a=0.99, Int_t c=0)
 
void SetJetPtCut (Float_t cut, Int_t c=0)
 
void SetJetRadius (Float_t r, Int_t c=0)
 
void SetMaxClusterPt (Float_t b, Int_t c=0)
 
void SetMaxTrackPt (Float_t b, Int_t c=0)
 
void SetPtBiasJetClus (Float_t b, Int_t c=0)
 
void SetPtBiasJetTrack (Float_t b, Int_t c=0)
 
void SetLeadingHadronType (Int_t t, Int_t c=0)
 
void SetNLeadingJets (Int_t t, Int_t c=0)
 
void SetJetBitMap (UInt_t m, Int_t c=0)
 
void SetJetTrigger (UInt_t t, Int_t c=0)
 
void SetIsParticleLevel (Bool_t b, Int_t c=0)
 
virtual void SetRhoName (const char *n, Int_t c=0)
 
virtual void SetLocalRhoName (const char *n)
 
const TStringGetRhoName (Int_t c=0) const
 
AliJetContainerAddJetContainer (const char *n, TString defaultCutType, Float_t jetRadius=0.4)
 
AliJetContainerAddJetContainer (const char *n, UInt_t accType=AliEmcalJet::kUser, Float_t jetRadius=0.4)
 
AliJetContainerAddJetContainer (EJetType_t jetType, EJetAlgo_t jetAlgo, ERecoScheme_t recoScheme, Double_t radius, UInt_t accType, AliParticleContainer *partCont, AliClusterContainer *clusCont, TString tag="Jet")
 
AliJetContainerAddJetContainer (EJetType_t jetType, EJetAlgo_t jetAlgo, ERecoScheme_t recoScheme, Double_t radius, UInt_t accType, TString tag="Jet")
 
void AdoptJetContainer (AliJetContainer *cont)
 
void RemoveJetContainer (Int_t i)
 
AliJetContainerGetJetContainer (Int_t i=0) const
 
AliJetContainerGetJetContainer (const char *name) const
 
- Public Member Functions inherited from AliAnalysisTaskEmcal
 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 AdoptTrackContainer (AliTrackContainer *cont)
 
void AdoptMCParticleContainer (AliMCParticleContainer *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 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 SetZvertexDiffValue (Double_t cut)
 
void SetMinPtTrackInEmcal (Double_t min)
 
virtual void SetNCentBins (Int_t n)
 
void SetNeedEmcalGeom (Bool_t n)
 
void SetCountDownscaleCorrectedEvents (Bool_t d)
 
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 SetTrigClass (const char *n)
 
void SetMinBiasTriggerClassName (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 TStringGetPythiaInfoName () const
 
const AliEmcalPythiaInfoGetPythiaInfo () const
 
void SetUsePtHardBinScaling (Bool_t b)
 
void SetMCFilter ()
 
void ResetMCFilter ()
 
void SetJetPtFactor (Float_t f)
 
Float_t JetPtFactor ()
 
void SetClusterPtFactor (Float_t f)
 
Float_t ClusterPtFactor ()
 
void SetTrackPtFactor (Float_t f)
 
Float_t TrackPtFactor ()
 

Protected Member Functions

Bool_t RetrieveEventObjects ()
 
Bool_t Run ()
 
Bool_t FillHistograms ()
 
Float_t GetJetMass (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t Angularity (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t GetJetAngularity (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t PTD (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t GetJetpTD (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t Circularity (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t GetJetCircularity (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t LeSub (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t GetJetLeSub (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t GetJetNumberOfConstituents (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t GetSigma2 (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t Sigma2 (AliEmcalJet *jet, Int_t jetContNb=0)
 
void NTValues (AliEmcalJet *jet, Int_t jetContNb, Float_t *nTFractions)
 
AliEmcalJetFinderRecluster (AliEmcalJet *Jet, Int_t JetContNb, Double_t JetRadius, Double_t SubJetRadius, Double_t SubJetMinPt, Int_t Algorithm, const char *Name)
 
Double_t SubJetOrdering (AliEmcalJet *Jet, AliEmcalJetFinder *Reclusterer, Int_t N, Int_t Type, Bool_t Index)
 
Double_t GetSubjetFraction (AliEmcalJet *Jet, Int_t JetContNb, Double_t JetRadius, AliEmcalJetFinder *Reclusterer)
 
Float_t CoreFrac (AliEmcalJet *jet, Int_t jetContNb=0)
 
Float_t GetJetCoreFrac (AliEmcalJet *jet, Int_t jetContNb=0)
 
Double_t fjNSubJettiness (AliEmcalJet *Jet, Int_t JetContNb, Int_t N, Int_t Algorithm, Double_t Beta, Int_t Option)
 
Int_t SelectTrigger (Float_t minpT, Float_t maxpT)
 
Double_t RelativePhi (Double_t mphi, Double_t vphi)
 
- Protected Member Functions inherited from AliAnalysisTaskEmcalJet
virtual Bool_t AcceptJet (AliEmcalJet *jet, Int_t c=0)
 
Double_t GetLeadingHadronPt (AliEmcalJet *jet, Int_t c=0)
 
void ExecOnce ()
 
AliRhoParameterGetRhoFromEvent (const char *name)
 
AliLocalRhoParameterGetLocalRhoFromEvent (const char *name)
 
Bool_t IsJetTrack (AliEmcalJet *jet, Int_t itrack, Bool_t sorted=kFALSE) const
 
Bool_t IsJetCluster (AliEmcalJet *jet, Int_t iclus, Bool_t sorted=kFALSE) const
 
Bool_t RetrieveEventObjects ()
 
Double_t GetJetRadius (Int_t i=0) const
 
TClonesArray * GetJetArray (Int_t i=0) const
 
AliEmcalJetGetJetFromArray (Int_t j, Int_t c=0) const
 
AliEmcalJetGetAcceptJetFromArray (Int_t j, Int_t c=0) const
 
Int_t GetNJets (Int_t i=0) const
 
Double_t GetRhoVal (Int_t i=0) const
 
- Protected Member Functions inherited from AliAnalysisTaskEmcal
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)
 
Bool_t CheckMCOutliers ()
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *option)
 
Bool_t UserNotify ()
 
virtual Bool_t FillGeneralHistograms ()
 
virtual Bool_t IsEventSelected ()
 
virtual void RunChanged (Int_t)
 
virtual void UserExecOnce ()
 

Protected Attributes

Int_t fContainer
 
Float_t fMinFractionShared
 
JetShapeType fJetShapeType
 
JetShapeSub fJetShapeSub
 
JetSelectionType fJetSelection
 
Float_t fShapesVar [23]
 
Float_t fPtThreshold
 
Float_t fRMatching
 
Float_t fJetRadius
 
Float_t fSubjetRadius
 
Int_t fSelectedShapes
 
Float_t fminpTTrig
 
Float_t fmaxpTTrig
 
Float_t fangWindowRecoil
 
Int_t fSemigoodCorrect
 
Float_t fHolePos
 
Float_t fHoleWidth
 
Bool_t fCentSelectOn
 
Float_t fCentMin
 
Float_t fCentMax
 
Bool_t fOneConstSelectOn
 
Int_t fDerivSubtrOrder
 
TH2FfPhiJetCorr6
 
TH2FfPhiJetCorr7
 
TH2FfEtaJetCorr6
 
TH2FfEtaJetCorr7
 
TH2FfPtJetCorr
 
TH1F * fPtJet
 
TH2FfhpTjetpT
 
TH1F * fhPt
 
TH1F * fhPhi
 
TH2FfNbOfConstvspT
 
TTreefTreeObservableTagging
 ! Tree with tagging variables subtracted MC or true MC or raw More...
 
- Protected Attributes inherited from AliAnalysisTaskEmcalJet
TString fRhoName
 rho name More...
 
TString fLocalRhoName
 name for local rho More...
 
TObjArray fJetCollArray
 jet collection array More...
 
TClonesArray * fJets
 ! jets More...
 
AliRhoParameterfRho
 ! event rho More...
 
AliLocalRhoParameterfLocalRho
 ! local event rho More...
 
Double_t fRhoVal
 ! event rho value, same for local rho More...
 
- Protected Attributes inherited from AliAnalysisTaskEmcal
TString fPythiaInfoName
 name of pythia info object More...
 
BeamType fForceBeamType
 forced beam type More...
 
Bool_t fGeneralHistograms
 whether or not it should fill some general histograms More...
 
Bool_t fLocalInitialized
 whether or not the task has been already initialized More...
 
Bool_t fCreateHisto
 whether or not create histograms 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...
 
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 fTrackPtCut
 cut on track pt in event selection More...
 
Int_t fMinNTrack
 minimum nr of tracks in event with pT>fTrackPtCut More...
 
Double_t fZvertexDiff
 upper limit for distance between primary and SPD vertex More...
 
Bool_t fUseAliAnaUtils
 used for LHC13* data: z-vtx, Ncontributors, z-vtx resolution cuts More...
 
Bool_t fRejectPileup
 Reject pilup using function AliAnalysisUtils::IsPileUpEvent() More...
 
Bool_t fTklVsClusSPDCut
 Apply tracklet-vs-cluster SPD cut to reject background events in pp. More...
 
UInt_t fOffTrigger
 offline trigger for event selection More...
 
TString fTrigClass
 trigger class name for event selection More...
 
TString fMinBiasRefTrigger
 Name of the minmum bias reference trigger, used in the calculation of downscale-corrected event numbers. More...
 
TriggerType fTriggerTypeSel
 trigger type to select based on trigger patches More...
 
Int_t fNbins
 no. of pt bins More...
 
Double_t fMinBinPt
 min pt in histograms More...
 
Double_t fMaxBinPt
 max pt in histograms More...
 
Double_t fMinPtTrackInEmcal
 min pt track in emcal More...
 
Double_t fEventPlaneVsEmcal
 select events which have a certain event plane wrt the emcal More...
 
Double_t fMinEventPlane
 minimum event plane value More...
 
Double_t fMaxEventPlane
 maximum event plane value More...
 
TString fCentEst
 name of V0 centrality estimator More...
 
Bool_t fIsEmbedded
 trigger, embedded signal More...
 
Bool_t fIsPythia
 trigger, if it is a PYTHIA production More...
 
Int_t fSelectPtHardBin
 select one pt hard bin for analysis More...
 
Int_t fMinMCLabel
 minimum MC label value for the tracks/clusters being considered MC particles More...
 
Int_t fMCLabelShift
 if MC label > fMCLabelShift, MC label -= fMCLabelShift More...
 
Int_t fNcentBins
 how many centrality bins More...
 
Bool_t fNeedEmcalGeom
 whether or not the task needs the emcal geometry More...
 
TObjArray fParticleCollArray
 particle/track collection array More...
 
TObjArray fClusterCollArray
 cluster collection array More...
 
ULong_t fTriggers
 list of fired triggers More...
 
EMCalTriggerMode_t fEMCalTriggerMode
 EMCal trigger selection mode. More...
 
Bool_t fUseNewCentralityEstimation
 Use new centrality estimation (for 2015 data) More...
 
Bool_t fGeneratePythiaInfoObject
 Generate Pythia info object. More...
 
Bool_t fUsePtHardBinScaling
 Use pt hard bin scaling in merging. More...
 
Bool_t fMCRejectFilter
 enable the filtering of events by tail rejection More...
 
Bool_t fCountDownscaleCorrectedEvents
 Count event number corrected for downscaling. 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...
 
Int_t fRunNumber
 !run number (triggering RunChanged() More...
 
AliAnalysisUtils * fAliAnalysisUtils
 !vertex selection (optional) 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...
 
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...
 
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...
 
AliEmcalListfOutput
 !output list More...
 
TH1fHistEventCount
 !incoming and selected events More...
 
TH1fHistTrialsAfterSel
 !total number of trials per pt hard bin after selection More...
 
TH1fHistEventsAfterSel
 !total number of events per pt hard bin after selection More...
 
TProfile * fHistXsectionAfterSel
 !x section from pythia header More...
 
TH1fHistTrials
 !trials from pyxsec.root More...
 
TH1fHistEvents
 !total number of events per pt hard bin More...
 
TProfile * fHistXsection
 !x section from pyxsec.root More...
 
TH1fHistPtHard
 !pt hard distribution More...
 
TH1fHistCentrality
 !event centrality distribution More...
 
TH1fHistZVertex
 !z vertex position More...
 
TH1fHistEventPlane
 !event plane distribution More...
 
TH1fHistEventRejection
 !book keep reasons for rejecting event More...
 
TH1fHistTriggerClasses
 !number of events in each trigger class More...
 
TH1fHistTriggerClassesCorr
 !corrected number of events in each trigger class More...
 

Private Member Functions

 AliAnalysisTaskEmcalJetShapesMC (const AliAnalysisTaskEmcalJetShapesMC &)
 
AliAnalysisTaskEmcalJetShapesMCoperator= (const AliAnalysisTaskEmcalJetShapesMC &)
 
 ClassDef (AliAnalysisTaskEmcalJetShapesMC, 2)
 

Additional Inherited Members

- Static Protected Member Functions inherited from AliAnalysisTaskEmcal
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_tGenerateFixedBinArray (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 AliESDInputHandler * AddESDHandler ()
 
- Static Protected Attributes inherited from AliAnalysisTaskEmcal
static Double_t fgkEMCalDCalPhiDivide = 4.
 phi value used to distinguish between DCal and EMCal More...
 

Detailed Description

Task to store and correlate the MC shapes.

Task to store in a tree a certain number of jet shapes at generated level. This can be used both for MC studies and as input for TMVA analysis. No subtraction is implemented for the moment even the fglag are in place.

Author
Alice Davide Caffarri david.nosp@m.e.ca.nosp@m.ffarr.nosp@m.i@ce.nosp@m.rn.ch, CERN
Alice Leticia Cunqueiro Mendez letic.nosp@m.ia.c.nosp@m.unque.nosp@m.iro..nosp@m.mende.nosp@m.z@ce.nosp@m.rn.ch, Westfaelische Wilhelms-Universitaet Muenster (DE)
Date
Apr 21, 2016

Definition at line 31 of file AliAnalysisTaskEmcalJetShapesMC.h.

Member Enumeration Documentation

Enumerator
kSecondOrder 
kFirstOrder 

Definition at line 47 of file AliAnalysisTaskEmcalJetShapesMC.h.

Enumerator
kInclusive 
kRecoil 

Definition at line 42 of file AliAnalysisTaskEmcalJetShapesMC.h.

Enumerator
kNoSub 
kConstSub 
kDerivSub 

Definition at line 37 of file AliAnalysisTaskEmcalJetShapesMC.h.

Enumerator
kGenShapes 

Definition at line 34 of file AliAnalysisTaskEmcalJetShapesMC.h.

Constructor & Destructor Documentation

AliAnalysisTaskEmcalJetShapesMC::AliAnalysisTaskEmcalJetShapesMC ( )
AliAnalysisTaskEmcalJetShapesMC::AliAnalysisTaskEmcalJetShapesMC ( const char *  name)

Definition at line 93 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

AliAnalysisTaskEmcalJetShapesMC::~AliAnalysisTaskEmcalJetShapesMC ( )
virtual

Definition at line 142 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

AliAnalysisTaskEmcalJetShapesMC::AliAnalysisTaskEmcalJetShapesMC ( const AliAnalysisTaskEmcalJetShapesMC )
private

Member Function Documentation

Float_t AliAnalysisTaskEmcalJetShapesMC::Angularity ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 409 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by GetJetAngularity().

Float_t AliAnalysisTaskEmcalJetShapesMC::Circularity ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 481 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by GetJetCircularity().

AliAnalysisTaskEmcalJetShapesMC::ClassDef ( AliAnalysisTaskEmcalJetShapesMC  ,
 
)
private
Float_t AliAnalysisTaskEmcalJetShapesMC::CoreFrac ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 717 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by GetJetCoreFrac().

Bool_t AliAnalysisTaskEmcalJetShapesMC::FillHistograms ( )
protectedvirtual

This function optionally fills histograms created by the users. Can access data previously handled by the user Run function.

Returns

Reimplemented from AliAnalysisTaskEmcal.

Definition at line 248 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Double_t AliAnalysisTaskEmcalJetShapesMC::fjNSubJettiness ( AliEmcalJet Jet,
Int_t  JetContNb,
Int_t  N,
Int_t  Algorithm,
Double_t  Beta,
Int_t  Option 
)
protected

Definition at line 925 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

Float_t AliAnalysisTaskEmcalJetShapesMC::GetJetAngularity ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 435 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

Float_t AliAnalysisTaskEmcalJetShapesMC::GetJetCircularity ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 564 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

Float_t AliAnalysisTaskEmcalJetShapesMC::GetJetCoreFrac ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 746 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

Float_t AliAnalysisTaskEmcalJetShapesMC::GetJetLeSub ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 613 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

Float_t AliAnalysisTaskEmcalJetShapesMC::GetJetMass ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 399 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

Float_t AliAnalysisTaskEmcalJetShapesMC::GetJetNumberOfConstituents ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 625 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

Float_t AliAnalysisTaskEmcalJetShapesMC::GetJetpTD ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 470 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

Float_t AliAnalysisTaskEmcalJetShapesMC::GetMaxPtTriggerSelection ( )
inline

Definition at line 73 of file AliAnalysisTaskEmcalJetShapesMC.h.

Float_t AliAnalysisTaskEmcalJetShapesMC::GetMinPtTriggerSelection ( )
inline

Definition at line 72 of file AliAnalysisTaskEmcalJetShapesMC.h.

Float_t AliAnalysisTaskEmcalJetShapesMC::GetSigma2 ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 867 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Double_t AliAnalysisTaskEmcalJetShapesMC::GetSubjetFraction ( AliEmcalJet Jet,
Int_t  JetContNb,
Double_t  JetRadius,
AliEmcalJetFinder Reclusterer 
)
protected

Definition at line 698 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

Float_t AliAnalysisTaskEmcalJetShapesMC::LeSub ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 576 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by GetJetLeSub().

void AliAnalysisTaskEmcalJetShapesMC::NTValues ( AliEmcalJet jet,
Int_t  jetContNb,
Float_t nTFractions 
)
protected

Definition at line 880 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

AliAnalysisTaskEmcalJetShapesMC& AliAnalysisTaskEmcalJetShapesMC::operator= ( const AliAnalysisTaskEmcalJetShapesMC )
private
Float_t AliAnalysisTaskEmcalJetShapesMC::PTD ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 447 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by GetJetpTD().

AliEmcalJetFinder * AliAnalysisTaskEmcalJetShapesMC::Recluster ( AliEmcalJet Jet,
Int_t  JetContNb,
Double_t  JetRadius,
Double_t  SubJetRadius,
Double_t  SubJetMinPt,
Int_t  Algorithm,
const char *  Name 
)
protected

Definition at line 638 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

Double_t AliAnalysisTaskEmcalJetShapesMC::RelativePhi ( Double_t  mphi,
Double_t  vphi 
)
protected

Definition at line 1026 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by Angularity(), CoreFrac(), FillHistograms(), and Sigma2().

Bool_t AliAnalysisTaskEmcalJetShapesMC::RetrieveEventObjects ( )
protectedvirtual

Retrieve objects from event.

Returns

Reimplemented from AliAnalysisTaskEmcal.

Definition at line 1040 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Bool_t AliAnalysisTaskEmcalJetShapesMC::Run ( )
protectedvirtual

Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.

Returns
True if event is selected, false otherwise

Reimplemented from AliAnalysisTaskEmcal.

Definition at line 240 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Int_t AliAnalysisTaskEmcalJetShapesMC::SelectTrigger ( Float_t  minpT,
Float_t  maxpT 
)
protected

Definition at line 968 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by FillHistograms().

void AliAnalysisTaskEmcalJetShapesMC::SetAngularWindowRecoilJet ( Float_t  t)
inline

Definition at line 71 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetCentralitySelectionOn ( Bool_t  t)
inline

Definition at line 74 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetDerivativeSubtractionOrder ( Int_t  c)
inline

Definition at line 81 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetHolePos ( Float_t  poshole)
inline

Definition at line 79 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetHoleWidth ( Float_t  holewidth)
inline

Definition at line 80 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetJetContainer ( Int_t  c)
inline

Definition at line 60 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetJetPtThreshold ( Float_t  f)
inline

Definition at line 65 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetJetRadius ( Float_t  f)
inline

Definition at line 67 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetJetSelection ( JetSelectionType  t)
inline

Definition at line 64 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetJetShapeSub ( JetShapeSub  t)
inline

Definition at line 63 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetJetShapeType ( JetShapeType  t)
inline

Definition at line 62 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetMaxCentrality ( Float_t  t)
inline

Definition at line 77 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetMinCentrality ( Float_t  t)
inline

Definition at line 76 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetMinFractionShared ( Double_t  f)
inline

Definition at line 61 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetOneConstSelectionOn ( Bool_t  t)
inline

Definition at line 75 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetPtTriggerSelections ( Float_t  minpT,
Float_t  maxpT 
)
inline

Definition at line 70 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetRMatching ( Float_t  f)
inline

Definition at line 66 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetSelectShapes ( Int_t  c)
inline

Definition at line 69 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetSemigoodCorrect ( Int_t  yesno)
inline

Definition at line 78 of file AliAnalysisTaskEmcalJetShapesMC.h.

void AliAnalysisTaskEmcalJetShapesMC::SetSubjetRadius ( Float_t  f)
inline

Definition at line 68 of file AliAnalysisTaskEmcalJetShapesMC.h.

Float_t AliAnalysisTaskEmcalJetShapesMC::Sigma2 ( AliEmcalJet jet,
Int_t  jetContNb = 0 
)
protected

Definition at line 806 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by GetSigma2().

Double_t AliAnalysisTaskEmcalJetShapesMC::SubJetOrdering ( AliEmcalJet Jet,
AliEmcalJetFinder Reclusterer,
Int_t  N,
Int_t  Type,
Bool_t  Index 
)
protected

Definition at line 761 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Referenced by GetSubjetFraction().

void AliAnalysisTaskEmcalJetShapesMC::Terminate ( Option_t option)

Definition at line 1051 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

void AliAnalysisTaskEmcalJetShapesMC::UserCreateOutputObjects ( )

Definition at line 152 of file AliAnalysisTaskEmcalJetShapesMC.cxx.

Member Data Documentation

Float_t AliAnalysisTaskEmcalJetShapesMC::fangWindowRecoil
protected

Definition at line 134 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and SetAngularWindowRecoilJet().

Float_t AliAnalysisTaskEmcalJetShapesMC::fCentMax
protected

Definition at line 140 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and SetMaxCentrality().

Float_t AliAnalysisTaskEmcalJetShapesMC::fCentMin
protected

Definition at line 139 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and SetMinCentrality().

Bool_t AliAnalysisTaskEmcalJetShapesMC::fCentSelectOn
protected

Definition at line 138 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and SetCentralitySelectionOn().

Int_t AliAnalysisTaskEmcalJetShapesMC::fContainer
protected

Definition at line 121 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by SetJetContainer().

TH2F* AliAnalysisTaskEmcalJetShapesMC::fEtaJetCorr6
protected

Definition at line 147 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskEmcalJetShapesMC::fEtaJetCorr7
protected

Definition at line 148 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and UserCreateOutputObjects().

Float_t AliAnalysisTaskEmcalJetShapesMC::fHolePos
protected

Definition at line 136 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and SetHolePos().

Float_t AliAnalysisTaskEmcalJetShapesMC::fHoleWidth
protected

Definition at line 137 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and SetHoleWidth().

TH1F* AliAnalysisTaskEmcalJetShapesMC::fhPhi
protected

Definition at line 153 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and UserCreateOutputObjects().

TH1F* AliAnalysisTaskEmcalJetShapesMC::fhPt
protected

Definition at line 152 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskEmcalJetShapesMC::fhpTjetpT
protected

Definition at line 151 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and UserCreateOutputObjects().

Float_t AliAnalysisTaskEmcalJetShapesMC::fJetRadius
protected
JetSelectionType AliAnalysisTaskEmcalJetShapesMC::fJetSelection
protected

Definition at line 125 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and SetJetSelection().

JetShapeType AliAnalysisTaskEmcalJetShapesMC::fJetShapeType
protected

Definition at line 123 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and SetJetShapeType().

Float_t AliAnalysisTaskEmcalJetShapesMC::fmaxpTTrig
protected
Float_t AliAnalysisTaskEmcalJetShapesMC::fMinFractionShared
protected

Definition at line 122 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by SetMinFractionShared().

Float_t AliAnalysisTaskEmcalJetShapesMC::fminpTTrig
protected
TH2F* AliAnalysisTaskEmcalJetShapesMC::fNbOfConstvspT
protected

Definition at line 154 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by UserCreateOutputObjects().

Bool_t AliAnalysisTaskEmcalJetShapesMC::fOneConstSelectOn
protected

Definition at line 141 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by SetOneConstSelectionOn().

TH2F* AliAnalysisTaskEmcalJetShapesMC::fPhiJetCorr6
protected

Definition at line 145 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskEmcalJetShapesMC::fPhiJetCorr7
protected

Definition at line 146 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and UserCreateOutputObjects().

TH1F* AliAnalysisTaskEmcalJetShapesMC::fPtJet
protected

Definition at line 150 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and UserCreateOutputObjects().

TH2F* AliAnalysisTaskEmcalJetShapesMC::fPtJetCorr
protected

Definition at line 149 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and UserCreateOutputObjects().

Float_t AliAnalysisTaskEmcalJetShapesMC::fPtThreshold
protected

Definition at line 127 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and SetJetPtThreshold().

Float_t AliAnalysisTaskEmcalJetShapesMC::fRMatching
protected

Definition at line 128 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and SetRMatching().

Int_t AliAnalysisTaskEmcalJetShapesMC::fSelectedShapes
protected

Definition at line 131 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by SetSelectShapes().

Int_t AliAnalysisTaskEmcalJetShapesMC::fSemigoodCorrect
protected

Definition at line 135 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), and SetSemigoodCorrect().

Float_t AliAnalysisTaskEmcalJetShapesMC::fShapesVar[23]
protected
Float_t AliAnalysisTaskEmcalJetShapesMC::fSubjetRadius
protected
TTree* AliAnalysisTaskEmcalJetShapesMC::fTreeObservableTagging
protected

! Tree with tagging variables subtracted MC or true MC or raw

Definition at line 156 of file AliAnalysisTaskEmcalJetShapesMC.h.

Referenced by FillHistograms(), Terminate(), UserCreateOutputObjects(), and ~AliAnalysisTaskEmcalJetShapesMC().


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