AliPhysics  a5cd6b6 (a5cd6b6)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BothAODTrain Class Reference
Inheritance diagram for BothAODTrain:

Public Member Functions

 BothAODTrain (const TString &name)
 
- Public Member Functions inherited from TrainSetup
 TrainSetup (const TString &name)
 
 TrainSetup (const TrainSetup &o)
 
TrainSetupoperator= (const TrainSetup &o)
 
virtual ~TrainSetup ()
 
Bool_t Init ()
 
void PrintTimer (TStopwatch &timer, const char *where)
 
Bool_t Run ()
 
OptionListOptions ()
 
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

AliVEventHandler * CreateInputHandler (UShort_t type, Bool_t needRec=false)
 
AliVEventHandler * CreateMCHandler (UShort_t type, bool mc)
 
void CouplePreCars (AliAnalysisManager *mgr, Bool_t mc, UInt_t mask)
 
void SetOnFwd (AliAnalysisTask *task, const TString &call, const TString &arg)
 
void SetOnMCFwd (AliAnalysisTask *task, const TString &call, const TString &arg)
 
void CoupleForwardCar (AliAnalysisManager *mgr, Bool_t mc, UInt_t mask)
 
void CoupleClusterCar (AliAnalysisManager *mgr, Bool_t mc, UInt_t mask)
 
void CoupleTrackletCar (AliAnalysisManager *mgr, Bool_t mc, UInt_t mask)
 
void CouplePostCars (AliAnalysisManager *mgr, Bool_t mc, UInt_t mask)
 
void CreateTasks (AliAnalysisManager *mgr)
 
void CreateCentralitySelection (Bool_t mc)
 
const char * ClassName () const
 
void SaveSetup (Bool_t asShellScript)
 
void SavedNdeta (Bool_t asShellScript)
 
void SaveSummarize ()
 
void PostShellCode (std::ostream &f)
 
- Protected Member Functions inherited from TrainSetup
virtual void AddMonitor (const TString &name)
 
virtual void CreateMonitors ()
 
virtual AliAnalysisManagerCreateAnalysisManager (const char *name)
 
virtual AliVEventHandler * CreateOutputHandler (UShort_t type)
 
virtual void CreatePhysicsSelection (Bool_t mc, AliAnalysisManager *mgr)
 
virtual AliAnalysisTaskCoupleCar (const TString &macro, const TString &args)
 
virtual AliAnalysisTaskCoupleCar (const TString &macro)
 
virtual AliAnalysisTaskSECoupleSECar (const TString &macro, const TString &args, UInt_t mask=0)
 
virtual AliAnalysisTaskSECoupleSECar (const TString &macro, UInt_t mask=0)
 
virtual AliAnalysisTaskFindCar (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

- Public Types inherited from TrainSetup
enum  { kVersion = 2 }
 
- Static Public Member Functions inherited from TrainSetup
static Bool_t Main (const TString &name, const TString &cls, const TCollection *opts, Bool_t asProg=true, Bool_t spawn=false)
 
- Protected Types inherited from TrainSetup
enum  {
  kTenderV0 = 0x0001, kTenderTPC = 0x0002, kTenderPtFix = 0x0004, kTenderT0 = 0x0008,
  kTenderTOF = 0x0010, kTenderTRD = 0x0020, kTenderVTX = 0x0040, kTenderEMCAL = 0x0080,
  kTenderPID = 0x0100, kTenderHMPID = 0x0200, kTenderPHOS = 0x0400
}
 
- Static Protected Member Functions inherited from TrainSetup
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)
 
- Protected Attributes inherited from TrainSetup
TString fName
 
TString fEscapedName
 
TString fDatimeString
 
OptionList fOptions
 
RailwayfRailway
 

Detailed Description

Analysis train to make Forward and Central multiplicity

Definition at line 21 of file BothAODTrain.C.

Constructor & Destructor Documentation

BothAODTrain::BothAODTrain ( const TString name)
inline

Constructor.

Parameters
nameName of train (free form)

Definition at line 29 of file BothAODTrain.C.

Member Function Documentation

const char* BothAODTrain::ClassName ( ) const
inlineprotectedvirtual

Set the name of the train - should be name of the class. Must be overloaded.

Returns
Class name as a constant C string

Implements TrainSetup.

Definition at line 334 of file BothAODTrain.C.

Referenced by SaveSummarize().

void BothAODTrain::CoupleClusterCar ( AliAnalysisManager mgr,
Bool_t  mc,
UInt_t  mask 
)
inlineprotected

Couple the central multiplicity task (clusters)

Parameters
mgr
mc
mask

Definition at line 205 of file BothAODTrain.C.

Referenced by CreateTasks().

void BothAODTrain::CoupleForwardCar ( AliAnalysisManager mgr,
Bool_t  mc,
UInt_t  mask 
)
inlineprotected

Couple the forward multiplicity task

Parameters
mgr
mc
mask

Definition at line 158 of file BothAODTrain.C.

Referenced by CreateTasks().

void BothAODTrain::CouplePostCars ( AliAnalysisManager mgr,
Bool_t  mc,
UInt_t  mask 
)
inlineprotected

Couple tasks to run after main body

Parameters
mgr
mc
mask

Definition at line 286 of file BothAODTrain.C.

Referenced by CreateTasks().

void BothAODTrain::CouplePreCars ( AliAnalysisManager mgr,
Bool_t  mc,
UInt_t  mask 
)
inlineprotected

Couple tasks to run before main body

Parameters
mgr
mc
mask

Definition at line 109 of file BothAODTrain.C.

Referenced by CreateTasks().

void BothAODTrain::CoupleTrackletCar ( AliAnalysisManager mgr,
Bool_t  mc,
UInt_t  mask 
)
inlineprotected

Couple central multiplicity task (tracklets)

Parameters
mgr
mc
mask

Definition at line 243 of file BothAODTrain.C.

Referenced by CreateTasks().

void BothAODTrain::CreateCentralitySelection ( Bool_t  mc)
inlineprotectedvirtual

Create the centrality selection only if requested

Parameters
mcMonte-Carlo truth flag

Reimplemented from TrainSetup.

Definition at line 328 of file BothAODTrain.C.

AliVEventHandler* BothAODTrain::CreateInputHandler ( UShort_t  type,
Bool_t  needRec = false 
)
inlineprotectedvirtual

Create the input handler. This is overwritten from the base class to allow using AliESDInputHandlerRP for rec. points., and AliMixInputEventHandler if requested.

Parameters
typeType of analysis
needRecWhether we need rec-points (clusters)
Returns
The input handler

Reimplemented from TrainSetup.

Definition at line 80 of file BothAODTrain.C.

AliVEventHandler* BothAODTrain::CreateMCHandler ( UShort_t  type,
bool  mc 
)
inlineprotectedvirtual

Create the MC input handler. Overwritten here to allow setting the pre-read mode.

Parameters
typeInput type
mcTrue for MC
Returns
The MC input handler

Reimplemented from TrainSetup.

Definition at line 94 of file BothAODTrain.C.

void BothAODTrain::CreateTasks ( AliAnalysisManager mgr)
inlineprotectedvirtual

Create the tasks

Parameters
mgrAnalysis manager

Implements TrainSetup.

Definition at line 299 of file BothAODTrain.C.

void BothAODTrain::PostShellCode ( std::ostream &  f)
inlineprotectedvirtual

Code to run from the post.sh shell script

Parameters
fOutput stream

Reimplemented from TrainSetup.

Definition at line 504 of file BothAODTrain.C.

void BothAODTrain::SavedNdeta ( Bool_t  asShellScript)
inlineprotected

Write script to do dN/deta analysis

Parameters
asShellScript

Definition at line 353 of file BothAODTrain.C.

Referenced by SaveSetup().

void BothAODTrain::SaveSetup ( Bool_t  asShellScript)
inlineprotectedvirtual

Overloaded to create new dNdeta.C and dndeta.sh in the output directory

Parameters
asShellScript

Reimplemented from TrainSetup.

Definition at line 342 of file BothAODTrain.C.

void BothAODTrain::SaveSummarize ( )
inlineprotected

Write a ROOT script to draw summary

Definition at line 469 of file BothAODTrain.C.

Referenced by SaveSetup().

void BothAODTrain::SetOnFwd ( AliAnalysisTask task,
const TString call,
const TString arg 
)
inlineprotected

Set a parameter on the forward task

Parameters
taskTask to set on
callThe call
argThe argument(s) for the call

Definition at line 126 of file BothAODTrain.C.

Referenced by CoupleForwardCar().

void BothAODTrain::SetOnMCFwd ( AliAnalysisTask task,
const TString call,
const TString arg 
)
inlineprotected

Set a parameter on the forward task

Parameters
taskTask to set on
callThe call
argThe argument(s) for the call

Definition at line 142 of file BothAODTrain.C.

Referenced by CoupleForwardCar().


The documentation for this class was generated from the following file: