![]() |
AliPhysics
8417398 (8417398)
|
Example of configuration of CaloTrackCorrelation package. More...
Go to the source code of this file.
Functions | |
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) |
AliCaloTrackReader * | ConfigureReader () |
AliCalorimeterUtils * | ConfigureCaloUtils () |
AliAnaPhoton * | ConfigurePhotonAnalysis () |
AliAnaEMCALTriggerClusters * | ConfigureEMCALTriggerClusterAnalysis () |
AliAnaClusterPileUp * | ConfigureClusterPileUpAnalysis () |
AliAnaElectron * | ConfigureElectronAnalysis () |
AliAnaRandomTrigger * | ConfigureRandomTriggerAnalysis (TString detector="") |
AliAnaInsideClusterInvariantMass * | ConfigureInClusterIMAnalysis (Bool_t useSS=kTRUE, Bool_t useAsy=kFALSE) |
AliAnaChargedParticles * | ConfigureChargedAnalysis () |
AliAnaPi0 * | ConfigurePi0Analysis () |
AliAnaPi0EbE * | ConfigurePi0EbEAnalysis (TString particle, Int_t analysis, Bool_t useSS=kTRUE, Bool_t useAsy=kTRUE) |
AliAnaInsideClusterInvariantMass * | ConfigureInClusterIMAnalysis (Float_t l0min, Float_t l0max) |
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) |
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) |
AliAnaCalorimeterQA * | ConfigureQAAnalysis () |
AliAnaGeneratorKine * | ConfigureGenKineAnalysis () |
void | ConfigureMC (AliAnaCaloTrackCorrBaseClass *ana) |
void | SetHistoRangeAndNBins (AliHistogramRanges *histoRanges) |
UInt_t | SetTriggerMaskFromName () |
Variables | |
Bool_t | kPrint = kFALSE |
Global variables to be accessed by the different methods. More... | |
Bool_t | kSimulation = kFALSE |
Declare the analysis simulation. More... | |
Bool_t | kUseKinematics = kFALSE |
Use the MC information. 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 43 of file AddTaskCaloTrackCorr.C.
Referenced by ana().
AliCalorimeterUtils* ConfigureCaloUtils | ( | ) |
Configure the class handling the calorimeter clusters specific methods
Definition at line 548 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaChargedParticles* ConfigureChargedAnalysis | ( | ) |
Configure the task doing charged track selection
Definition at line 1023 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 764 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 788 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 737 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 1679 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 1446 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 916 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaInsideClusterInvariantMass* ConfigureInClusterIMAnalysis | ( | Float_t | l0min, |
Float_t | l0max | ||
) |
Configure the task doing the identification of merged clusters as pi0 or eta same as one of the options of ConfigurePi0EbEAnalysis, but here no AOD with selected particles is created
Definition at line 1285 of file AddTaskCaloTrackCorr.C.
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 1322 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
void ConfigureMC | ( | AliAnaCaloTrackCorrBaseClass * | ana | ) |
Configure the selection of MC events
Definition at line 1715 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 641 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaPi0* ConfigurePi0Analysis | ( | ) |
Configure the task doing the 2 cluster invariant mass analysis
Definition at line 1068 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 1124 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaCalorimeterQA* ConfigureQAAnalysis | ( | ) |
Configure the task doing standard calorimeter QA
Definition at line 1633 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliAnaRandomTrigger* ConfigureRandomTriggerAnalysis | ( | TString | detector = "" | ) |
Configure the task doing random trigger generation
Definition at line 857 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
AliCaloTrackReader* ConfigureReader | ( | ) |
Configure the class handling the events and cluster/tracks filtering.
Definition at line 296 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
void SetHistoRangeAndNBins | ( | AliHistogramRanges * | histoRanges | ) |
Set common histograms binning and ranges
Definition at line 1727 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 1817 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureReader().
Bool_t kBadMap = kTRUE |
Reject bad cells/clusters.
Definition at line 34 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureCaloUtils().
Bool_t kCalibE = kTRUE |
Calibrate energy of clusters.
Definition at line 32 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureCaloUtils().
Bool_t kCalibT = kTRUE |
Calibrate time of clusters.
Definition at line 33 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 23 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), ConfigureElectronAnalysis(), ConfigureHadronCorrelationAnalysis(), ConfigureInClusterIMAnalysis(), ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), ConfigurePi0Analysis(), ConfigurePi0EbEAnalysis(), ConfigureQAAnalysis(), ConfigureRandomTriggerAnalysis(), and SetHistoRangeAndNBins().
TString kClusterArray = "" |
Name of branch with clusters, default none, standard branch.
Definition at line 20 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), ConfigureQAAnalysis(), and ConfigureReader().
TString kCollisions = "pp" |
Declare the collision type of the data.
Definition at line 18 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), ConfigureHadronCorrelationAnalysis(), ConfigureInClusterIMAnalysis(), ConfigureIsolationAnalysis(), ConfigurePi0Analysis(), ConfigurePi0EbEAnalysis(), ConfigureReader(), and SetHistoRangeAndNBins().
TString kData = "" |
Declare data MC or deltaAOD.
Definition at line 21 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureChargedAnalysis(), ConfigureElectronAnalysis(), ConfigurePhotonAnalysis(), ConfigureRandomTriggerAnalysis(), and ConfigureReader().
Int_t kDebug = -1 |
Do the analysis with this debug level.
Definition at line 29 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 kEventSelection = kFALSE |
Remove bad events.
Definition at line 14 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureReader().
Bool_t kExotic = kTRUE |
Remove exotic clusters.
Definition at line 15 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), and ConfigureQAAnalysis().
Bool_t kHadronAN = kFALSE |
Execute the hadron selection and correlation analysis.
Definition at line 31 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
TString kInputDataType = "ESD" |
Declare data ESD/AOD.
Definition at line 22 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigurePi0EbEAnalysis(), and ConfigureReader().
Int_t kMaxCen = -1 |
Set the maximum centrality to be analyzed.
Definition at line 27 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureReader().
Int_t kMinCen = -1 |
Set the minimum centrality to be analyzed.
Definition at line 26 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureReader().
Bool_t kMix = kFALSE |
Do mixing analysis.
Definition at line 36 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 28 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), ConfigureChargedAnalysis(), ConfigureElectronAnalysis(), ConfigureHadronCorrelationAnalysis(), ConfigureInClusterIMAnalysis(), ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), ConfigurePi0Analysis(), ConfigurePi0EbEAnalysis(), and ConfigureRandomTriggerAnalysis().
Bool_t kNonLinearity = kFALSE |
Correct cluster non linearity.
Definition at line 16 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 13 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureReader().
Bool_t kPrint = kFALSE |
Global variables to be accessed by the different methods.
Print setted parameters when configuring
Definition at line 10 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ana(), 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 30 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr().
Bool_t kRecalTM = kTRUE |
Recalculate track-cluster matching.
Definition at line 25 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), and ConfigureCaloUtils().
Int_t kRunNumber = -1 |
Declare the run number.
Definition at line 37 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureElectronAnalysis(), and ConfigureReader().
Bool_t kSimulation = kFALSE |
Declare the analysis simulation.
Definition at line 11 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 35 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), and ConfigureReader().
Bool_t kTM = kTRUE |
Remove matched clusters to tracks.
Definition at line 24 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 19 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureQAAnalysis(), and SetTriggerMaskFromName().
Bool_t kUseKinematics = kFALSE |
Use the MC information.
Definition at line 12 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCalorimeterQA(), AddTaskCaloTrackCorr(), AddTaskCaloTrackCorrM(), AddTaskEMCALTriggerQA(), and ConfigureReader().
Int_t kYears = 2011 |
Declare the year of the data.
Definition at line 17 of file AddTaskCaloTrackCorr.C.
Referenced by AddTaskCaloTrackCorr(), ConfigureCaloUtils(), ConfigureReader(), and SetHistoRangeAndNBins().