AliPhysics  608b256 (608b256)

Print pT-hard cross section scale factor. More...

#include <TH1F.h>
#include <TList.h>
#include <TString.h>
#include <TFile.h>
Include dependency graph for PrintScaleFactors.C:

Go to the source code of this file.

Functions

void ForBin (Int_t bin=-1, TString prodName="pp_7TeV_GJ", TString fileName="Merged", TString listName="CTC_EMCAL_Trig_default_ClV1_Ecell100_Eseed500_SPDPileUp")
 
void PrintScaleFactors (TString prodName="pp_7TeV_GJ", TString fileName="Merged", TString listName="CTC_EMCAL_Trig_default_ClV1_Ecell100_Eseed500_SPDPileUp", Int_t bin=-1)
 

Detailed Description

Print pT-hard cross section scale factor.

Macro that prints the cross section scaling factors for MC pT-hard binned productions from the output of CaloTrackCorr analysis histgrams. The output histograms must be placed in different directories with ProductionName/PtHardBinNumber/FileName.root

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

Function Documentation

void ForBin ( Int_t  bin = -1,
TString  prodName = "pp_7TeV_GJ",
TString  fileName = "Merged",
TString  listName = "CTC_EMCAL_Trig_default_ClV1_Ecell100_Eseed500_SPDPileUp" 
)

Get the cross section value for a given pT hard bin

Parameters
bin: pT hard bin number
prodName: Name of directory with production factors to be printed
fileName: Name of analysis output
listName: Name of analysis output inside the output file

Definition at line 31 of file PrintScaleFactors.C.

Referenced by PrintScaleFactors().

void PrintScaleFactors ( TString  prodName = "pp_7TeV_GJ",
TString  fileName = "Merged",
TString  listName = "CTC_EMCAL_Trig_default_ClV1_Ecell100_Eseed500_SPDPileUp",
Int_t  bin = -1 
)

Main method, get the cross section value for all or a given pT hard bin

Parameters
bin: pT hard bin number, if "-1", bins from 0 to 20 are checked and printed
prodName: Name of directory with production factors to be printed
fileName: Name of analysis output
listName: Name of analysis output inside the output file

Definition at line 90 of file PrintScaleFactors.C.

Referenced by ForBin().