AliPhysics  58f3d52 (58f3d52)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MakeFMDEventPlaneTrain.C
Go to the documentation of this file.
1 
11 #include "TrainSetup.C"
12 
13 //====================================================================
22 {
23 public:
29  MakeFMDEventPlaneTrain(const char* name)
30  : TrainSetup(name)
31  {
32  fOptions.Set("type", "AOD");
33  }
34 protected:
40  {
41  // --- Output file name ------------------------------------------
42  AliAnalysisManager::SetCommonFileName("AnalysisResults.root");
43 
44  // --- Load libraries/pars ---------------------------------------
45  fRailway->LoadLibrary("PWGLFforward2)");
46 
47  Bool_t mc = HasMCHandler();
48 
49  // --- Set load path ---------------------------------------------
50  gROOT->SetMacroPath(Form("%s:$(ALICE_PHYSICS)/PWGLF/FORWARD/analysis2:"
51  "$ALICE_ROOT/ANALYSIS/macros",
52  gROOT->GetMacroPath()));
53 
54  // --- Add the task ----------------------------------------------
55  CoupleCar("AddTaskFMDEventPlane.C", Form("%d", mc));
56  }
66  AliVEventHandler* CreateOutputHandler(UShort_t) { return 0; }
67  //__________________________________________________________________
68  const char* ClassName() const { return "MakeFMDEventPlaneTrain"; }
69 };
70 //
71 // EOF
72 //
MakeFMDEventPlaneTrain(const char *name)
Railway * fRailway
Definition: TrainSetup.C:1674
void Set(const TString &name, const TString &value)
Definition: Option.C:736
Base classs for train specifications.
AliVEventHandler * CreateOutputHandler(UShort_t)
void CreateTasks(AliAnalysisManager *)
OptionList fOptions
Definition: TrainSetup.C:1673
virtual Bool_t HasMCHandler() const
Definition: TrainSetup.C:1325
unsigned short UShort_t
Definition: External.C:28
const char * ClassName() const
bool Bool_t
Definition: External.C:53
virtual AliAnalysisTask * CoupleCar(const TString &macro, const TString &args)
Definition: TrainSetup.C:841
virtual Bool_t LoadLibrary(const TString &name, Bool_t slave=true, Bool_t forcePar=false)=0