AliRoot Core  3dc7879 (3dc7879)
MUONefficiency.C File Reference

add brief description More...

#include "AliMUONCDB.h"
#include "AliMUONTrackParam.h"
#include "AliMUONTrackExtrap.h"
#include "AliMUONESDInterface.h"
#include "AliRun.h"
#include "AliRunLoader.h"
#include "AliHeader.h"
#include "AliLoader.h"
#include "AliStack.h"
#include "AliESDEvent.h"
#include "AliESDVertex.h"
#include "AliCDBManager.h"
#include "AliESDMuonTrack.h"
#include "TTree.h"
#include "TNtuple.h"
#include "TLorentzVector.h"
#include "TFile.h"
#include "TH1.h"
#include "TH2.h"
#include "TParticle.h"
#include "TString.h"
#include <Riostream.h>
#include <TGeoManager.h>
#include <TROOT.h>
#include <TF1.h>
#include <TMath.h>
Include dependency graph for MUONefficiency.C:

Go to the source code of this file.


Bool_t MUONefficiency (const char *filename="generated/galice.root", const char *esdFileName="AliESDs.root", const char *geoFilename="generated/geometry.root", const char *ocdbPath="local://$ALICE_ROOT/OCDB", Int_t ExtrapToVertex=-1, Int_t ResType=553, Int_t FirstEvent=0, Int_t LastEvent=1000000)

Detailed Description

add brief description

Macro (upgraded version of MUONmassPlot_ESD.C, better handling of Jpsi) to make :

  • Ntuple (Ktuple) containing Upsilon kinematics variables (from kinematics.root files)
  • Ntuple (ESDtuple) containing Upsilon kinematics variables from reconstruction and combinations of 2 muons with opposite charges (ESDtupleBck will be used later)
  • Some QA histograms Ntuple are stored in the file MUONefficiency.root and ESD tree and QA histograms in AliESDs.root
Christophe Suire, IPN Orsay

Definition in file MUONefficiency.C.

Function Documentation

Bool_t MUONefficiency ( const char *  filename = "generated/galice.root",
const char *  esdFileName = "AliESDs.root",
const char *  geoFilename = "generated/geometry.root",
const char *  ocdbPath = "local://$ALICE_ROOT/OCDB",
Int_t  ExtrapToVertex = -1,
Int_t  ResType = 553,
Int_t  FirstEvent = 0,
Int_t  LastEvent = 1000000 
ExtrapToVertex(default -1)
  • <0: no extrapolation;
  • =0: extrapolation to (0,0,0);
  • >0: extrapolation to ESDVertex if available, else to (0,0,0)
ResType553 for Upsilon, 443 for J/Psi (default 553)
FirstEvent(default 0)
LastEvent(default 1.e6)
Chi2Cutto keep only tracks with chi2 per d.o.f. < Chi2Cut (default 100)

Definition at line 69 of file MUONefficiency.C.