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

Public Member Functions

 MakeFMDMCTrackTrain (const char *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

void CreateTasks (AliAnalysisManager *mgr)
 
void CreatePhysicsSelection (Bool_t mc, AliAnalysisManager *mgr)
 
virtual AliVEventHandler * CreateOutputHandler (UShort_t)
 
const char * ClassName () const
 
void SaveSetup (Bool_t asShellScript)
 
void SaveSummarize ()
 
void SaveDownloadTrees ()
 
void SaveAnalyseNTuple ()
 
void SaveReFit ()
 
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 * CreateInputHandler (UShort_t type, Bool_t esdRecPoints=false)
 
virtual AliVEventHandler * CreateMCHandler (UShort_t, bool mc)
 
virtual void CreateCentralitySelection (Bool_t mc)
 
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 MC corrections

Definition at line 21 of file MakeFMDMCTrackTrain.C.

Constructor & Destructor Documentation

MakeFMDMCTrackTrain::MakeFMDMCTrackTrain ( const char *  name)
inline

Constructor. Date and time must be specified when running this in Termiante mode on Grid

Parameters
nameName of train (free form)

Definition at line 30 of file MakeFMDMCTrackTrain.C.

Member Function Documentation

const char* MakeFMDMCTrackTrain::ClassName ( ) const
inlineprotectedvirtual

Do not the centrality selection

Implements TrainSetup.

Definition at line 117 of file MakeFMDMCTrackTrain.C.

Referenced by SaveAnalyseNTuple(), SaveDownloadTrees(), SaveReFit(), and SaveSummarize().

virtual AliVEventHandler* MakeFMDMCTrackTrain::CreateOutputHandler ( UShort_t  )
inlineprotectedvirtual
Returns
0 - AOD disabled

Reimplemented from TrainSetup.

Definition at line 111 of file MakeFMDMCTrackTrain.C.

void MakeFMDMCTrackTrain::CreatePhysicsSelection ( Bool_t  mc,
AliAnalysisManager mgr 
)
inlineprotectedvirtual

Create physics selection , and add to manager

Parameters
mcWhether this is for MC
mgrManager

Reimplemented from TrainSetup.

Definition at line 86 of file MakeFMDMCTrackTrain.C.

void MakeFMDMCTrackTrain::CreateTasks ( AliAnalysisManager mgr)
inlineprotectedvirtual

Create the tasks

Parameters
mgrAnalysis manager

Implements TrainSetup.

Definition at line 43 of file MakeFMDMCTrackTrain.C.

void MakeFMDMCTrackTrain::PostShellCode ( std::ostream &  o)
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 stored

Note, the code is injected into a shell function, and should therefor not define new functions or the like.

Parameters
oThe output stream.

Reimplemented from TrainSetup.

Definition at line 269 of file MakeFMDMCTrackTrain.C.

void MakeFMDMCTrackTrain::SaveAnalyseNTuple ( )
inlineprotected

Make a ROOT Script to download the generated AODs

Definition at line 223 of file MakeFMDMCTrackTrain.C.

Referenced by SaveSetup().

void MakeFMDMCTrackTrain::SaveDownloadTrees ( )
inlineprotected

Make a ROOT Script to download the generated AODs

Definition at line 172 of file MakeFMDMCTrackTrain.C.

Referenced by SaveSetup().

void MakeFMDMCTrackTrain::SaveReFit ( )
inlineprotected

Definition at line 247 of file MakeFMDMCTrackTrain.C.

Referenced by SaveSetup().

void MakeFMDMCTrackTrain::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 125 of file MakeFMDMCTrackTrain.C.

void MakeFMDMCTrackTrain::SaveSummarize ( )
inlineprotected

Write a ROOT script to draw summary

Definition at line 142 of file MakeFMDMCTrackTrain.C.

Referenced by SaveSetup().


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