AliPhysics  master (3d17d9d)

Analysis at generator level configuration. More...

#include <TString.h>
#include <TSystem.h>
#include <TROOT.h>
#include "AliAnalysisManager.h"
#include "AliInputEventHandler.h"
#include "AliCaloTrackMCReader.h"
#include "AliAnalysisTaskCaloTrackCorrelation.h"
#include "AliAnaCaloTrackCorrMaker.h"
#include "AliIsolationCut.h"
#include "AliAnaGeneratorKine.h"
Include dependency graph for AddTaskGenKine.C:

Go to the source code of this file.

Functions

AliCaloTrackReaderConfigureReader ()
 An int setting the isolation method: AliIsolationCut::kPtThresIC, kSumPtIC, ... More...
 
AliCalorimeterUtilsConfigureCaloUtils ()
 
void SetHistoRangeAndNBins (AliHistogramRanges *histoRanges)
 
void ConfigureIsolationCut (AliIsolationCut *ic)
 
AliAnaGeneratorKineConfigureGenKineAnalysis (Bool_t makePartonAna=kTRUE)
 
AliAnalysisTaskCaloTrackCorrelationAddTaskGenKine (Double_t scaleFactor=-1, Bool_t makePartonAna=kFALSE, Int_t partInCone=AliIsolationCut::kNeutralAndCharged, Int_t isoMethod=AliIsolationCut::kSumPtIC, Float_t cone=0.4, Float_t coneMin=-1, Float_t isoCut=2, TString calorimeter="EMCAL", Int_t year=2017, TString col="pp", Int_t debug=-1, Bool_t printConf=kFALSE, TString outputfile="")
 

Variables

TString kCalorimeter = "EMCAL"
 Global variables to be accessed by the different methods. More...
 
Int_t kYears = 2011
 Detector acceptance of trigger particle: EMCAL, DCAL, PHOS, FullCalo. More...
 
TString kCollisName = "pp"
 Year configuration for geometry setting. More...
 
Int_t kDebug = -1
 A string with the colliding system. More...
 
Bool_t kPrintConf = kFALSE
 Debug level. More...
 
Float_t kConeSize = 0.4
 Print configuration settings. More...
 
Float_t kConeSizeMin = -1
 A float setting the isolation cone size higher limit. More...
 
Float_t kIsoCut = 1.5
 A float setting the isolation cone size lower limit. More...
 
Int_t kPartInCone = AliIsolationCut::kNeutralAndCharged
 A float setting the isolation pT threshold (sum of particles in cone or leading particle) More...
 
Int_t kIsoMethod = AliIsolationCut::kSumPtIC
 Type of particles inside the isolation cone: AliIsolationCut::kNeutralAndCharged, kOnlyNeutral, kOnlyCharged. More...
 

Detailed Description

Analysis at generator level configuration.

Example of configuration AliAnaGeneratorKine task of the package CaloTrackCorrelations. Do analysis at generator level only on high-pT photon/pi0/eta and correlate with charged particles jets, partons.

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 AddTaskGenKine.C.

Function Documentation

AliAnalysisTaskCaloTrackCorrelation* AddTaskGenKine ( Double_t  scaleFactor = -1,
Bool_t  makePartonAna = kFALSE,
Int_t  partInCone = AliIsolationCut::kNeutralAndCharged,
Int_t  isoMethod = AliIsolationCut::kSumPtIC,
Float_t  cone = 0.4,
Float_t  coneMin = -1,
Float_t  isoCut = 2,
TString  calorimeter = "EMCAL",
Int_t  year = 2017,
TString  col = "pp",
Int_t  debug = -1,
Bool_t  printConf = kFALSE,
TString  outputfile = "" 
)

Main method calling all the configuration. Creates a CaloTrackCorr task, configures it and adds it to the analysis manager.

Parameters
scaleFactor: double with pT hard bin scale factor
makePartonAna: Bool to de/activate parton/jet related analysis
partInCone: An int setting the type of particles inside the isolation cone: AliIsolationCut::kNeutralAndCharged, AliIsolationCut::kOnlyNeutral, AliIsolationCut::kOnlyCharged, although not needed
isoMethod: An int setting the isolation method: AliIsolationCut::kPtThresIC, kSumPtIC, ...
cone: A float setting the isolation cone size higher limit
coneMin: A float setting the isolation cone size lower limit
isoCutA float setting the isolation pT threshold (sum of particles in cone or leading particle)
calorimeter: A string with the detector: EMCAL, DCAL, PHOS, CTS, FullCalo
year: An int with the data year
col: A string with the colliding system
debug: An int to define the debug level of all the tasks
printConf: A bool to print configuration settings
outputfilestring with output file name

Definition at line 340 of file AddTaskGenKine.C.

Referenced by anaGenKine(), and ConfigureGenKineAnalysis().

AliCalorimeterUtils* ConfigureCaloUtils ( )

Configure the class handling the calorimeter clusters specific methods. Set it off for most of its utilities, no data no calorimeter clusters used, access kine MC.

Definition at line 101 of file AddTaskGenKine.C.

Referenced by AddTaskGenKine().

AliAnaGeneratorKine* ConfigureGenKineAnalysis ( Bool_t  makePartonAna = kTRUE)

Configure the task filling generated particle kinematics histograms

Parameters
makePartonAna: Bool to de/activate parton/jet related analysis

Definition at line 244 of file AddTaskGenKine.C.

Referenced by AddTaskGenKine().

void ConfigureIsolationCut ( AliIsolationCut ic)

Configure the isolation cuts used in ConfigureIsolationAnalysis() and ConfigureHadronCorrelationAnalysis()

Parameters
ic: Pointer to task doing the isolation

Definition at line 185 of file AddTaskGenKine.C.

Referenced by ConfigureGenKineAnalysis().

AliCaloTrackReader* ConfigureReader ( )

An int setting the isolation method: AliIsolationCut::kPtThresIC, kSumPtIC, ...

Configure the class handling the events and cluster/tracks filtering. Set it off for most of its utilities, no data filtering just access kine MC.

Definition at line 50 of file AddTaskGenKine.C.

Referenced by AddTaskGenKine().

void SetHistoRangeAndNBins ( AliHistogramRanges histoRanges)

Set common histograms binning and ranges

Definition at line 135 of file AddTaskGenKine.C.

Referenced by ConfigureGenKineAnalysis().

Variable Documentation

TString kCalorimeter = "EMCAL"

Global variables to be accessed by the different methods.

Definition at line 35 of file AddTaskGenKine.C.

TString kCollisName = "pp"

Year configuration for geometry setting.

Definition at line 37 of file AddTaskGenKine.C.

Float_t kConeSize = 0.4

Print configuration settings.

Definition at line 40 of file AddTaskGenKine.C.

Referenced by AddTaskGenKine(), and ConfigureIsolationCut().

Float_t kConeSizeMin = -1

A float setting the isolation cone size higher limit.

Definition at line 41 of file AddTaskGenKine.C.

Referenced by AddTaskGenKine(), and ConfigureIsolationCut().

Int_t kDebug = -1

A string with the colliding system.

Definition at line 38 of file AddTaskGenKine.C.

Referenced by AddTaskGenKine(), ConfigureCaloUtils(), ConfigureIsolationCut(), and ConfigureReader().

Float_t kIsoCut = 1.5

A float setting the isolation cone size lower limit.

Definition at line 42 of file AddTaskGenKine.C.

Referenced by AddTaskGenKine(), and ConfigureIsolationCut().

Type of particles inside the isolation cone: AliIsolationCut::kNeutralAndCharged, kOnlyNeutral, kOnlyCharged.

Definition at line 44 of file AddTaskGenKine.C.

Referenced by AddTaskGenKine(), and ConfigureIsolationCut().

A float setting the isolation pT threshold (sum of particles in cone or leading particle)

Definition at line 43 of file AddTaskGenKine.C.

Referenced by AddTaskGenKine(), and ConfigureIsolationCut().

Bool_t kPrintConf = kFALSE

Debug level.

Definition at line 39 of file AddTaskGenKine.C.

Referenced by AddTaskGenKine(), ConfigureCaloUtils(), and ConfigureReader().

Int_t kYears = 2011

Detector acceptance of trigger particle: EMCAL, DCAL, PHOS, FullCalo.

Definition at line 36 of file AddTaskGenKine.C.

Referenced by AddTaskGenKine(), ConfigureGenKineAnalysis(), and SetHistoRangeAndNBins().