AliRoot Core  7e03155 (7e03155)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MUONplotefficiency.C File Reference

Macro to compare/plot the Ntuple stored in MUONefficiency.root. More...

#include "TStyle.h"
#include "TNtuple.h"
#include "TF1.h"
#include "TH1.h"
#include "TH2.h"
#include "TLatex.h"
#include "TFile.h"
#include "TLegend.h"
#include "TCanvas.h"
#include "TGraphErrors.h"
#include <Riostream.h>
#include "TMath.h"
Include dependency graph for MUONplotefficiency.C:

Go to the source code of this file.

Functions

Double_t fitlandau_a (Double_t *x, Double_t *par)
 
Double_t fitlandau (Double_t *x, Double_t *par)
 
Double_t fitlandaugauss (Double_t *x, Double_t *par)
 
Int_t MUONplotefficiency (Int_t ResType=553, Int_t fittype=1)
 

Detailed Description

Macro to compare/plot the Ntuple stored in MUONefficiency.root.

Comparison is done between the generated and reconstructed resonance. Default is Upsilon but Jpsi can be studied if the ResType argument is changed. This allows to determine several important quantities:

  • reconstruction efficiency (vs pt,y), invariant mass peak variations (vs pt,y)
  • reconstructed tracks and trigger tracks matching efficiency
Author
Christophe Suire, IPN Orsay

Definition in file MUONplotefficiency.C.

Function Documentation

Double_t fitlandau ( Double_t *  x,
Double_t *  par 
)

Definition at line 56 of file MUONplotefficiency.C.

Referenced by MUONplotefficiency().

Double_t fitlandau_a ( Double_t *  x,
Double_t *  par 
)

Definition at line 49 of file MUONplotefficiency.C.

Referenced by MUONplotefficiency().

Double_t fitlandaugauss ( Double_t *  x,
Double_t *  par 
)

Definition at line 62 of file MUONplotefficiency.C.

Referenced by MUONplotefficiency().

Int_t MUONplotefficiency ( Int_t  ResType = 553,
Int_t  fittype = 1 
)

Definition at line 84 of file MUONplotefficiency.C.