AliPhysics  8b695ca (8b695ca)

Plot InvMassFit.C output from different inputs, data and MC, in same canvas. More...

#include <TFile.h>
#include <TDirectoryFile.h>
#include <TList.h>
#include <TString.h>
#include <TROOT.h>
#include <TStyle.h>
#include <TH1D.h>
#include <TH2F.h>
#include <TH3F.h>
#include <TCanvas.h>
#include <TPad.h>
#include <TLegend.h>
#include <TObject.h>
#include <TAxis.h>
#include <TGaxis.h>
#include <TLine.h>
#include <TF1.h>
#include <TMath.h>
#include <TGraphErrors.h>
#include "PlotUtils.C"
Include dependency graph for CompareInvMassGraphsMCvsData.C:

Go to the source code of this file.

Functions

void CompareInvMassGraphsMCvsData (TString particle="Pi0", TString calorimeter="EMCAL", TString trigger="default", TString titleMC="simu_pp_7TeV_MB", TString titleData="LHC11cd_INT7")
 File format: ".eps" ".pdf" ... More...
 

Variables

TString fileFormat = ".eps"
 

Detailed Description

Plot InvMassFit.C output from different inputs, data and MC, in same canvas.

Example file to read output from InvMassFit.C, mass, width counts vs pT, per SM or all SM or per cathegory (w/ w/out TRD when applicable) executed for different analysis options and plot them in the same canvas. It only recovers and plots mass vs pT.

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

Function Documentation

void CompareInvMassGraphsMCvsData ( TString  particle = "Pi0",
TString  calorimeter = "EMCAL",
TString  trigger = "default",
TString  titleMC = "simu_pp_7TeV_MB",
TString  titleData = "LHC11cd_INT7" 
)

File format: ".eps" ".pdf" ...

Main method

Parameters
particle: "Pi0", "Eta"
calorimeter: "EMCAL", "DCAL","PHOS"
trigger: calo trigger type
titleMC: Simplified string acronym of input MC
titleData: Simplified string acronym of input data

Definition at line 51 of file CompareInvMassGraphsMCvsData.C.

Variable Documentation

TString fileFormat = ".eps"

Definition at line 39 of file CompareInvMassGraphsMCvsData.C.

Referenced by CompareInvMassGraphsMCvsData().