AliPhysics  ec7afe5 (ec7afe5)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RerunTrackELoss.C File Reference

Go to the source code of this file.

Functions

TCollectionGetCollection (TDirectory *dir, const TString &name)
 
TObjectGetObject (const TCollection *parent, const TString &name, const TClass *cls=0)
 
TCollectionGetCollection (const TCollection *parent, const TString &name)
 
void RerunTrackELoss (Bool_t forceSet=false, const TString &input="forward_mctracks.root", Bool_t shift=true, const TString &output="")
 

Function Documentation

TCollection* GetCollection ( TDirectory *  dir,
const TString name 
)

Get a collection from a file directory

Parameters
dirParent directory
nameName of collection
Returns
collection or null

Definition at line 9 of file RerunTrackELoss.C.

Referenced by RerunTrackELoss().

TCollection* GetCollection ( const TCollection parent,
const TString name 
)

Get a collection contained in another collection

Parameters
parentParent collection
nameName of collection to find
Returns
Found collection or null

Definition at line 63 of file RerunTrackELoss.C.

TObject* GetObject ( const TCollection parent,
const TString name,
const TClass *  cls = 0 
)

Get an object from a collection. Optionally, we check that the type of the possibly found object matches the request.

Parameters
parentParent collection
nameName of object
clsIf specified, check that the found object (if any) is of this class.
Returns
Found object (possibly type-checked) or null

Definition at line 35 of file RerunTrackELoss.C.

Referenced by GetCollection(), and RerunTrackELoss().

void RerunTrackELoss ( Bool_t  forceSet = false,
const TString input = "forward_mctracks.root",
Bool_t  shift = true,
const TString output = "" 
)

Re-run the energy loss fitter on a merged output file

Parameters
inputFile name of merged output file
outputIf specified, the file the new results are written to. If this is not specified, it defaults to the name of the input file with "_rerun" attached to the base name
forceSetForcibly set things
inputInput file
shiftEnable shift
outputOutput file

Definition at line 82 of file RerunTrackELoss.C.