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

Example of execution macro to run the Calorimeter filter 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 anaCaloFilter (Int_t mode=mLocal)
 
void LoadLibraries (const anaModes mode)
 
void SetupPar (char *pararchivename)
 
void CreateChain (const anaModes mode, TChain *chain)
 

Variables

char * kInDir = "/user/data/files/"
 
char * kPattern = ""
 
Int_t kFile = 1
 
char * kXML = "collection.xml"
 
const TString kInputData = "ESD"
 
TString kTreeName = "esdTree"
 
Bool_t kUsePhysSel = kTRUE
 

Detailed Description

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

Basic example macro to do Calorimeters filtering copy ESDs into AODs, or AODs to AODs and filtering

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 anaCaloFilter.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 anaCaloFilter.C.

Function Documentation

void anaCaloFilter ( Int_t  mode = mLocal)

Definition at line 38 of file anaCaloFilter.C.

void CreateChain ( const anaModes  mode,
TChain chain 
)

Definition at line 284 of file anaCaloFilter.C.

Referenced by anaCaloFilter().

void LoadLibraries ( const anaModes  mode)

Definition at line 149 of file anaCaloFilter.C.

Referenced by anaCaloFilter().

void SetupPar ( char *  pararchivename)

Definition at line 233 of file anaCaloFilter.C.

Variable Documentation

Int_t kFile = 1

Definition at line 28 of file anaCaloFilter.C.

Referenced by CreateChain().

char* kInDir = "/user/data/files/"

Definition at line 26 of file anaCaloFilter.C.

Referenced by CreateChain().

const TString kInputData = "ESD"

Definition at line 34 of file anaCaloFilter.C.

char* kPattern = ""

Definition at line 27 of file anaCaloFilter.C.

Referenced by CreateChain().

TString kTreeName = "esdTree"

Definition at line 35 of file anaCaloFilter.C.

Bool_t kUsePhysSel = kTRUE

Definition at line 36 of file anaCaloFilter.C.

Referenced by anaCaloFilter().

char* kXML = "collection.xml"

Definition at line 31 of file anaCaloFilter.C.

Referenced by CreateChain().