Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

package FluxSvc

Authors:
Toby Burnett, Sean Robinson, Theodore Hierath, and others.

Introduction

This package implements a Gaudi service, encapsulating the flux package. Its only function is to return an IFlux object, whose methods are implemented by the flux package.

The FluxSvc package is designed to hold information on : the orbital characteristics of GLAST, the Emissive characteristics of various sources, and the 'Current' time and a model for particle emission from desired sources.

Through implementing a Gaudi Service (FluxSvc.h), it: Takes user specifications on desired source/sources, Provides a user interface to produce additional incoming particles, and Provides the current time, particle energy, direction, and type of particle.


the file /src/test/jobOptions.txt holds information used for the implementation of FluxSvc. it also holds the standard set of strings representing xml filenames, thus allowing multiple xml files to be used. See here for an explanation of how Gaudi was introduced to flux to make FluxSvc, and further documentation:

Defining an external source

See the interface definition IRegisterSource.


release notes

release.notes

requirements

package FluxSvc
version v5r14

branches FluxSvc cmt doc

use GlastPolicy v4*

use Event   *

use GlastSvc *
use GaudiSvc
use xml
use CLHEP
use astro v0r*


apply_pattern packageShr
apply_pattern package_include

#=============================================================
use facilities v2*

private


# get flags to build shared library
apply_pattern package_Cshlibflags
apply_pattern package_headers

macro_append FluxSvc_headers "" WIN32 "../xml/*.xml test/*.txt test/*.xml"

#static library
library FluxSvc_lib -no_share *.cxx ${FluxSvc_headers} test/flux/rootplot.cxx \
 test/flux/rootEnergyHist.cxx test/flux/rootHist.cxx \
 test/flux/rootAngleHist.cxx

macro libs ""   WIN32   "$(FluxSvcDir)/FluxSvc_lib.lib

macro FluxSvc_linkopts "-L $(FluxSvcDir) -lFluxSvc_lib" \
                      WIN32 ""


library FluxSvc  Dll/*.cxx $(libs) 

# enable this for non-Gaudi testing
#application testMgr test/flux/testMgr.cxx  $(libs) 

# non-Gaudi plots
application rootplots test/flux/roottest.cxx  $(libs) 

public
apply_pattern package_test


jobOptions

Parameters:
FluxAlg.source_name  This is the source name (defined in the XML) that is to be used as a source in the simulation.
FluxSvc.source_lib  this is a list of the XML files that will make their declared sources available to the simulation.

Basic_XML_Sources

default  0.1 GeV gamma-rays coming from the vertical local direction. Used for default tests.
albedo_gamma  Source that represents the Earth horizon albedo with Glast zenith pointing
chime  The CHIME spectrum. angular dependence and rate are from the CHIME spectrum object
He  The Helium spectrum. angular dependence and rate come from the HeSpectrum object.
albedo_electronpositron  Source that represents the spalsh and re-entrant albedo electrons and positrons
diffuse  diffuse extraglactic from 10 MeV: from APJ 494:523
diffuse-100mev  Diffuse extraglactic from 100 MeV
crab-galactic  the Crab, pulsed portion, with pointed observation, for photons above 100 MeV, based on Nolan APJ 409:697
electron  galactic electron spectrum
normal_gamma  E^-1 spectrum from 18 MeV to 18 GeV and normal incidence
muons  special source that mimics non-interacting cosmics

Todo:
Complete and recalibrate the CompositeDiffuse structure


Generated on Wed Oct 16 14:01:28 2002 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001