#include <FluxMgr.h>
Public Methods | |
| FluxMgr (std::string fileName="") | |
| ctor looks up library (pass a string to overload default). More... | |
| FluxMgr (const std::vector<std::string>& fileList) | |
| ctor for multiple XML documents. More... | |
| ~FluxMgr () | |
| EventSource* | source (std::string name) |
| create and return a source by name. More... | |
| std::list<std::string> | sourceList () const |
| access to the source list. More... | |
| void | setArea (double area) |
| set the target area. | |
| void | test (std::ostream& out, std::string source_name, int count) |
| generate some test output. More... | |
| void | setGlastAngles (std::pair<double,double> ang) |
| set the angular (off-zenith) values of the GLAST satellite. More... | |
| void | setGlastPosition (std::pair<double,double> pos) |
| set the orbital (position) values of the GLAST satellite. More... | |
| void | addFactory (std::string name, const ISpectrumFactory* factory ) |
| void | setExpansion (double p) |
| set the expansion factor for the orbit (-1) = random. More... | |
| void | pass ( double t) |
| pass a specific amount of time. More... | |
| void | synch () |
| synch satellite location with current time. More... | |
| void | sampleintvl ( double t ) |
| set the sample interval. | |
| std::pair<double,double> | location () |
| get the current satellite location. More... | |
Private Methods | |
| DOM_Element | getLibrarySource (const DOMString& id) |
| void | defaultFile () |
| void | init (const std::vector<std::string>& fileList) |
| EventSource* | getSourceFromXML (const DOM_Element& src) |
| void | writeXmlFile (std::string *fileStr, const std::vector<std::string>& fileList) |
Private Attributes | |
| DOM_Document | m_library_doc |
| DOM_Element | s_library |
| std::vector<DOM_Document> | m_library_doclist |
| std::vector<DOM_Element> | s_librarylist |
| std::map<std::string, DOM_Element > | m_sources |
holds methods for creating sources and sending new particles, and methods for interfacing with the satellite position, and setting the position variables. It is instantiated with the names of the xml files to be used as input to the xml parser.
Definition at line 23 of file FluxMgr.h.
|
|
ctor looks up library (pass a string to overload default).
Definition at line 19 of file FluxMgr.cxx. |
|
|
ctor for multiple XML documents.
Definition at line 31 of file FluxMgr.cxx. |
|
|
Definition at line 113 of file FluxMgr.cxx. |
|
|
Definition at line 237 of file FluxMgr.cxx. |
|
|
Definition at line 40 of file FluxMgr.cxx. Referenced by FluxMgr(). |
|
|
Definition at line 188 of file FluxMgr.cxx. Referenced by getSourceFromXML(). |
|
|
Definition at line 131 of file FluxMgr.cxx. Referenced by source(). |
|
|
Definition at line 51 of file FluxMgr.cxx. Referenced by FluxMgr(), and defaultFile(). |
|
|
get the current satellite location.
Definition at line 271 of file FluxMgr.cxx. |
|
|
pass a specific amount of time.
Definition at line 257 of file FluxMgr.cxx. Referenced by test(). |
|
|
set the sample interval.
|
|
|
set the target area.
|
|
|
set the expansion factor for the orbit (-1) = random.
Definition at line 251 of file FluxMgr.cxx. Referenced by test(). |
|
|
set the angular (off-zenith) values of the GLAST satellite.
Definition at line 241 of file FluxMgr.cxx. |
|
|
set the orbital (position) values of the GLAST satellite.
Definition at line 246 of file FluxMgr.cxx. |
|
|
create and return a source by name.
Definition at line 116 of file FluxMgr.cxx. Referenced by test(). |
|
|
access to the source list.
Definition at line 196 of file FluxMgr.cxx. Referenced by main(). |
|
|
synch satellite location with current time.
Definition at line 262 of file FluxMgr.cxx. Referenced by pass(). |
|
|
generate some test output.
Definition at line 207 of file FluxMgr.cxx. Referenced by main(). |
|
|
Definition at line 276 of file FluxMgr.cxx. Referenced by init(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000