AliPhysics  d497547 (d497547)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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", Bool_t simulation=kFALSE, TString collision="pp", TString period="", const Bool_t qaan=kTRUE, const Bool_t hadronan=kTRUE, const Bool_t calibrate=kFALSE, 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 char *suffix="default")
 
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, TString trigger, Bool_t simulation, Bool_t calibrate, Int_t year, Int_t debugLevel)
 
AliAnaPhotonConfigurePhotonAnalysis (TString calorimeter, Bool_t caloType, TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel)
 
AliAnaPi0ConfigurePi0Analysis (TString calorimeter, Bool_t caloType, TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel, Int_t minCen)
 
AliAnaChargedParticlesConfigureChargedAnalysis (TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel)
 
AliAnaParticleIsolationConfigureIsolationAnalysis (TString particle, TString calorimeter, Bool_t caloType, TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel)
 
AliAnaParticleHadronCorrelationConfigureHadronCorrelationAnalysis (TString particle, TString calorimeter, Bool_t caloType, TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel, Int_t minCen)
 
AliAnaCalorimeterQAConfigureQAAnalysis (TString calorimeter, TString collision, Bool_t simulation, Int_t year, Int_t debugLevel)
 
void SetHistoRangeAndNBins (AliHistogramRanges *histoRanges, TString calorimeter, Bool_t caloType, TString collision, Int_t year)
 
Bool_t CheckAnalysisTrigger (Bool_t simulation, TString trigger, TString period, 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",
Bool_t  simulation = kFALSE,
TString  collision = "pp",
TString  period = "",
const Bool_t  qaan = kTRUE,
const Bool_t  hadronan = kTRUE,
const Bool_t  calibrate = kFALSE,
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 char *  suffix = "default" 
)

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.
period: A string with the data period: LHC11h, LHC15n ... from it we extract the year.
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.
suffix: A string with the type of trigger (default: MB, EMC).

Definition at line 119 of file AddTaskPi0IMGammaCorrQA.C.

Bool_t CheckAnalysisTrigger ( Bool_t  simulation,
TString  trigger,
TString  period,
Int_t  year 
)

Check if the selected trigger is appropriate to run the analysis, depending on the period certain triggers were not available.

Run MC analysis for no trigger.

Parameters
simulationbool with data (0) or MC (1) condition
triggertrigger string name (EMCAL_L0, EMCAL_L1, EMCAL_L2, DCAL_L0, DCAL_L1, DCAL_L2)
periodLHCXX
year2011, ...
Returns
True if analysis can be done.

Definition at line 1147 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

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

Configure the class handling the calorimeter clusters specific methods

Definition at line 470 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 770 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

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

Configure the task doing the trigger particle hadron correlation

Definition at line 903 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

AliAnaParticleIsolation* ConfigureIsolationAnalysis ( TString  particle,
TString  calorimeter,
Bool_t  caloType,
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 814 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

AliAnaPhoton* ConfigurePhotonAnalysis ( TString  calorimeter,
Bool_t  caloType,
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 576 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

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

Configure the task doing the 2 cluster invariant mass analysis

Definition at line 682 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 990 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 353 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

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