![]() |
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"
Go to the source code of this file.
Functions | |
void | SetHistoRangeAndNBins (AliHistogramRanges *histoRanges, TString calorimeter, Bool_t caloType, TString collision, Int_t year) |
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) |
AliCalorimeterUtils * | ConfigureCaloUtils (TString calorimeter, TString trigger, Bool_t simulation, Bool_t calibrate, Int_t year, Int_t debugLevel) |
AliAnaPhoton * | ConfigurePhotonAnalysis (TString calorimeter, Bool_t caloType, TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel) |
AliAnaPi0 * | ConfigurePi0Analysis (TString calorimeter, Bool_t caloType, TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel, Int_t minCen) |
AliAnaChargedParticles * | ConfigureChargedAnalysis (TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel) |
AliAnaParticleIsolation * | ConfigureIsolationAnalysis (TString particle, TString calorimeter, Bool_t caloType, TString collision, TString containerName, Bool_t simulation, Int_t year, Int_t debugLevel) |
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) |
AliAnaCalorimeterQA * | ConfigureQAAnalysis (TString calorimeter, TString collision, Int_t year, Int_t debugLevel) |
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") |
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:
Wagon responsible: Gustavo Conesa Balbastre Gusta vo.C onesa .Bal bastr e@ce rn.ch
Definition in file AddTaskPi0IMGammaCorrQA.C.
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:
calorimeter | : A string with he calorimeter used to measure the trigger particle. |
simulation | : A bool identifying the data as simulation. |
collision | A string with the colliding system. |
period | : A string with the data period: LHC11h, LHC15n ... from it we extract the year. |
qaan | execute the detector QA analysis. |
hadronan | execute the track QA and cluster-track correlation analysis. |
calibrate | if OADB was updated with calibration parameters not used in reconstruction, apply them here. |
minTime | minimum time cut, leave it open by default even if calibration available, ns |
maxTime | maximum 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 | ||
) |
Configure histograms ranges and bins
Definition at line 66 of file AddTaskPi0IMGammaCorrQA.C.
Referenced by ConfigureChargedAnalysis(), ConfigureHadronCorrelationAnalysis(), ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), ConfigurePi0Analysis(), and ConfigureQAAnalysis().