![]() |
AliPhysics
4a7363b (4a7363b)
|
Example of configuration of CaloTrackCorrelation package. More...
#include <TString.h>
#include <TROOT.h>
#include <TSystem.h>
#include "AliAnalysisManager.h"
#include "AliInputEventHandler.h"
#include "AliLog.h"
#include "AliAnalysisTaskCaloTrackCorrelation.h"
#include "AliAnaCaloTrackCorrMaker.h"
#include "AliCaloTrackMCReader.h"
#include "AliCaloTrackESDReader.h"
#include "AliCaloTrackAODReader.h"
#include "AliCalorimeterUtils.h"
#include "AliHistogramRanges.h"
#include "AliAnaPhoton.h"
#include "AliAnaPi0.h"
#include "AliAnaParticleIsolation.h"
#include "AliAnaParticleHadronCorrelation.h"
#include "AliAnaChargedParticles.h"
#include "AliAnaCalorimeterQA.h"
#include "AliAnaGeneratorKine.h"
#include "AliAnaEMCALTriggerClusters.h"
#include "AliAnaClusterPileUp.h"
#include "AliAnaElectron.h"
#include "AliAnaRandomTrigger.h"
#include "AliAnaInsideClusterInvariantMass.h"
#include "AliAnaPi0EbE.h"
#include "AliVTrack.h"
#include "AliESDtrackCuts.h"
#include "CreateTrackCutsPWGJE.C"
#include "ConfigureEMCALRecoUtils.C"
Go to the source code of this file.
Variables | |
Bool_t | kPrintAnaInfo = kFALSE |
Global variables to be accessed by the different methods. More... | |
Bool_t | kSimulation = kFALSE |
Declare the analysis simulation. More... | |
Bool_t | kOutputAOD = kFALSE |
Create output AOD with generated particle AOD objects. More... | |
Bool_t | kEventSelection = kFALSE |
Remove bad events. More... | |
Bool_t | kExotic = kTRUE |
Remove exotic clusters. More... | |
Bool_t | kNonLinearity = kFALSE |
Correct cluster non linearity. More... | |
Int_t | kYears = 2011 |
Declare the year of the data. More... | |
TString | kCollisions = "pp" |
Declare the collision type of the data. More... | |
TString | kTrig = "EMC7" |
Set the trigger type to analyze in data. More... | |
TString | kClusterArray = "" |
Name of branch with clusters, default none, standard branch. More... | |
TString | kData = "" |
Declare data MC or deltaAOD. More... | |
TString | kInputDataType = "ESD" |
Declare data ESD/AOD. More... | |
TString | kCalorimeter = "EMCAL" |
Use main analysis detector EMCal or PHOS or CTS. More... | |
Bool_t | kTM = kTRUE |
Remove matched clusters to tracks. More... | |
Bool_t | kRecalTM = kTRUE |
Recalculate track-cluster matching. More... | |
Int_t | kMinCen = -1 |
Set the minimum centrality to be analyzed. More... | |
Int_t | kMaxCen = -1 |
Set the maximum centrality to be analyzed. More... | |
TString | kName = "" |
Name of the analysis, used in created AOD branches and histo container. More... | |
Int_t | kDebug = -1 |
Do the analysis with this debug level. More... | |
Bool_t | kQA = kFALSE |
Execute the calorimeter QA analaysis. More... | |
Bool_t | kHadronAN = kFALSE |
Execute the hadron selection and correlation analysis. More... | |
Bool_t | kCalibE = kTRUE |
Calibrate energy of clusters. More... | |
Bool_t | kCalibT = kTRUE |
Calibrate time of clusters. More... | |
Bool_t | kBadMap = kTRUE |
Reject bad cells/clusters. More... | |
Bool_t | kTender = kFALSE |
Declare that tender was executed. More... | |
Bool_t | kMix = kFALSE |
Do mixing analysis. More... | |
Int_t | kRunNumber = -1 |
Declare the run number. More... | |
Example of configuration of CaloTrackCorrelation package.
Example of configuration of different analysis combinations of the package CaloTrackCorrelations.
Definition in file AddTaskCaloTrackCorr.C.
AliAnalysisTaskCaloTrackCorrelation* AddTaskCaloTrackCorr | ( | const TString | data = "" , |
const TString | calorimeter = "EMCAL" , |
||
const Bool_t | simulation = kFALSE , |
||
const Bool_t | eventsel = kFALSE , |
||
const Bool_t | exotic = kTRUE , |
||
const Bool_t | nonlin = kFALSE , |
||
TString | outputfile = "" , |
||
const Int_t | year = 2010 , |
||
const TString | col = "pp" , |
||
const TString | trigger = "MB" , |
||
const TString | clustersArray = "V1" , |
||
const Bool_t | mix = kTRUE , |
||
const Bool_t | recaltm = kTRUE , |
||
const Bool_t | tm = kTRUE , |
||
const Int_t | minCen = -1 , |
||
const Int_t | maxCen = -1 , |
||
const Bool_t | qaan = kFALSE , |
||
const Bool_t | hadronan = kFALSE , |
||
const Bool_t | calibE = kTRUE , |
||
const Bool_t | badmap = kTRUE , |
||
const Bool_t | calibT = kTRUE , |
||
const Bool_t | tender = kFALSE , |
||
const Bool_t | outputAOD = kFALSE , |
||
const Bool_t | printSettings = kFALSE , |
||
const Double_t | scaleFactor = -1 , |
||
const Int_t | runNumber = -1 |
||
) |
Main method calling all the configuration Creates a CaloTrackCorr task, configures it and adds it to the analysis manager.
Definition at line 1640 of file AddTaskCaloTrackCorr.C.
AliCalorimeterUtils* ConfigureCaloUtils | ( | ) |
Configure the class handling the calorimeter clusters specific methods
Definition at line 503 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaChargedParticles* ConfigureChargedAnalysis | ( | ) |
Configure the task doing charged track selection
Definition at line 978 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaClusterPileUp* ConfigureClusterPileUpAnalysis | ( | ) |
Configure the task doing the checks on clusters pile-up events For filling all histograms meaninfully, in the reader, time cut must be off and bad triggered events in different BC not rejected.
Definition at line 719 of file AddTaskCaloTrackCorr.C.
AliAnaElectron* ConfigureElectronAnalysis | ( | ) |
Configure the task doing electron (or charged hadron) cluster selections Basically the track matching, minor shower shape cut, NLM selection, dEdx, E/p ...
Definition at line 743 of file AddTaskCaloTrackCorr.C.
AliAnaEMCALTriggerClusters* ConfigureEMCALTriggerClusterAnalysis | ( | ) |
Configure the task doing the checks on clusters triggered events For filling all histograms meaninfully, in the reader, time cut must be off and bad triggered events not rejected, and of course analyze triggered events.
Definition at line 692 of file AddTaskCaloTrackCorr.C.
AliAnaGeneratorKine* ConfigureGenKineAnalysis | ( | ) |
Configure the task doing analysis at the generator level of high pT photon or pi0 and correlations.
Definition at line 1601 of file AddTaskCaloTrackCorr.C.
AliAnaParticleHadronCorrelation* ConfigureHadronCorrelationAnalysis | ( | TString | particle, |
Bool_t | bIsolated, | ||
Int_t | partInCone = AliIsolationCut::kOnlyCharged , |
||
Int_t | thresType = AliIsolationCut::kSumPtFracIC , |
||
Float_t | cone = 0.3 , |
||
Float_t | pth = 0.3 |
||
) |
Configure the task doing the trigger particle hadron correlation
Definition at line 1370 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaInsideClusterInvariantMass* ConfigureInClusterIMAnalysis | ( | Bool_t | useSS = kTRUE , |
Bool_t | useAsy = kFALSE |
||
) |
Configure the task doing cluster identification as merged pi0/eta decays
Definition at line 871 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaParticleIsolation* ConfigureIsolationAnalysis | ( | 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 | multi = kFALSE |
||
) |
Configure the task doing the trigger particle isolation
Definition at line 1246 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
void ConfigureMC | ( | AliAnaCaloTrackCorrBaseClass * | ana | ) |
Configure the selection of MC events
Definition at line 254 of file AddTaskCaloTrackCorr.C.
Referenced by ConfigureChargedAnalysis(), ConfigureElectronAnalysis(), ConfigureHadronCorrelationAnalysis(), ConfigureInClusterIMAnalysis(), ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), ConfigurePi0Analysis(), ConfigurePi0EbEAnalysis(), and ConfigureQAAnalysis().
AliAnaPhoton* ConfigurePhotonAnalysis | ( | ) |
Configure the task doing the first photon cluster selections Basically the track matching, minor shower shape cut, NLM selection ...
Definition at line 596 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaPi0* ConfigurePi0Analysis | ( | ) |
Configure the task doing the 2 cluster invariant mass analysis
Definition at line 1023 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaPi0EbE* ConfigurePi0EbEAnalysis | ( | TString | particle, |
Int_t | analysis, | ||
Bool_t | useSS = kTRUE , |
||
Bool_t | useAsy = kTRUE |
||
) |
Configure the task doing the pi0 even by event selection via the split method. Here the pairs, clusters, are added to an AOD branch to be used by other analysis unlike in ConfigurePi0Analysis.
Definition at line 1087 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaCalorimeterQA* ConfigureQAAnalysis | ( | ) |
Configure the task doing standard calorimeter QA
Definition at line 1557 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaRandomTrigger* ConfigureRandomTriggerAnalysis | ( | TString | detector = "" | ) |
Configure the task doing random trigger generation
Definition at line 812 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliCaloTrackReader* ConfigureReader | ( | ) |
Configure the class handling the events and cluster/tracks filtering.
Definition at line 263 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
void SetHistoRangeAndNBins | ( | AliHistogramRanges * | histoRanges | ) |
Set common histograms binning and ranges
Definition at line 85 of file AddTaskCaloTrackCorr.C.
Referenced by ConfigureChargedAnalysis(), ConfigureClusterPileUpAnalysis(), ConfigureElectronAnalysis(), ConfigureEMCALTriggerClusterAnalysis(), ConfigureGenKineAnalysis(), ConfigureHadronCorrelationAnalysis(), ConfigureInClusterIMAnalysis(), ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), ConfigurePi0Analysis(), ConfigurePi0EbEAnalysis(), ConfigureQAAnalysis(), and ConfigureRandomTriggerAnalysis().
UInt_t SetTriggerMaskFromName | ( | ) |
Set the trigger requested for the analysis, depending on a string given
Definition at line 175 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureReader().
Bool_t kBadMap = kTRUE |
Reject bad cells/clusters.
Definition at line 76 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureCaloUtils().
Bool_t kCalibE = kTRUE |
Calibrate energy of clusters.
Definition at line 74 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureCaloUtils().
Bool_t kCalibT = kTRUE |
Calibrate time of clusters.
Definition at line 75 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), and ConfigureReader().
TString kCalorimeter = "EMCAL" |
Use main analysis detector EMCal or PHOS or CTS.
Definition at line 65 of file AddTaskCaloTrackCorr.C.
Referenced by ConfigureRandomTriggerAnalysis().
TString kClusterArray = "" |
Name of branch with clusters, default none, standard branch.
Definition at line 62 of file AddTaskCaloTrackCorr.C.
TString kCollisions = "pp" |
Declare the collision type of the data.
Definition at line 60 of file AddTaskCaloTrackCorr.C.
TString kData = "" |
Declare data MC or deltaAOD.
Definition at line 63 of file AddTaskCaloTrackCorr.C.
Referenced by AliAnalysisTaskRecursiveSoftDrop::DoSubJetAreaSub(), AliTrackletdNdetaTask::FindMode(), AliTrackletTaskMulti::InitMultReco(), AliTrackletAODTask::Reconstruct(), and AliTrackletdNdetaTask::Reconstruct().
Int_t kDebug = -1 |
Do the analysis with this debug level.
Definition at line 71 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), ConfigureChargedAnalysis(), ConfigureClusterPileUpAnalysis(), ConfigureElectronAnalysis(), ConfigureEMCALTriggerClusterAnalysis(), ConfigureGenKineAnalysis(), ConfigureHadronCorrelationAnalysis(), ConfigureInClusterIMAnalysis(), ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), ConfigurePi0Analysis(), ConfigurePi0EbEAnalysis(), ConfigureQAAnalysis(), ConfigureRandomTriggerAnalysis(), ConfigureReader(), and AliAnalysisTaskdPhi::FindDeltaAODBranchName().
Bool_t kEventSelection = kFALSE |
Remove bad events.
Definition at line 56 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureReader().
Bool_t kExotic = kTRUE |
Remove exotic clusters.
Definition at line 57 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), and ConfigureQAAnalysis().
Bool_t kHadronAN = kFALSE |
Execute the hadron selection and correlation analysis.
Definition at line 73 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
TString kInputDataType = "ESD" |
Declare data ESD/AOD.
Definition at line 64 of file AddTaskCaloTrackCorr.C.
Int_t kMaxCen = -1 |
Set the maximum centrality to be analyzed.
Definition at line 69 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureReader().
Int_t kMinCen = -1 |
Set the minimum centrality to be analyzed.
Definition at line 68 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureReader().
Bool_t kMix = kFALSE |
Do mixing analysis.
Definition at line 78 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureHadronCorrelationAnalysis(), and ConfigureReader().
TString kName = "" |
Name of the analysis, used in created AOD branches and histo container.
Definition at line 70 of file AddTaskCaloTrackCorr.C.
Bool_t kNonLinearity = kFALSE |
Correct cluster non linearity.
Definition at line 58 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), and ConfigureReader().
Bool_t kOutputAOD = kFALSE |
Create output AOD with generated particle AOD objects.
Definition at line 55 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureReader().
Bool_t kPrintAnaInfo = kFALSE |
Global variables to be accessed by the different methods.
Print setted parameters when configuring
Definition at line 52 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), ConfigureChargedAnalysis(), ConfigureClusterPileUpAnalysis(), ConfigureElectronAnalysis(), ConfigureEMCALTriggerClusterAnalysis(), ConfigureGenKineAnalysis(), ConfigureHadronCorrelationAnalysis(), ConfigureInClusterIMAnalysis(), ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), ConfigurePi0Analysis(), ConfigurePi0EbEAnalysis(), ConfigureQAAnalysis(), ConfigureRandomTriggerAnalysis(), and ConfigureReader().
Bool_t kQA = kFALSE |
Execute the calorimeter QA analaysis.
Definition at line 72 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
Bool_t kRecalTM = kTRUE |
Recalculate track-cluster matching.
Definition at line 67 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureCaloUtils().
Int_t kRunNumber = -1 |
Declare the run number.
Definition at line 79 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureElectronAnalysis(), and ConfigureReader().
Bool_t kSimulation = kFALSE |
Declare the analysis simulation.
Definition at line 53 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), AddTaskEMCALTriggerQA(), ConfigureCaloUtils(), ConfigureChargedAnalysis(), ConfigureElectronAnalysis(), ConfigureInClusterIMAnalysis(), ConfigureIsolationAnalysis(), ConfigureMC(), ConfigurePhotonAnalysis(), ConfigurePi0EbEAnalysis(), and ConfigureReader().
Bool_t kTender = kFALSE |
Declare that tender was executed.
Definition at line 77 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), and ConfigureReader().
Bool_t kTM = kTRUE |
Remove matched clusters to tracks.
Definition at line 66 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureElectronAnalysis(), ConfigureHadronCorrelationAnalysis(), ConfigureInClusterIMAnalysis(), ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), ConfigurePi0Analysis(), and ConfigurePi0EbEAnalysis().
TString kTrig = "EMC7" |
Set the trigger type to analyze in data.
Definition at line 61 of file AddTaskCaloTrackCorr.C.
Int_t kYears = 2011 |
Declare the year of the data.
Definition at line 59 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), ConfigureReader(), and SetHistoRangeAndNBins().