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

add brief description More...

#include <Riostream.h>
#include <TClonesArray.h>
#include <TFile.h>
#include <TTree.h>
#include <TMath.h>
#include <TLorentzVector.h>
#include <TParticle.h>
#include <TSystem.h>
#include "AliMUONRecoCheck.h"
#include "AliMUONTrack.h"
#include "AliMUONTrackLight.h"
#include "AliMUONPairLight.h"
#include "AliMUONVTrackStore.h"
#include "AliESDEvent.h"
#include "AliESDVertex.h"
#include "AliESDMuonTrack.h"
#include "AliMCEventHandler.h"
#include "AliMCEvent.h"
#include "AliStack.h"
Include dependency graph for DecodeRecoCocktail.C:

Go to the source code of this file.

Functions

void DecodeRecoCocktail (char *recodir=".", char *simdir="generated/", char *outFileName="MuonLight.root")
 

Detailed Description

add brief description

Author
A. De Falco, H. Woehri, INFN Cagliari, July 2006

This macro reads the generation/reconstruction files in the input directories (recodir and simdir), builds a tree that contains, for each event, an array of muons and dimuons (TClonesArrays of AliMUONTrackLight and AliMUONPairLight objects) and writes the tree in an output file (outFileName) Note that if the path for the output file is not explicitly specified, it will be written in the directory containing the generation/reconstruction 27-Nov-2006: modified by in order to loop on files

13 Nov 2007: Updated this macro to work with new version of AliMUONRecoCheck. Also, we are now fetching reconstructed track data from ESD and not the track tree, because the AliMUONTrack objects for reconstructed tracks are no longer stored on disk.

Definition in file DecodeRecoCocktail.C.

Function Documentation

void DecodeRecoCocktail ( char *  recodir = ".",
char *  simdir = "generated/",
char *  outFileName = "MuonLight.root" 
)
Parameters
recodirThe directory containing galice.root for reconstructed data.
simdirThe directory containing galice.root for simulated data.
outFileNameThe output filename containing AliMUONTrackLight and AliMUONPairLight objects.

Definition at line 66 of file DecodeRecoCocktail.C.