AliPhysics  vAN-20151012 (2287573)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AddTaskPi0IMGammaCorrQA.C File Reference

Configuration of the analysis QA wagon for PWG-GA EMCal analysis. More...

Go to the source code of this file.

Functions

AliAnalysisTaskCaloTrackCorrelationAddTaskPi0IMGammaCorrQA (const TString calorimeter="EMCAL", const Bool_t simulation=kFALSE, const TString collision="pp", const TString suffix="default", const Bool_t qaan=kFALSE, const Bool_t hadronan=kFALSE, const Bool_t calibrate=kTRUE, const Int_t minTime=-1000, const Int_t maxTime=1000, const Int_t minCen=-1, const Int_t maxCen=-1, const Int_t debugLevel=-1, const Int_t year=2015)
 
AliCaloTrackReaderConfigureReader (TString inputDataType, TString collision, Bool_t calibrate, Int_t minTime, Int_t maxTime, Int_t minCen, Int_t maxCen, Bool_t simulation, Int_t year, Int_t debugLevel)
 
AliCalorimeterUtilsConfigureCaloUtils (TString calorimeter, Bool_t simulation, Bool_t calibrate, Int_t year, Int_t debugLevel)
 
AliAnaPhotonConfigurePhotonAnalysis (TString calorimeter, TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel)
 
AliAnaPi0ConfigurePi0Analysis (TString calorimeter, TString collision, TString containerName, Bool_t simulation, Int_t year, Bool_t qaan, Int_t debugLevel)
 
AliAnaChargedParticlesConfigureChargedAnalysis (TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel)
 
AliAnaParticleHadronCorrelationConfigureHadronCorrelationAnalysis (TString particle, TString calorimeter, TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel)
 
AliAnaCalorimeterQAConfigureQAAnalysis (TString calorimeter, TString collision, Bool_t simulation, Int_t year, Int_t debugLevel)
 
void SetHistoRangeAndNBins (AliHistogramRanges *histoRanges, TString calorimeter, TString collision, Int_t year)
 

Detailed Description

Configuration of the analysis QA wagon for PWG-GA EMCal analysis.

Configuration macro of EMCal related PWG-GA analysis, although it can be also used for PHOS. It does:

  • a simple photon cluster selection
  • invariant mass analysis
  • cluster-charged track correlation analysis (optional)
  • detector general QA analysis (optional)
  • track general QA analysis (optional)

Wagon responsible: 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

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 AddTaskPi0IMGammaCorrQA.C.

Function Documentation

AliAnalysisTaskCaloTrackCorrelation* AddTaskPi0IMGammaCorrQA ( const TString  calorimeter = "EMCAL",
const Bool_t  simulation = kFALSE,
const TString  collision = "pp",
const TString  suffix = "default",
const Bool_t  qaan = kFALSE,
const Bool_t  hadronan = kFALSE,
const Bool_t  calibrate = kTRUE,
const Int_t  minTime = -1000,
const Int_t  maxTime = 1000,
const Int_t  minCen = -1,
const Int_t  maxCen = -1,
const Int_t  debugLevel = -1,
const Int_t  year = 2015 
)

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
calorimeter: A string with he calorimeter used to measure the trigger particle.
simulation: A bool identifying the data as simulation.
collisionA string with the colliding system.
suffix: A string with the type of trigger (default: MB, EMC).
qaanexecute the detector QA analysis.
hadronanexecute the track QA and cluster-track correlation analysis.
calibrateif OADB was updated with calibration parameters not used in reconstruction, apply them here.
minTimeminimum time cut, leave it open by default even if calibration available, ns
maxTimemaximum time cut, leave it open by default even if calibration available, ns
minCen: An int to select the minimum centrality, -1 means no selection.
maxCen: An int to select the maximum centrality, -1 means no selection.
debugLevel: An int to define the debug level of all the tasks.

Definition at line 35 of file AddTaskPi0IMGammaCorrQA.C.

AliCalorimeterUtils* ConfigureCaloUtils ( TString  calorimeter,
Bool_t  simulation,
Bool_t  calibrate,
Int_t  year,
Int_t  debugLevel 
)

Configure the class handling the calorimeter clusters specific methods

Definition at line 283 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

AliAnaChargedParticles* ConfigureChargedAnalysis ( TString  collision,
TString  containerName,
Bool_t  simulation,
Int_t  year,
Int_t  debugLevel 
)

Configure the task doing charged track selection

Definition at line 511 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

AliAnaParticleHadronCorrelation* ConfigureHadronCorrelationAnalysis ( TString  particle,
TString  calorimeter,
TString  collision,
TString  containerName,
Bool_t  simulation,
Int_t  year,
Int_t  debugLevel 
)

Configure the task doing the trigger particle hadron correlation

Definition at line 548 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

AliAnaPhoton* ConfigurePhotonAnalysis ( TString  calorimeter,
TString  collision,
TString  containerName,
Bool_t  simulation,
Int_t  year,
Int_t  debugLevel 
)

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

Definition at line 363 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

AliAnaPi0* ConfigurePi0Analysis ( TString  calorimeter,
TString  collision,
TString  containerName,
Bool_t  simulation,
Int_t  year,
Bool_t  qaan,
Int_t  debugLevel 
)

Configure the task doing the 2 cluster invariant mass analysis

Definition at line 442 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

AliAnaCalorimeterQA* ConfigureQAAnalysis ( TString  calorimeter,
TString  collision,
Bool_t  simulation,
Int_t  year,
Int_t  debugLevel 
)

Configure the task doing standard calorimeter QA

Definition at line 633 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

AliCaloTrackReader* ConfigureReader ( TString  inputDataType,
TString  collision,
Bool_t  calibrate,
Int_t  minTime,
Int_t  maxTime,
Int_t  minCen,
Int_t  maxCen,
Bool_t  simulation,
Int_t  year,
Int_t  debugLevel 
)

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

Definition at line 156 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

void SetHistoRangeAndNBins ( AliHistogramRanges histoRanges,
TString  calorimeter,
TString  collision,
Int_t  year 
)