AliPhysics  aaf9c62 (aaf9c62)
emcalReclusterize.C File Reference

Example of execution macro to run the EMCAL clusterization task locally or on the grid (not plugin) More...

Go to the source code of this file.

Enumerations

enum  anaModes {
  mLocal = 0, mPROOF = 1, mPlugin = 2, mGRID = 3,
  mLocal, mGRID, mLocal = 0, mPROOF = 1,
  mPlugin = 2, mGRID = 3, mLocalCAF = 4, mLocal,
  mLocalCAF, mPROOF, mGRID, mLocal,
  mLocalCAF, mPROOF, mGRID
}
 

Functions

void emcalReclusterize (Int_t mode=mLocal)
 
void LoadLibraries (const anaModes mode)
 
void SetupPar (char *pararchivename)
 
void CreateChain (const anaModes mode, TChain *chain)
 

Variables

char * kInDir = "/Users/Gustavo/Work/data/134908/pass1"
 
char * kPattern = ""
 
Int_t kFile = 1
 
char * kXML = "collection.xml"
 
TString kInputData = "AOD"
 
TString kTreeName = "esdTree"
 
Bool_t kUsePhysSel = kFALSE
 
Bool_t kEmbed = kTRUE
 

Detailed Description

Example of execution macro to run the EMCAL clusterization task locally or on the grid (not plugin)

Basic example macro to do EMCal reclusterization.

Pay attention to the options and definitions set in the lines below

A more up-to-date macro can be found in PWGGA/CaloTrackCorrelations/macros/ana.C

Author
: Gustavo Conesa Balbastre Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, (LPSC-CNRS)

Definition in file emcalReclusterize.C.

Enumeration Type Documentation

enum anaModes
Enumerator
mLocal 
mPROOF 

Analyze locally files in your computer.

mPlugin 

Analyze files on GRID with Plugin.

mGRID 

Analyze files on GRID with Plugin.

mLocal 
mGRID 
mLocal 
mPROOF 

Analyze locally files in your computer.

mPlugin 

Analyze files on GRID with Plugin.

mGRID 

Analyze files on GRID with Plugin.

mLocalCAF 

Analyze files on GRID, jobs launched from aliensh.

mLocal 
mLocalCAF 
mPROOF 
mGRID 
mLocal 
mLocalCAF 
mPROOF 
mGRID 

Definition at line 17 of file emcalReclusterize.C.

Function Documentation

void CreateChain ( const anaModes  mode,
TChain chain 
)

Definition at line 302 of file emcalReclusterize.C.

Referenced by emcalReclusterize().

void emcalReclusterize ( Int_t  mode = mLocal)

Definition at line 40 of file emcalReclusterize.C.

void LoadLibraries ( const anaModes  mode)

Definition at line 180 of file emcalReclusterize.C.

Referenced by emcalReclusterize().

void SetupPar ( char *  pararchivename)

Definition at line 251 of file emcalReclusterize.C.

Variable Documentation

Bool_t kEmbed = kTRUE

Definition at line 38 of file emcalReclusterize.C.

Referenced by emcalReclusterize().

Int_t kFile = 1

Definition at line 29 of file emcalReclusterize.C.

Referenced by CreateChain().

char* kInDir = "/Users/Gustavo/Work/data/134908/pass1"

Definition at line 26 of file emcalReclusterize.C.

Referenced by CreateChain().

TString kInputData = "AOD"

Definition at line 35 of file emcalReclusterize.C.

char* kPattern = ""

Definition at line 28 of file emcalReclusterize.C.

Referenced by CreateChain().

TString kTreeName = "esdTree"

Definition at line 36 of file emcalReclusterize.C.

Bool_t kUsePhysSel = kFALSE

Definition at line 37 of file emcalReclusterize.C.

Referenced by emcalReclusterize().

char* kXML = "collection.xml"

Definition at line 32 of file emcalReclusterize.C.

Referenced by CreateChain().