AliPhysics  7c37cfa (7c37cfa)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskDmesonJets Class Reference

Analysis task for D meson jets. More...

#include <AliAnalysisTaskDmesonJets.h>

Inheritance diagram for AliAnalysisTaskDmesonJets:

Classes

class  AliD0InfoSummary
 Lightweight class that encapsulates D0. More...
 
class  AliDmesonInfoSummary
 Lightweight class that encapsulates D meson jets. More...
 
class  AliDmesonJetInfo
 
class  AliDmesonMCInfoSummary
 
class  AliDStarInfoSummary
 Lightweight class that encapsulates D*. More...
 
class  AliHFJetDefinition
 
class  AliJetInfo
 Class that encapsulates jets. More...
 
class  AliJetInfoPbPbSummary
 Lightweight class that encapsulates D meson jets for PbPb analysis. More...
 
class  AliJetInfoSummary
 Lightweight class that encapsulates D meson jets. More...
 
class  AnalysisEngine
 Struct that encapsulates analysis parameters. More...
 

Public Types

enum  EOutputType_t { kNoOutput, kTreeOutput, kTHnOutput }
 
enum  ECandidateType_t { kD0toKpi, kDstartoKpipi, kD0toKpiLikeSign }
 
enum  EMCMode_t {
  kNoMC, kSignalOnly, kBackgroundOnly, kMCTruth,
  kWrongPID
}
 
enum  EMesonOrigin_t {
  kUnknownQuark = BIT(0), kFromDown = BIT(1), kFromUp = BIT(2), kFromStrange = BIT(3),
  kFromCharm = BIT(4), kFromBottom = BIT(5), kFromTop = BIT(6), kFromGluon = BIT(7),
  kAnyOrigin = kUnknownQuark | kFromDown | kFromUp | kFromStrange | kFromCharm | kFromBottom | kFromTop | kFromGluon
}
 
enum  EMesonDecayChannel_t { kAnyDecay = 0, kUnknownDecay = BIT(0), kDecayD0toKpi = BIT(1), kDecayDStartoKpipi = BIT(2) }
 
enum  EAxis_t {
  kPositionD = BIT(0), kInvMass = BIT(1), k2ProngInvMass = BIT(2), kSoftPionPt = BIT(3),
  kDeltaR = BIT(4), kDeltaEta = BIT(5), kDeltaPhi = BIT(6), kPositionJet = BIT(7),
  kJetConstituents = BIT(8)
}
 
typedef AliJetContainer::EJetType_t EJetType_t
 
typedef AliJetContainer::EJetAlgo_t EJetAlgo_t
 
typedef
AliJetContainer::ERecoScheme_t 
ERecoScheme_t
 
- Public Types inherited from AliAnalysisTaskEmcalLight
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...
 

Public Member Functions

 AliAnalysisTaskDmesonJets ()
 This is the default constructor, used for ROOT I/O purposes. More...
 
 AliAnalysisTaskDmesonJets (const char *name, Int_t nOutputTrees=2)
 
virtual ~AliAnalysisTaskDmesonJets ()
 This is the standard destructor. More...
 
AnalysisEngineAddAnalysisEngine (ECandidateType_t type, TString cutfname, EMCMode_t bkgMode, EJetType_t jettype, Double_t jetradius, TString rhoName="")
 
AnalysisEngineAddAnalysisEngine (ECandidateType_t type, TString cutfname, EMCMode_t bkgMode, const AliHFJetDefinition &jetDef, TString rhoName="")
 
std::list< AnalysisEngine >
::iterator 
FindAnalysisEngine (const AnalysisEngine &eng)
 
void SetShowPositionD (Bool_t b=kTRUE)
 
void SetShowInvMass (Bool_t b=kTRUE)
 
void SetShow2ProngInvMass (Bool_t b=kTRUE)
 
void SetShowSoftPionPt (Bool_t b=kTRUE)
 
void SetShowDeltaR (Bool_t b=kTRUE)
 
void SetShowDeltaEta (Bool_t b=kTRUE)
 
void SetShowDeltaPhi (Bool_t b=kTRUE)
 
void SetShowPositionJet (Bool_t b=kTRUE)
 
void SetShowJetConstituents (Bool_t b=kTRUE)
 
void SetApplyKinematicCuts (Bool_t b)
 
void SetOutputType (EOutputType_t b)
 
void SetTrackEfficiency (Double_t t)
 
void SetRejectISR (Bool_t b)
 
void SetJetArea (Int_t type, Double_t garea=0.005)
 
virtual void UserCreateOutputObjects ()
 Creates the output containers. More...
 
virtual void ExecOnce ()
 
virtual Bool_t Run ()
 
virtual Bool_t FillHistograms ()
 
- Public Member Functions inherited from AliAnalysisTaskEmcalLight
 AliAnalysisTaskEmcalLight ()
 
 AliAnalysisTaskEmcalLight (const char *name, Bool_t histo=kFALSE)
 
virtual ~AliAnalysisTaskEmcalLight ()
 
AliParticleContainerAddParticleContainer (std::string branchName, std::string contName="")
 
AliClusterContainerAddClusterContainer (std::string branchName, std::string contName="")
 
void AdoptParticleContainer (AliParticleContainer *cont)
 
void AdoptClusterContainer (AliClusterContainer *cont)
 
AliParticleContainerGetParticleContainer (std::string name) const
 
AliClusterContainerGetClusterContainer (std::string name) const
 
AliMCParticleContainerGetMCParticleContainer (std::string name) const
 
AliTrackContainerGetTrackContainer (std::string name) const
 
void RemoveParticleContainer (std::string name)
 
void RemoveClusterContainer (std::string name)
 
void SetCaloCellsName (const char *n)
 
void SetCaloTriggerPatchInfoName (const char *n)
 
void SetCaloTriggersName (const char *n)
 
void SetCentralityEstimator (const char *c)
 
void SetIsPythia (Bool_t i)
 
void SetForceBeamType (EBeamType_t f)
 
void SetCentralityEstimation (ECentralityEstimation_t b)
 
void SetMakeGeneralHistograms (Bool_t g)
 
void SetNeedEmcalGeom (Bool_t n)
 
void SetCentBins (const std::vector< double > &bins)
 
Int_t GetNCentBins () const
 
void SetSwitchOffLHC15oFaultyBranches (Bool_t b)
 
void SetTriggerSelectionBitMap (UInt_t t)
 
void SetCentRange (Double_t min, Double_t max)
 
void SetVzRange (Double_t min, Double_t max)
 
void SetZvertexDiffValue (Double_t cut)
 
void SetMinNVertCont (Int_t cut)
 
void SetPtHardRange (Double_t min, Double_t max)
 
void SetMaxMinimumBiasPtHard (Int_t max)
 
void AddAcceptedTriggerClass (const char *trigClass)
 
void AddRejectedTriggerClass (const char *trigClass)
 
void ClearAcceptedTriggerClasses ()
 
void ClearRejectedTriggerClasses ()
 
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 ()
 
void SetEventSelectionAfterRun (Bool_t b)
 

Static Public Member Functions

static AliAnalysisTaskDmesonJetsAddTaskDmesonJets (TString ntracks="usedefault", TString nclusters="usedefault", TString nMCpart="", Int_t nMaxTrees=2, TString suffix="")
 

Protected Member Functions

virtual void SetOutputTypeInternal (EOutputType_t b)
 
AliRDHFCutsLoadDMesonCutsFromFile (TString cutfname, TString cutsname)
 
Int_t PostDataFromAnalysisEngine (const AnalysisEngine &eng)
 
void FillPartonLevelHistograms ()
 Fill histograms with parton-level information. More...
 
- Protected Member Functions inherited from AliAnalysisTaskEmcalLight
void SetRejectionReasonLabels (TAxis *axis)
 
void AddObjectToEvent (TObject *obj, Bool_t attempt=kFALSE)
 
TClonesArray * GetArrayFromEvent (const char *name, const char *clname=0)
 
EBeamType_t GetBeamType ()
 
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
 
Bool_t CheckMCOutliers ()
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *option)
 
Bool_t UserNotify ()
 
virtual Bool_t FillGeneralHistograms (Bool_t eventSelected)
 
virtual Bool_t IsEventSelected ()
 
virtual Bool_t RetrieveEventObjects ()
 

Static Protected Member Functions

static const char * GetHFEventRejectionReasonLabel (UInt_t &bitmap)
 
static void CalculateMassLimits (Double_t range, Int_t pdg, Int_t nbins, Double_t &minMass, Double_t &maxMass)
 
- Static Protected Member Functions inherited from AliAnalysisTaskEmcalLight
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 EBeamType_t BeamTypeFromRunNumber (Int_t runnumber)
 

Protected Attributes

std::list< AnalysisEnginefAnalysisEngines
 Array of analysis parameters. More...
 
UInt_t fEnabledAxis
 Use bit defined in EAxis_t to enable axis in the THnSparse. More...
 
EOutputType_t fOutputType
 Output type: none, TTree or THnSparse. More...
 
THistManager fHistManager
 Histogram manager. More...
 
Bool_t fApplyKinematicCuts
 Apply jet kinematic cuts. More...
 
Int_t fNOutputTrees
 Maximum number of output trees. More...
 
Double_t fTrackEfficiency
 Artificial tracking inefficiency (0...1) More...
 
Bool_t fRejectISR
 Reject initial state radiation. More...
 
Int_t fJetAreaType
 Jet area type. More...
 
Double_t fJetGhostArea
 Area of the ghost particles. More...
 
AliHFAODMCParticleContainerfMCContainer
 ! MC particle container More...
 
AliAODEventfAodEvent
 ! AOD event More...
 
AliFJWrapperfFastJetWrapper
 ! Fastjet wrapper More...
 
- Protected Attributes inherited from AliAnalysisTaskEmcalLight
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...
 
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...
 
TListfOutput
 !output list More...
 
TH1fHistTrialsVsPtHardNoSel
 !total number of trials per pt hard bin after selection (no event selection) More...
 
TH1fHistEventsVsPtHardNoSel
 !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...
 
TH1fHistTriggerClassesNoSel
 !number of events in each trigger class (no event selection) More...
 
TH1fHistZVertexNoSel
 !z vertex position (no event selection) More...
 
TH1fHistCentralityNoSel
 !event centrality distribution (no event selection) More...
 
TH1fHistEventPlaneNoSel
 !event plane distribution (no event selection) More...
 
TH1fHistTrialsVsPtHard
 !total number of trials per pt hard bin after selection More...
 
TH1fHistEventsVsPtHard
 !total number of events per pt hard bin after selection More...
 
TProfile * fHistXsectionVsPtHard
 !x section from pythia header More...
 
TH1fHistTriggerClasses
 !number of events in each trigger class More...
 
TH1fHistZVertex
 !z vertex position More...
 
TH1fHistCentrality
 !event centrality distribution More...
 
TH1fHistEventPlane
 !event plane distribution More...
 
TH1fHistEventCount
 !incoming and selected events More...
 
TH1fHistEventRejection
 !book keep reasons for rejecting event 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...
 

Private Member Functions

 AliAnalysisTaskDmesonJets (const AliAnalysisTaskDmesonJets &source)
 
AliAnalysisTaskDmesonJetsoperator= (const AliAnalysisTaskDmesonJets &source)
 

Additional Inherited Members

- Static Protected Attributes inherited from AliAnalysisTaskEmcalLight
static Double_t fgkEMCalDCalPhiDivide = 4.
 phi value used to distinguish between DCal and EMCal More...
 

Detailed Description

Analysis task for D meson jets.

This task selects D meson candidates according to predefined cuts, then runs a jet finder to reconstruct the jets that contain the D meson candidates.

The main output is stored in a THnSparse histogram or in a TTree.

Author
Salvatore Aiola salva.nosp@m.tore.nosp@m..aiol.nosp@m.a@ce.nosp@m.rn.ch, Yale University
Date
Feb 6, 2016

Definition at line 61 of file AliAnalysisTaskDmesonJets.h.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
kPositionD 
kInvMass 
k2ProngInvMass 
kSoftPionPt 
kDeltaR 
kDeltaEta 
kDeltaPhi 
kPositionJet 
kJetConstituents 

Definition at line 91 of file AliAnalysisTaskDmesonJets.h.

Enumerator
kD0toKpi 
kDstartoKpipi 
kD0toKpiLikeSign 

Definition at line 70 of file AliAnalysisTaskDmesonJets.h.

Enumerator
kNoMC 
kSignalOnly 
kBackgroundOnly 
kMCTruth 
kWrongPID 

Definition at line 71 of file AliAnalysisTaskDmesonJets.h.

Enumerator
kAnyDecay 
kUnknownDecay 
kDecayD0toKpi 
kDecayDStartoKpipi 

Definition at line 84 of file AliAnalysisTaskDmesonJets.h.

Enumerator
kUnknownQuark 
kFromDown 
kFromUp 
kFromStrange 
kFromCharm 
kFromBottom 
kFromTop 
kFromGluon 
kAnyOrigin 

Definition at line 72 of file AliAnalysisTaskDmesonJets.h.

Enumerator
kNoOutput 
kTreeOutput 
kTHnOutput 

Definition at line 69 of file AliAnalysisTaskDmesonJets.h.

Constructor & Destructor Documentation

AliAnalysisTaskDmesonJets::AliAnalysisTaskDmesonJets ( )

This is the default constructor, used for ROOT I/O purposes.

Definition at line 2336 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AddTaskDmesonJets().

AliAnalysisTaskDmesonJets::AliAnalysisTaskDmesonJets ( const char *  name,
Int_t  nOutputTrees = 2 
)

This is the standard named constructor.

Parameters
nameName of the task

Definition at line 2358 of file AliAnalysisTaskDmesonJets.cxx.

AliAnalysisTaskDmesonJets::~AliAnalysisTaskDmesonJets ( )
virtual

This is the standard destructor.

Definition at line 2381 of file AliAnalysisTaskDmesonJets.cxx.

AliAnalysisTaskDmesonJets::AliAnalysisTaskDmesonJets ( const AliAnalysisTaskDmesonJets source)
private

Member Function Documentation

AliAnalysisTaskDmesonJets::AnalysisEngine * AliAnalysisTaskDmesonJets::AddAnalysisEngine ( ECandidateType_t  type,
TString  cutfname,
EMCMode_t  MCmode,
EJetType_t  jettype,
Double_t  jetradius,
TString  rhoName = "" 
)

Add a new AnalysisEngine object.

Parameters
typeOne of the enum constants of ECandidateType_t
bkgModeOne of the enum constants of EMCMode_t
jetradiusRadius of the jet
cutsName of the file that container D meson cut object (if null, it will use standard cuts)
Returns
Pointer to the AnalysisEngine added to the list.

Definition at line 2424 of file AliAnalysisTaskDmesonJets.cxx.

AliAnalysisTaskDmesonJets::AnalysisEngine * AliAnalysisTaskDmesonJets::AddAnalysisEngine ( ECandidateType_t  type,
TString  cutfname,
EMCMode_t  MCmode,
const AliHFJetDefinition jetDef,
TString  rhoName = "" 
)

Add a new AnalysisEngine object.

Parameters
typeOne of the enum constants of ECandidateType_t
bkgModeOne of the enum constants of EMCMode_t
jetradiusRadius of the jet
cutsName of the file that container D meson cut object (if null, it will use standard cuts)
Returns
Pointer to the AnalysisEngine added to the list.

Definition at line 2438 of file AliAnalysisTaskDmesonJets.cxx.

AliAnalysisTaskDmesonJets * AliAnalysisTaskDmesonJets::AddTaskDmesonJets ( TString  ntracks = "usedefault",
TString  nclusters = "usedefault",
TString  nMCpart = "",
Int_t  nMaxTrees = 2,
TString  suffix = "" 
)
static

Create an instance of this class and add it to the analysis manager

Parameters
ntracksname of the track collection
nclustersname of the calorimeter cluster collection
nMCpartname of the MC particle collection
nMaxTreesnumber of output trees
suffixadditional suffix that can be added at the end of the task name
Returns
pointer to the new AliAnalysisTaskDmesonJets task

Definition at line 3155 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::CalculateMassLimits ( Double_t  range,
Int_t  pdg,
Int_t  nbins,
Double_t minMass,
Double_t maxMass 
)
staticprotected

Set the mass limits for the histograms using information from TDatabasePDG.

Parameters
rangeThis parameter is used to calculate the mass range as [mass - range/2 ; mass + range/2]
pdgPDG code of the candidate
nbinsNumber of bins in the histogram
minMassReference to a Double_t where the minimum mass will be stored
maxMassReference to a Double_t where the maximum mass will be stored

Definition at line 3045 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJets::AnalysisEngine::BuildHnSparse(), AliAnalysisTaskDmesonJets::AnalysisEngine::SetCandidateProperties(), and UserCreateOutputObjects().

void AliAnalysisTaskDmesonJets::ExecOnce ( )
virtual

Does some specific initializations for the analysis engines, then calls the base class ExecOnce() method.

Reimplemented from AliAnalysisTaskEmcalLight.

Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.

Definition at line 2758 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::ExecOnce().

Bool_t AliAnalysisTaskDmesonJets::FillHistograms ( )
virtual

Fill the histograms.

Returns
Always kTRUE

Reimplemented from AliAnalysisTaskEmcalLight.

Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.

Definition at line 2944 of file AliAnalysisTaskDmesonJets.cxx.

void AliAnalysisTaskDmesonJets::FillPartonLevelHistograms ( )
protected

Fill histograms with parton-level information.

Definition at line 2962 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::FillHistograms(), and FillHistograms().

std::list< AliAnalysisTaskDmesonJets::AnalysisEngine >::iterator AliAnalysisTaskDmesonJets::FindAnalysisEngine ( const AnalysisEngine eng)

Definition at line 2484 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AddAnalysisEngine().

const char * AliAnalysisTaskDmesonJets::GetHFEventRejectionReasonLabel ( UInt_t bitmap)
staticprotected

Takes a bitmap and converts the first rejection reason bit to a string; it unsets the first bit.

Parameters
bitmapBitmap with one or more bit sets by AliRDHFCuts (only the first one will be considered)
Returns
A string that corresponds to the last bit set in the bitmap (a null string if not bit is set)

Definition at line 3067 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by Run().

AliRDHFCuts * AliAnalysisTaskDmesonJets::LoadDMesonCutsFromFile ( TString  cutfname,
TString  cutsname 
)
protected

Load D meson cuts from a file.

Parameters
cutfnameName of the file containing the cut object
cutsnameName of the object cuts
Returns
Pointer to the AliRDHFCuts object if successful, NULL otherwise.

Definition at line 2392 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AddAnalysisEngine().

AliAnalysisTaskDmesonJets& AliAnalysisTaskDmesonJets::operator= ( const AliAnalysisTaskDmesonJets source)
private
Int_t AliAnalysisTaskDmesonJets::PostDataFromAnalysisEngine ( const AnalysisEngine eng)
protected

Post the tree of an analysis engine in the data slot (if the tree exists and the data slot has been assigned)

Parameters
engConstant reference to an analysis engine
Returns
-1 if unsuccessful, an integer number corresponding to the data slot if successful

Definition at line 3136 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by FillHistograms(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskDmesonJets::Run ( )
virtual

Run the analysis

Returns
kTRUE on success

Reimplemented from AliAnalysisTaskEmcalLight.

Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.

Definition at line 2877 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::Run().

void AliAnalysisTaskDmesonJets::SetApplyKinematicCuts ( Bool_t  b)
inline

Definition at line 555 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetJetArea ( Int_t  type,
Double_t  garea = 0.005 
)
inline

Definition at line 559 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetOutputType ( EOutputType_t  b)
inline

Definition at line 556 of file AliAnalysisTaskDmesonJets.h.

virtual void AliAnalysisTaskDmesonJets::SetOutputTypeInternal ( EOutputType_t  b)
inlineprotectedvirtual

Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.

Definition at line 571 of file AliAnalysisTaskDmesonJets.h.

Referenced by SetOutputType().

void AliAnalysisTaskDmesonJets::SetRejectISR ( Bool_t  b)
inline

Definition at line 558 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetShow2ProngInvMass ( Bool_t  b = kTRUE)
inline

Definition at line 547 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetShowDeltaEta ( Bool_t  b = kTRUE)
inline

Definition at line 550 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetShowDeltaPhi ( Bool_t  b = kTRUE)
inline

Definition at line 551 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetShowDeltaR ( Bool_t  b = kTRUE)
inline

Definition at line 549 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetShowInvMass ( Bool_t  b = kTRUE)
inline

Definition at line 546 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetShowJetConstituents ( Bool_t  b = kTRUE)
inline

Definition at line 553 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetShowPositionD ( Bool_t  b = kTRUE)
inline

Definition at line 545 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetShowPositionJet ( Bool_t  b = kTRUE)
inline

Definition at line 552 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetShowSoftPionPt ( Bool_t  b = kTRUE)
inline

Definition at line 548 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::SetTrackEfficiency ( Double_t  t)
inline

Definition at line 557 of file AliAnalysisTaskDmesonJets.h.

void AliAnalysisTaskDmesonJets::UserCreateOutputObjects ( )
virtual

Creates the output containers.

Reimplemented in AliAnalysisTaskDmesonJetsDetectorResponse.

Definition at line 2492 of file AliAnalysisTaskDmesonJets.cxx.

Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::UserCreateOutputObjects().

Member Data Documentation

std::list<AnalysisEngine> AliAnalysisTaskDmesonJets::fAnalysisEngines
protected
Bool_t AliAnalysisTaskDmesonJets::fApplyKinematicCuts
protected
UInt_t AliAnalysisTaskDmesonJets::fEnabledAxis
protected
Int_t AliAnalysisTaskDmesonJets::fJetAreaType
protected

Jet area type.

Definition at line 591 of file AliAnalysisTaskDmesonJets.h.

Referenced by ExecOnce(), and SetJetArea().

Double_t AliAnalysisTaskDmesonJets::fJetGhostArea
protected

Area of the ghost particles.

Definition at line 592 of file AliAnalysisTaskDmesonJets.h.

Referenced by ExecOnce(), and SetJetArea().

Int_t AliAnalysisTaskDmesonJets::fNOutputTrees
protected

Maximum number of output trees.

Definition at line 588 of file AliAnalysisTaskDmesonJets.h.

Referenced by AliAnalysisTaskDmesonJetsDetectorResponse::UserCreateOutputObjects(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskDmesonJets::fRejectISR
protected

Reject initial state radiation.

Definition at line 590 of file AliAnalysisTaskDmesonJets.h.

Referenced by ExecOnce(), AliAnalysisTaskDmesonJets::AnalysisEngine::RunParticleLevelAnalysis(), and SetRejectISR().

Double_t AliAnalysisTaskDmesonJets::fTrackEfficiency
protected

Artificial tracking inefficiency (0...1)

Definition at line 589 of file AliAnalysisTaskDmesonJets.h.

Referenced by ExecOnce(), AliAnalysisTaskDmesonJets::AnalysisEngine::FindJet(), and SetTrackEfficiency().


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