AliPhysics  8417398 (8417398)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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, 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.

mLocal 
mLocalCAF 
mPROOF 
mGRID 
mLocal 
mLocalCAF 
mPROOF 
mGRID 

Definition at line 26 of file emcalReclusterize.C.

Function Documentation

void CreateChain ( const anaModes  mode,
TChain *  chain 
)

Definition at line 311 of file emcalReclusterize.C.

Referenced by emcalReclusterize().

void emcalReclusterize ( Int_t  mode = mLocal)

Definition at line 49 of file emcalReclusterize.C.

void LoadLibraries ( const anaModes  mode)

Definition at line 189 of file emcalReclusterize.C.

Referenced by emcalReclusterize().

void SetupPar ( char *  pararchivename)

Definition at line 260 of file emcalReclusterize.C.

Variable Documentation

Bool_t kEmbed = kTRUE

Definition at line 47 of file emcalReclusterize.C.

Referenced by emcalReclusterize().

Int_t kFile = 1

Definition at line 38 of file emcalReclusterize.C.

Referenced by CreateChain().

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

Definition at line 35 of file emcalReclusterize.C.

Referenced by CreateChain().

TString kInputData = "AOD"

Definition at line 44 of file emcalReclusterize.C.

Referenced by CreateChain(), and emcalReclusterize().

char* kPattern = ""

Definition at line 37 of file emcalReclusterize.C.

Referenced by CreateChain().

TString kTreeName = "esdTree"

Definition at line 45 of file emcalReclusterize.C.

Referenced by CreateChain(), and emcalReclusterize().

Bool_t kUsePhysSel = kFALSE

Definition at line 46 of file emcalReclusterize.C.

Referenced by emcalReclusterize().

char* kXML = "collection.xml"

Definition at line 41 of file emcalReclusterize.C.

Referenced by CreateChain().