![]() |
AliPhysics
b81c3d2 (b81c3d2)
|
Public Member Functions | |
TrackletdNdetaTrain (const char *name) | |
AliVEventHandler * | CreateInputHandler (UShort_t type, Bool_t needRec=false) |
AliVEventHandler * | CreateMCHandler (UShort_t type, bool mc) |
virtual AliVEventHandler * | CreateOutputHandler (UShort_t) |
void | SetupReweighting (AliAnalysisTaskSE *task) |
AliAnalysisTaskSE * | CreateTask (AliAnalysisManager *mgr) |
void | CreateTasks (AliAnalysisManager *mgr) |
const char * | ClassName () const |
TrackletdNdetaTrain (const char *name) | |
![]() | |
TrainSetup (const TString &name) | |
TrainSetup (const TrainSetup &o) | |
TrainSetup & | operator= (const TrainSetup &o) |
virtual | ~TrainSetup () |
Bool_t | Init () |
void | PrintTimer (TStopwatch &timer, const char *where) |
Bool_t | Run () |
OptionList & | Options () |
void | Print (Option_t *="") const |
Bool_t | Version (std::ostream &o=std::cout) |
Bool_t | Help (std::ostream &o=std::cout, bool asProg=false) |
Protected Member Functions | |
void | CoupleTrackletCar (AliAnalysisManager *mgr) |
void | CreateTasks (AliAnalysisManager *mgr) |
AliVEventHandler * | CreateMCHandler (UShort_t, bool) |
AliVEventHandler * | CreateOutputHandler (UShort_t) |
const char * | ClassName () const |
void | SaveSetup (Bool_t asShellScript) |
void | SaveCollect () |
void | PostShellCode (std::ostream &f) |
![]() | |
virtual void | AddMonitor (const TString &name) |
virtual void | CreateMonitors () |
virtual AliAnalysisManager * | CreateAnalysisManager (const char *name) |
virtual void | CreatePhysicsSelection (Bool_t mc, AliAnalysisManager *mgr) |
virtual void | CreateCentralitySelection (Bool_t mc) |
virtual AliAnalysisTask * | CoupleCar (const TString ¯o, const TString &args) |
virtual AliAnalysisTask * | CoupleCar (const TString ¯o) |
virtual AliAnalysisTaskSE * | CoupleSECar (const TString ¯o, const TString &args, UInt_t mask=0) |
virtual AliAnalysisTaskSE * | CoupleSECar (const TString ¯o, UInt_t mask=0) |
virtual AliAnalysisTask * | FindCar (const TString &name, Bool_t verbose=true) const |
void | LoadOADB (Bool_t asPar=false) |
void | SetOnTask (AliAnalysisTaskSE *task, const char *what, UInt_t val) |
void | SetOnTask (AliAnalysisTaskSE *task, const char *what, Int_t val) |
void | SetOnTask (AliAnalysisTaskSE *task, const char *what, Long64_t val) |
void | SetOnTask (AliAnalysisTaskSE *task, const char *what, Double_t val) |
void | SetOnTask (AliAnalysisTaskSE *task, const char *what, Bool_t val) |
void | SetOnTask (AliAnalysisTaskSE *task, const char *what, const char *val) |
void | SetOnTaskGeneric (AliAnalysisTaskSE *task, const char *what, const char *val) |
void | FromOption (AliAnalysisTaskSE *task, const char *what, const char *opt, Double_t defval) |
void | FromOption (AliAnalysisTaskSE *task, const char *what, const char *opt, Bool_t) |
void | FromOption (AliAnalysisTaskSE *task, const char *what, const char *opt, const char *defval) |
void | FromOption (AliAnalysisTaskSE *task, const char *what, const char *opt, Int_t defval) |
void | FromOption (AliAnalysisTaskSE *task, const char *what, const char *opt, Long64_t defval) |
virtual Bool_t | HasMCHandler () const |
virtual void | AddOCDBConnect () |
virtual void * | AddTenderSupply (void *tender, UShort_t flag, Int_t debug) |
virtual void | AddTender (const TString &sup) |
virtual void | AddTender (UShort_t which) |
Bool_t | SetupWorkingDirectory () |
void | SavePostShellScript () |
Additional Inherited Members | |
![]() | |
enum | { kVersion = 2 } |
![]() | |
static Bool_t | Main (const TString &name, const TString &cls, const TCollection *opts, Bool_t asProg=true, Bool_t spawn=false) |
![]() | |
enum | { kTenderV0 = 0x0001, kTenderTPC = 0x0002, kTenderPtFix = 0x0004, kTenderT0 = 0x0008, kTenderTOF = 0x0010, kTenderTRD = 0x0020, kTenderVTX = 0x0040, kTenderEMCAL = 0x0080, kTenderPID = 0x0100, kTenderHMPID = 0x0200, kTenderPHOS = 0x0400 } |
![]() | |
static TString | EscapeName (const char *name, TString &datimeStr) |
static void | SaveSetupShell (const TString &out, const TString &cls, const TString &name, const OptionList &opts, const OptionList *uopts) |
static void | SaveSetupROOT (const TString &out, const TString &cls, const TString &name, const OptionList &opts, const OptionList *uopts) |
![]() | |
TString | fName |
TString | fEscapedName |
TString | fDatimeString |
OptionList | fOptions |
Railway * | fRailway |
Train definition to do Rubens dN/deta analysis in centrality bins.
Run as
runTrain --class=TrackletTrain --name=NAME --url=URL
See also
This train uses a custom PAR file (RubensCode.par) of the classes
If these classes lived in a compiled AliPhysics library (Say libPWGUD.so), the we wouldn't need that PAR file.
Analysis train to make \( dN/d\eta\)
Definition at line 33 of file TrackletdNdetaTrain.C.
|
inline |
Constructor. This sets up the available options
name | Free form name |
Definition at line 40 of file TrackletdNdetaTrain.C.
|
inline |
Constructor.
name | Name of train (free form) |
Definition at line 31 of file TrackletdNdetaTrain.C.
|
inlineprotectedvirtual |
Set the name of the train - should be name of the class. Must be overloaded.
Implements TrainSetup.
Definition at line 200 of file TrackletdNdetaTrain.C.
|
inlinevirtual |
Get the train setup name
Implements TrainSetup.
Definition at line 348 of file TrackletdNdetaTrain.C.
Referenced by SaveCollect().
|
inlineprotected |
Create our tasks. This uses the interpreter to make the object.
mgr |
Definition at line 64 of file TrackletdNdetaTrain.C.
Referenced by CreateTasks().
|
inlinevirtual |
Create the input handler. This is overwritten from the base class to allow using AliESDInputHandlerRP for rec. points., and AliMixInputEventHandler if requested.
type | Type of analysis |
needRec | if true, also get rec-points |
Reimplemented from TrainSetup.
Definition at line 98 of file TrackletdNdetaTrain.C.
|
inlinevirtual |
Create the MC input handler. Overwritten here to allow setting the pre-read mode.
type | Input type |
mc | True for MC |
Reimplemented from TrainSetup.
Definition at line 117 of file TrackletdNdetaTrain.C.
|
inlineprotectedvirtual |
Do not the centrality selection Do not create MC input handler
Reimplemented from TrainSetup.
Definition at line 191 of file TrackletdNdetaTrain.C.
|
inlinevirtual |
Create output handler. Overloaded here to set no output handler, as this train does not define any AOD output.
Reimplemented from TrainSetup.
Definition at line 130 of file TrackletdNdetaTrain.C.
|
inlineprotectedvirtual |
Crete output handler - we don't want one here.
Reimplemented from TrainSetup.
Definition at line 198 of file TrackletdNdetaTrain.C.
|
inline |
Create our task, and return it. This uses the interpreter to make the object.
mgr | Analysis manager |
Definition at line 252 of file TrackletdNdetaTrain.C.
Referenced by CreateTasks().
|
inlineprotectedvirtual |
|
inlinevirtual |
Create our tasks.
mgr |
Implements TrainSetup.
Definition at line 327 of file TrackletdNdetaTrain.C.
|
inlineprotectedvirtual |
Write shell code to do post processing after terminate. This code should deal with a single run (or run range). The following shell variables are available to the code:
$prefix
Relative path to job directory or empty$dest
Destination for output to be storedNote, the code is injected into a shell function, and should therefor not define new functions or the like.
o | The output stream. |
Reimplemented from TrainSetup.
Definition at line 244 of file TrackletdNdetaTrain.C.
|
inlineprotected |
Definition at line 213 of file TrackletdNdetaTrain.C.
Referenced by SaveSetup().
|
inlineprotectedvirtual |
Overloaded to create new draw.C
asShellScript |
Reimplemented from TrainSetup.
Definition at line 207 of file TrackletdNdetaTrain.C.
|
inline |
Analyse the reweighting option string and set options on task appropriately. The string is a comma or space separated list of what to reweigh and how to do it.
What to reweigh can be specfied using one or more of the strings
How to reweigh can be specifed as
If pid rewighting is done and one of up or down are given, then one can specify which particle type to reweigh
Note, if PID, with explicit selection of pions, and strangeness reweighting are specified, then the up/down flag applies to both PID reweighting and the strangeness reweighting
task | The task to modify |
Definition at line 164 of file TrackletdNdetaTrain.C.
Referenced by CreateTask().