AliPhysics  4a7363b (4a7363b)

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

#include <TString.h>
#include <TROOT.h>
#include <TSystem.h>
#include "AliLog.h"
#include "AliAnalysisManager.h"
#include "AliInputEventHandler.h"
#include "AliVTrack.h"
#include "AliESDtrackCuts.h"
#include "AliAnalysisTaskCaloTrackCorrelation.h"
#include "AliAnaCaloTrackCorrMaker.h"
#include "AliCaloTrackESDReader.h"
#include "AliCaloTrackAODReader.h"
#include "AliCalorimeterUtils.h"
#include "AliAnaPhoton.h"
#include "AliAnaPi0.h"
#include "AliHistogramRanges.h"
#include "AliAnaParticleIsolation.h"
#include "AliAnaParticleHadronCorrelation.h"
#include "AliAnaChargedParticles.h"
#include "AliAnaCalorimeterQA.h"
#include "AliAnaGeneratorKine.h"
#include "PWGGA/CaloTrackCorrelations/macros/ConfigureAndGetEventTriggerMaskAndCaloTriggerString.C"
#include "PWGGA/CaloTrackCorrelations/macros/CheckActiveEMCalTriggerPerPeriod.C"
#include "PWGGA/CaloTrackCorrelations/macros/GetAlienGlobalProductionVariables.C"
#include "PWGJE/macros/CreateTrackCutsPWGJE.C"
Include dependency graph for AddTaskPi0IMGammaCorrQA.C:

Go to the source code of this file.

Functions

void SetHistoRangeAndNBins (AliHistogramRanges *histoRanges, TString calorimeter, Bool_t caloType, TString collision, Int_t year)
 
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, Int_t year, Int_t debugLevel)
 
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")
 

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 884 of file AddTaskPi0IMGammaCorrQA.C.

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 285 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 595 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 728 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 639 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 401 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 507 of file AddTaskPi0IMGammaCorrQA.C.

Referenced by AddTaskPi0IMGammaCorrQA().

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

Configure the task doing standard calorimeter QA

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

Referenced by AddTaskPi0IMGammaCorrQA().

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