Athena-Atlfast: User Guide | ||
---|---|---|
Prev | Appendix A. Running Without the Atlfast Source Code |
The analysis algorithm described in Chapter 5: Writing an Analysis Algorithm can be run without checking out all the Atlfast code from CVS.
A directory structure needs to be setup as follows:
srt new src 2.0.2
cd src
mkdir AnalysisCode
cd AnalysisCode
mkdir src
mkdir Analysis
mkdir misc
The MyAnalysis.cxx will be put in the src directory and the MyAnalysis.h will be put in the Analysis directory. Some changes will have to be made to these. The namespace should be changed from Atlfast to Analysis. This means references to Atlfast objects should now be preceeded by Atlfast:: The complete files are shown in MyAnalysis.h and MyAnalysis.cxx.
To compile this code you will need a GNUmakefile.in and a PACKAGE in the AnalysisCode directory. The configure and configure.in should be copied from the parent src directory into the Analysis directory. It is also good to have a misc directory with an example AnalysisOptions.txt. Once this is completed, the code can be built in the same way as before in a build directory and run in a run directory, using the AnalysisOptions.txt as the jobOptions.txt file.
![]() | home |