AliPhysics  5e2c166 (5e2c166)

Isolated photon spectra configuration. More...

Go to the source code of this file.

Functions

AliAnalysisTaskCaloTrackCorrelationAddTaskIsoPhoton (const Float_t cone=0.4, const Float_t pth=2., const Bool_t leading=kFALSE, const Bool_t timecut=kFALSE, const TString calorimeter="EMCAL", const Bool_t simu=kFALSE, const Bool_t exotic=kTRUE, const Bool_t nonlin=kFALSE, const TString trigger="EMC7", const Bool_t tm=kTRUE, const Int_t minCen=-1, const Int_t maxCen=-1, const Float_t deltaphicut=0.03, const Float_t deltaetacut=0.02, const Float_t tmin=-30., const Float_t tmax=30., const Bool_t trackTcut=kFALSE, const Int_t disttobad=2, const Int_t nlmMax=20, const Bool_t qaan=kFALSE, const Bool_t primvtx=kTRUE, const Bool_t notrackcut=kTRUE, const Bool_t rdmtrigger=kFALSE, const TString tag="", const Int_t debug=-1, const Bool_t print=kFALSE, const Bool_t tmInCone=kTRUE, const Int_t SSsmearing=0, const TString clustListName="", const Int_t isocut=1)
 Global bool for print option. More...
 
AliCaloTrackReaderConfigureReader (TString inputDataType="AOD", Bool_t useKinematics=kFALSE, Bool_t simu=kFALSE, TString calorimeter="EMCAL", Bool_t nonlin=kTRUE, Bool_t timecut=kFALSE, Bool_t primvtx=kFALSE, Bool_t notrackcut=kFALSE, Float_t tmin, Float_t tmax, Bool_t trackTcut=kFALSE, Float_t minCen=-1, Float_t maxCen=-1, Int_t debug=-1, Bool_t print=kFALSE, Int_t SSsmearing=0, TString clustListName="")
 
AliCalorimeterUtilsConfigureCaloUtils (Bool_t nonlin=kTRUE, Bool_t exotic=kTRUE, Bool_t simu=kFALSE, Bool_t timecut=kFALSE, Int_t debug=-1, Bool_t print=kFALSE)
 
AliAnaPhotonConfigurePhotonAnalysis (TString calorimeter="EMCAL", Bool_t tm=kFALSE, Float_t deltaphicut=0.02, Float_t deltaetacut=0.03, Int_t disttobad=0, Int_t nlmMax=2, Bool_t simu=kFALSE, Int_t debug=-1, Bool_t print=kFALSE)
 
AliAnaParticleIsolationConfigureIsolationAnalysis (TString calorimeter="EMCAL", TString particle="Photon", Int_t partInCone=AliIsolationCut::kOnlyCharged, Int_t thresType=AliIsolationCut::kSumPtFracIC, Float_t cone=0.3, Float_t pth=0.3, Bool_t tm=kFALSE, Bool_t leading=kTRUE, Bool_t multi=kFALSE, Bool_t simu=kFALSE, Int_t debug=-1, Bool_t print=kFALSE, Bool_t tmInCone=kTRUE)
 
AliAnaCalorimeterQAConfigureQAAnalysis (TString calorimeter="EMCAL", Bool_t simu=kFALSE, Int_t debug=-1, Bool_t print=kFALSE)
 
AliAnaChargedParticlesConfigureChargedAnalysis (Bool_t simulation, Int_t debugLevel)
 
AliAnaRandomTriggerConfigureRandomTriggerAnalysis (TString detector="")
 
void ConfigureMC (AliAnaCaloTrackCorrBaseClass *ana, Bool_t simu=kFALSE)
 
void SetHistoRangeAndNBins (AliHistogramRanges *histoRanges, TString calorimeter="EMCAL")
 
UInt_t SetTriggerMaskFromName (TString trigger)
 

Variables

TString kAnaIsoPhotonName = ""
 
Int_t kDebug = -1
 Global name to be composed of the settings, used to set the AOD branch name. More...
 
TString kCalorimeter = "EMCAL"
 Global debug level. More...
 
TString kData = ""
 Global setting of calorimeter of photon. More...
 
Bool_t kPrint = 0
 Global string for data type. More...
 

Detailed Description

Isolated photon spectra configuration.

Configuration of the isolated photon analysis analysis based on AddTaskIsoPhoton by Gustavo Conesa & Marie Germain.

Author
Marie Germain Marie.nosp@m..Ger.nosp@m.main@.nosp@m.cern.nosp@m..ch, SUBATECH, main author.
Gustavo Conesa Balbastre Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, (LPSC-CNRS)

Definition in file AddTaskIsoPhoton.C.

Function Documentation

AliAnalysisTaskCaloTrackCorrelation* AddTaskIsoPhoton ( const Float_t  cone = 0.4,
const Float_t  pth = 2.,
const Bool_t  leading = kFALSE,
const Bool_t  timecut = kFALSE,
const TString  calorimeter = "EMCAL",
const Bool_t  simu = kFALSE,
const Bool_t  exotic = kTRUE,
const Bool_t  nonlin = kFALSE,
const TString  trigger = "EMC7",
const Bool_t  tm = kTRUE,
const Int_t  minCen = -1,
const Int_t  maxCen = -1,
const Float_t  deltaphicut = 0.03,
const Float_t  deltaetacut = 0.02,
const Float_t  tmin = -30.,
const Float_t  tmax = 30.,
const Bool_t  trackTcut = kFALSE,
const Int_t  disttobad = 2,
const Int_t  nlmMax = 20,
const Bool_t  qaan = kFALSE,
const Bool_t  primvtx = kTRUE,
const Bool_t  notrackcut = kTRUE,
const Bool_t  rdmtrigger = kFALSE,
const TString  tag = "",
const Int_t  debug = -1,
const Bool_t  print = kFALSE,
const Bool_t  tmInCone = kTRUE,
const Int_t  SSsmearing = 0,
const TString  clustListName = "",
const Int_t  isocut = 1 
)

Global bool for print option.

Main method calling all the configuration Creates a CaloTrackCorr task, configures it and adds it to the analysis manager.

The options that can be passed to the macro are:

Parameters
cone: A float setting the isolation cone size
pth: A float setting the isolation pT threshold (sum of particles in cone or leading particle)
leading: select leading trigger clusters?
timecut: activate time cut
calorimeter: A string with he calorimeter used to measure the trigger particle
simu: A bool identifying the data as simulation
exotic: reject exotic clusters
nonlin: A bool to set the use of the non linearity correction
trigger: A string with the trigger class, abbreviated, defined in method belowSetTriggerMaskFromName()
tm: A bool to select neutral clusters as triggers
minCen: An int to select the minimum centrality, -1 means no selection
maxCen: An int to select the maximum centrality, -1 means no selection
deltaphicut: track matching residual cut in azimuth
deltaetacut: track matching residual cut in pseudo-rapidity
tmin: minimum cluster time
tmax: maximum cluster time
trackTcut: apply time cut on tracks
disttobad: value of cut on distance to bad channel
nlmMax: maximum value of shower shape parameter
qaan: activate detector qa analysis
primvtx: select primary vertex
notrackcut: reject events without tracks
rdmtrigger: do the analysis with random triggers
tag: name to pass to analysis generated branch and histo container
debug: An int to define the debug level of all the tasks
print: A bool to enable the print of the settings per task
tmInCone: A bool to enable the CPV in cone (to reject charged clusters in Eiso calculation)
SSsmearing: An integer to enable the shower shape smearing, 0: no smearing, 1: Smearing with Gustavo's settings, 2: Smearing with Astrid's settings
clustListNamename of list with clusters

Definition at line 55 of file AddTaskIsoPhoton.C.

AliCalorimeterUtils* ConfigureCaloUtils ( Bool_t  nonlin = kTRUE,
Bool_t  exotic = kTRUE,
Bool_t  simu = kFALSE,
Bool_t  timecut = kFALSE,
Int_t  debug = -1,
Bool_t  print = kFALSE 
)

Configure the class handling the calorimeter clusters specific methods

Definition at line 419 of file AddTaskIsoPhoton.C.

Referenced by AddTaskIsoPhoton().

AliAnaChargedParticles* ConfigureChargedAnalysis ( Bool_t  simulation,
Int_t  debugLevel 
)

Configure the task doing charged track selection

Definition at line 706 of file AddTaskIsoPhoton.C.

Referenced by AddTaskIsoPhoton().

AliAnaParticleIsolation* ConfigureIsolationAnalysis ( TString  calorimeter = "EMCAL",
TString  particle = "Photon",
Int_t  partInCone = AliIsolationCut::kOnlyCharged,
Int_t  thresType = AliIsolationCut::kSumPtFracIC,
Float_t  cone = 0.3,
Float_t  pth = 0.3,
Bool_t  tm = kFALSE,
Bool_t  leading = kTRUE,
Bool_t  multi = kFALSE,
Bool_t  simu = kFALSE,
Int_t  debug = -1,
Bool_t  print = kFALSE,
Bool_t  tmInCone = kTRUE 
)

Configure the task doing the trigger cluster/random isolation

Definition at line 556 of file AddTaskIsoPhoton.C.

Referenced by AddTaskIsoPhoton().

void ConfigureMC ( AliAnaCaloTrackCorrBaseClass ana,
Bool_t  simu = kFALSE 
)

Configure the selection of MC events

Definition at line 802 of file AddTaskIsoPhoton.C.

Referenced by ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), and ConfigureQAAnalysis().

AliAnaPhoton* ConfigurePhotonAnalysis ( TString  calorimeter = "EMCAL",
Bool_t  tm = kFALSE,
Float_t  deltaphicut = 0.02,
Float_t  deltaetacut = 0.03,
Int_t  disttobad = 0,
Int_t  nlmMax = 2,
Bool_t  simu = kFALSE,
Int_t  debug = -1,
Bool_t  print = kFALSE 
)

Configure the task doing the first photon cluster selections Basically the track matching, minor shower shape cut, NLM selection ...

Definition at line 472 of file AddTaskIsoPhoton.C.

Referenced by AddTaskIsoPhoton().

AliAnaCalorimeterQA* ConfigureQAAnalysis ( TString  calorimeter = "EMCAL",
Bool_t  simu = kFALSE,
Int_t  debug = -1,
Bool_t  print = kFALSE 
)

Configure the task doing standard calorimeter QA

Definition at line 674 of file AddTaskIsoPhoton.C.

Referenced by AddTaskIsoPhoton().

AliAnaRandomTrigger* ConfigureRandomTriggerAnalysis ( TString  detector = "")

Configure the task doing random trigger generation

Definition at line 742 of file AddTaskIsoPhoton.C.

Referenced by AddTaskIsoPhoton().

AliCaloTrackReader* ConfigureReader ( TString  inputDataType = "AOD",
Bool_t  useKinematics = kFALSE,
Bool_t  simu = kFALSE,
TString  calorimeter = "EMCAL",
Bool_t  nonlin = kTRUE,
Bool_t  timecut = kFALSE,
Bool_t  primvtx = kFALSE,
Bool_t  notrackcut = kFALSE,
Float_t  tmin,
Float_t  tmax,
Bool_t  trackTcut = kFALSE,
Float_t  minCen = -1,
Float_t  maxCen = -1,
Int_t  debug = -1,
Bool_t  print = kFALSE,
Int_t  SSsmearing = 0,
TString  clustListName = "" 
)

Configure the class handling the events and cluster/tracks filtering.

Definition at line 223 of file AddTaskIsoPhoton.C.

Referenced by AddTaskIsoPhoton().

void SetHistoRangeAndNBins ( AliHistogramRanges histoRanges,
TString  calorimeter = "EMCAL" 
)
UInt_t SetTriggerMaskFromName ( TString  trigger)

Configure the task doing the trigger cluster-jet correlation

Definition at line 867 of file AddTaskIsoPhoton.C.

Referenced by AddTaskIsoPhoton().

Variable Documentation

TString kAnaIsoPhotonName = ""

Definition at line 12 of file AddTaskIsoPhoton.C.

TString kCalorimeter = "EMCAL"

Global debug level.

Definition at line 16 of file AddTaskIsoPhoton.C.

Referenced by ConfigureRandomTriggerAnalysis().

TString kData = ""

Global setting of calorimeter of photon.

Definition at line 17 of file AddTaskIsoPhoton.C.

Int_t kDebug = -1

Global name to be composed of the settings, used to set the AOD branch name.

Definition at line 14 of file AddTaskIsoPhoton.C.

Referenced by AddTaskIsoPhoton(), and ConfigureRandomTriggerAnalysis().

Bool_t kPrint = 0

Global string for data type.

Definition at line 18 of file AddTaskIsoPhoton.C.

Referenced by AddTaskIsoPhoton(), and ConfigureRandomTriggerAnalysis().