This package contains all code to generate particles for GLAST simulation. The primary interface is via a FluxMgr object.
A list of possible sources, with details on implementation, can be found in the files xml/source_library.xml, and xml/source.dtd. FluxMgr can also be instantaited with a vector of strings representing xml filenames, thus allowing multiple XML files to be used.
All calculation of spectra is done in Spectrum objects, More Information
package flux
version v5
use xml
use CLHEP
use geometry
apply_pattern package_include
apply_pattern package_linkopts
apply_pattern package_headers
private
macro xml "" WIN32 "../xml/*.xml ../xml/*.dtd"
library flux -no_share ${xml} ${flux_headers} \
CHIMESpectrum.cxx\
CompositeSource.cxx\
CrElectron.cxx CrElectronPrimary.cxx CrElectronReentrant.cxx CrElectronSplash.cxx\
CrProton.cxx CrProtonPrimary.cxx CrProtonReentrant.cxx CrProtonSplash.cxx \
CrSpectrum.cxx\
EventSource.cxx\
FluxMgr.cxx\
FluxSource.cxx\
Geomag.cxx\
GPS.cxx\
HeSpectrum.cxx\
Orbit.cxx\
SimpleSpectrum.cxx\
Spectrum.cxx\
SpectrumFactoryTable.cxx\
GalElSpectrum.cxx\
AlbedoPSpectrum.cxx\
FILESpectrum.cxx
application testMgr test/testMgr.cxx
# balloon test programs: uncomment to try them
#application protons test/protons.cxx
#application electrons test/electrons.cxx
macro rootplots_headers "" WIN32 "test/rootEnergyHist.h test/rootHist.h test/rootAngleHist.h"
application rootplots test/rootplot.cxx test/rootEnergyHist.cxx test/rootHist.cxx test/rootAngleHist.cxx
alias rootplots "" WIN32 ${fluxDir}/rootplots.exe
The flux package depends on the following packages
package flux
version v5
use xml
use CLHEP
use geometry
apply_pattern package_include
apply_pattern package_linkopts
apply_pattern package_headers
private
macro xml "" WIN32 "../xml/*.xml ../xml/*.dtd"
library flux -no_share ${xml} ${flux_headers} \
CHIMESpectrum.cxx\
CompositeSource.cxx\
CrElectron.cxx CrElectronPrimary.cxx CrElectronReentrant.cxx CrElectronSplash.cxx\
CrProton.cxx CrProtonPrimary.cxx CrProtonReentrant.cxx CrProtonSplash.cxx \
CrSpectrum.cxx\
EventSource.cxx\
FluxMgr.cxx\
FluxSource.cxx\
Geomag.cxx\
GPS.cxx\
HeSpectrum.cxx\
Orbit.cxx\
SimpleSpectrum.cxx\
Spectrum.cxx\
SpectrumFactoryTable.cxx\
GalElSpectrum.cxx\
AlbedoPSpectrum.cxx\
FILESpectrum.cxx
application testMgr test/testMgr.cxx
# balloon test programs: uncomment to try them
#application protons test/protons.cxx
#application electrons test/electrons.cxx
macro rootplots_headers "" WIN32 "test/rootEnergyHist.h test/rootHist.h test/rootAngleHist.h"
application rootplots test/rootplot.cxx test/rootEnergyHist.cxx test/rootHist.cxx test/rootAngleHist.cxx
alias rootplots "" WIN32 ${fluxDir}/rootplots.exe
1.2.3 written by Dimitri van Heesch,
© 1997-2000