Moving class from base to trigger
[u/mrichter/AliRoot.git] / MUON / loadmacros.C
CommitLineData
2095bb50 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/* $Id$ */
17
18// Macro which loads and compiles the MUON macros:
19//
20// DecodeRecoCocktail.C - ok, comp, README; Hermine, Alessandro
3c226639 21// ReadRecoCocktail.C - ok, comp, README; Hermine, Alessandro
22// MergeMuonLight.C - x, comp, README; Hermine, Alessandro
2095bb50 23// MakeMUONFullMisAlignment.C - ok, comp, README; Javier, Ivana
24// MakeMUONResMisAlignment.C - ok, comp, README; Javier, Ivana
25// MakeMUONZeroMisAlignment.C - ok, comp, README; Javier, Ivana
26// MUONAlignment.C - ok, comp, README; Javier
27// MUONCheck.C - ok, comp, x, Frederic, in test
28// MUONCheckDI.C - x, !comp, x Artur
29// MUONCheckMisAligner.C - ok, comp, x, Javier
30// MUONdisplay.C - ok, comp, deprecated
31// MUONefficiency.C - ok, comp, README; Christophe, in test
32// MUONGenerateBusPatch.C - ok, comp, x, Christian
33// MUONGenerateGeometryData.C - ok, comp, README; Ivana
b3fc7b19 34// MUONGenerateTestGMS.C - ok, comp, READMEshuttle; Ivana
35// MUONmassPlot_ESD.C - ok, comp, README, Christian
cb877735 36// MUONplotefficiency.C - ok, comp, README; Christophe
2095bb50 37// MUONRawStreamTracker.C - x, comp, README; Christian
38// MUONRawStreamTrigger.C - x, comp, README; Christian
39// MUONRecoCheck.C - ok, comp, README; Hermine, Alessandro
40// MUONResoEffChamber.C - ok, comp, x, Nicolas
c8a38b17 41// MUONStatusMap.C - ok, comp, x, Laurent
2095bb50 42// MUONTrigger.C - ok, comp, README, Philippe C.
43// MUONTriggerEfficiency.C - ok, comp, x, Philippe C., in test
44// MUONTriggerEfficiencyPt.C - x, comp, README, Philippe C.
45// TestMUONPreprocessor.C - ok, comp, READMEshuttle; Laurent
46//
47// 1st item:
48// ok/fails/x - if the macro runs; x means that it was not tried either for lack
49// of documentation, or expertise
50//
51// 2nd item:
52// comp/x - if the macro can be compiled
53//
54// 3rd item:
55// README*/x - if it is documented in README, x means no doxumentation outside the
56// macro itself
57//
58// 4th item: - author(s), responsible for macro maintenance
59//
60// eventually
61// 5th item: - if the macro is run within test scripts
62//
63// I. Hrivnacova
64
65#if !defined(__CINT__) || defined(__MAKECINT__)
66
67#include <TROOT.h>
68#include <TSystem.h>
69#include <TString.h>
70
71#endif
72
73void loadmacros ()
74{
75 // Redefine include paths as some macros need
76 // to see more than what is define in rootlogon.C
77 //
78 TString includePath = "-I${ALICE_ROOT}/include ";
79 includePath += "-I${ALICE_ROOT}/RAW ";
80 includePath += "-I${ALICE_ROOT}/SHUTTLE/TestShuttle ";
81 includePath += "-I${ALICE_ROOT}/ITS ";
82 includePath += "-I${ALICE_ROOT}/MUON ";
83 includePath += "-I${ALICE_ROOT}/MUON/mapping";
84 gSystem->SetIncludePath(includePath.Data());
85
86 // Load libraries not linked with aliroot
87 //
4f24373f 88 gSystem->Load("$ALICE_ROOT/SHUTTLE/TestShuttle/libTestShuttle.so");
2095bb50 89 gSystem->Load("libMUONshuttle.so");
90 gSystem->Load("libMUONevaluation.so");
91
92 // Load macros
93 //
4f24373f 94 gROOT->LoadMacro("$ALICE_ROOT/MUON/DecodeRecoCocktail.C++");
3c226639 95 gROOT->LoadMacro("$ALICE_ROOT/MUON/ReadRecoCocktail.C++");
96 gROOT->LoadMacro("$ALICE_ROOT/MUON/MergeMuonLight.C++");
4f24373f 97 gROOT->LoadMacro("$ALICE_ROOT/MUON/MakeMUONFullMisAlignment.C++");
98 gROOT->LoadMacro("$ALICE_ROOT/MUON/MakeMUONResMisAlignment.C++");
99 gROOT->LoadMacro("$ALICE_ROOT/MUON/MakeMUONZeroMisAlignment.C++");
100 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONAlignment.C++");
101 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONCheck.C++");
102 // gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONCheckDI.C++");
103 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONCheckMisAligner.C++");
104 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONdisplay.C++");
105 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONefficiency.C++");
106 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONGenerateBusPatch.C++");
107 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONGenerateGeometryData.C++");
108 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONGenerateTestGMS.C++");
109 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONmassPlot_ESD.C++");
110 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONplotefficiency.C++");
111 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONRawStreamTracker.C++");
112 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONRawStreamTrigger.C++");
113 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONRecoCheck.C++");
114 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONResoEffChamber.C++");
115 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONStatusMap.C++");
4f24373f 116 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONTrigger.C++");
117 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONTriggerEfficiency.C++");
118 gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONTriggerEfficiencyPt.C++");
119 gROOT->LoadMacro("$ALICE_ROOT/MUON/TestMUONPreprocessor.C++");
2095bb50 120}