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

Macro for refitting ESD tracks from ESD pads. More...

#include <TStopwatch.h>
#include <TFile.h>
#include <TTree.h>
#include <TString.h>
#include <Riostream.h>
#include <TGeoManager.h>
#include <TRandom.h>
#include <TROOT.h>
#include "AliESDEvent.h"
#include "AliESDMuonTrack.h"
#include "AliCDBManager.h"
#include "AliGeomManager.h"
#include "AliMUONCDB.h"
#include "AliMUONRecoParam.h"
#include "AliMUONESDInterface.h"
#include "AliMUONRefitter.h"
#include "AliMUONVDigit.h"
#include "AliMUONTrack.h"
#include "AliMUONVTrackStore.h"
#include "AliMUONTrackParam.h"
Include dependency graph for MUONRefit.C:

Go to the source code of this file.

Functions

TTree * GetESDTree (TFile *esdFile)
 
void MUONRefit (Int_t nevents=-1, const char *esdFileNameIn="AliESDs.root", const char *esdFileNameOut="AliESDs_New.root", const char *geoFilename="geometry.root", const char *ocdbPath="local://$ALICE_ROOT/OCDB")
 

Variables

const Int_t printLevel = 1
 
const Bool_t reconstructFromDigits = kTRUE
 

Detailed Description

Macro for refitting ESD tracks from ESD pads.

Author
Philippe Pillot, SUBATECH

Definition in file MUONRefit.C.

Function Documentation

TTree* GetESDTree ( TFile *  esdFile)

Check that the file is properly open Return pointer to the ESD Tree

Definition at line 245 of file MUONRefit.C.

Referenced by MUONRefit().

void MUONRefit ( Int_t  nevents = -1,
const char *  esdFileNameIn = "AliESDs.root",
const char *  esdFileNameOut = "AliESDs_New.root",
const char *  geoFilename = "geometry.root",
const char *  ocdbPath = "local://$ALICE_ROOT/OCDB" 
)

Example of muon refitting: refit ESD tracks from ESD pads (i.e. re-clusterized the attached ESD clusters); reset the charge of the digit using their raw charge before refitting; compare results with original ESD tracks; write results in a new ESD file

Definition at line 57 of file MUONRefit.C.

Variable Documentation

const Int_t printLevel = 1

Definition at line 51 of file MUONRefit.C.

Referenced by MUONRefit().

const Bool_t reconstructFromDigits = kTRUE

Definition at line 52 of file MUONRefit.C.

Referenced by MUONRefit().