]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/loadmacros.C
Added switch as new member for DA (Christian)
[u/mrichter/AliRoot.git] / MUON / loadmacros.C
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 // runSimulation.C               - ok, comp,  x;      Laurent
21 // runReconstruction.C           - ok, comp,  x;      Laurent
22 // fastMuonGen.C                 - ok, comp,  x;      Hermine, Alessandro
23 // fastMuonSim.C                 - ok, comp,  x;      Hermine, Alessandro
24 // DecodeRecoCocktail.C          - ok, comp,  README; Hermine, Alessandro
25 // ReadRecoCocktail.C            - ok, comp,  README; Hermine, Alessandro
26 // MergeMuonLight.C              - x,  comp,  README; Hermine, Alessandro
27 // MakeMUONFullMisAlignment.C    - ok, comp,  README; Javier, Ivana
28 // MakeMUONResMisAlignment.C     - ok, comp,  README; Javier, Ivana
29 // MakeMUONZeroMisAlignment.C    - ok, comp,  README; Javier, Ivana
30 // MUONAlignment.C               - ok, comp,  README; Javier
31 // MUONCheck.C                   - ok, comp,  x,      Frederic, in test
32 // MUONCheckDI.C                 - x,  comp,  x       Artur     
33 // MUONCheckMisAligner.C         - ok, comp,  x,      Javier
34 // MUONdisplay.C                 - ok, comp,  deprecated
35 // MUONefficiency.C              - ok, comp,  README; Christophe, in test
36 // MUONGenerateBusPatch.C        - ok, comp,  x,      Christian
37 // MUONGenerateGeometryData.C    - ok, comp,  README; Ivana
38 // MUONGenerateTestGMS.C         - ok, comp,  READMEshuttle;  Ivana
39 // MUONmassPlot_ESD.C            - ok, comp,  README, Christian
40 // MUONplotefficiency.C          - ok, comp,  README; Christophe
41 // MUONRawStreamTracker.C        - x,  comp,  README; Christian
42 // MUONRawStreamTrigger.C        - x,  comp,  README; Christian
43 // MUONRecoCheck.C               - ok, comp,  README; Hermine, Alessandro
44 // MUONResoEffChamber.C          - ok, comp,  x,      Nicolas
45 // MUONStatusMap.C               - ok, comp,  x,      Laurent
46 // MUONTrigger.C                 - ok, comp,  README, Philippe C.
47 // MUONTriggerEfficiency.C       - ok, comp,  x,      Philippe C., in test
48 // MUONTriggerEfficiencyPt.C     - x,  comp,  README, Philippe C.
49 // MUONTriggerChamberEfficiency.C- x,  comp,  README, Diego
50 // TestMUONPreprocessor.C        - ok, comp,  READMEshuttle; Laurent
51 // 
52 // 1st item:
53 // ok/fails/x - if the macro runs; x means that it was not tried either for lack
54 //              of documentation, or expertise
55 //              
56 // 2nd item:
57 // comp/x     - if the macro can be compiled
58 //              
59 // 3rd item:
60 // README*/x  - if it is documented in README, x means no doxumentation outside the 
61 //              macro itself
62 //              
63 // 4th item:  - author(s), responsible for macro maintenance 
64 //
65 // eventually 
66 // 5th item:  - if the macro is run within test scripts                         
67 //
68 // I. Hrivnacova
69
70 #if !defined(__CINT__) || defined(__MAKECINT__)
71
72 #include <TROOT.h>
73 #include <TSystem.h>
74 #include <TString.h>
75
76 #endif
77
78 void loadmacros () 
79 {
80   // Redefine include paths as some macros need
81   // to see more than what is define in rootlogon.C
82   //
83   TString includePath = "-I${ALICE_ROOT}/include ";
84   includePath        += "-I${ALICE_ROOT}/RAW ";
85   includePath        += "-I${ALICE_ROOT}/FASTSIM ";
86   includePath        += "-I${ALICE_ROOT}/EVGEN ";
87   includePath        += "-I${ALICE_ROOT}/SHUTTLE/TestShuttle ";
88   includePath        += "-I${ALICE_ROOT}/ITS ";
89   includePath        += "-I${ALICE_ROOT}/MUON ";
90   includePath        += "-I${ALICE_ROOT}/MUON/mapping";
91   gSystem->SetIncludePath(includePath.Data());
92
93   // Load libraries not linked with aliroot
94   //
95   gSystem->Load("$ALICE_ROOT/SHUTTLE/TestShuttle/libTestShuttle.so");
96   gSystem->Load("libMUONshuttle.so");
97   gSystem->Load("libMUONevaluation.so");
98
99   // Load macros
100   //
101   gROOT->LoadMacro("$ALICE_ROOT/MUON/runSimulation.C++");      
102   gROOT->LoadMacro("$ALICE_ROOT/MUON/runReconstruction.C++");      
103   gROOT->LoadMacro("$ALICE_ROOT/MUON/fastMUONGen.C++");      
104   gROOT->LoadMacro("$ALICE_ROOT/MUON/fastMUONSim.C++");      
105   // gROOT->LoadMacro("$ALICE_ROOT/MUON/DecodeRecoCocktail.C++");      
106   gROOT->LoadMacro("$ALICE_ROOT/MUON/ReadRecoCocktail.C++");     
107   gROOT->LoadMacro("$ALICE_ROOT/MUON/MergeMuonLight.C++");       
108   gROOT->LoadMacro("$ALICE_ROOT/MUON/MakeMUONFullMisAlignment.C++");
109   gROOT->LoadMacro("$ALICE_ROOT/MUON/MakeMUONResMisAlignment.C++"); 
110   gROOT->LoadMacro("$ALICE_ROOT/MUON/MakeMUONZeroMisAlignment.C++");
111   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONAlignment.C++");           
112   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONCheck.C++");               
113   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONCheckDI.C++");          
114   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONCheckMisAligner.C++");     
115   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONefficiency.C++");          
116   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONGenerateBusPatch.C++");    
117   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONGenerateGeometryData.C++");
118   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONGenerateTestGMS.C++");     
119   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONmassPlot_ESD.C++");        
120   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONplotefficiency.C++");      
121   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONRawStreamTracker.C++");    
122   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONRawStreamTrigger.C++");
123   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONRecoCheck.C++");           
124   // gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONResoEffChamber.C++"); 
125   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONStatusMap.C++");        
126   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONTrigger.C++");        
127   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONTriggerEfficiency.C++");   
128   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONTriggerEfficiencyPt.C++"); 
129   gROOT->LoadMacro("$ALICE_ROOT/MUON/MUONTriggerChamberEfficiency.C++"); 
130   gROOT->LoadMacro("$ALICE_ROOT/MUON/TestMUONPreprocessor.C++");    
131 }