#include <GlastDetSvc.h>
Inheritance diagram for GlastDetSvc:

Public Methods | |||
| GlastDetSvc ( const std::string& name, ISvcLocator* al ) | |||
Create the service
| |||
| virtual | ~GlastDetSvc () | ||
| destructor. More... | |||
| StatusCode | queryInterface (const IID& riid, void** ppvUnknown) | ||
| queryInterface - for implementing a Service this is necessary. More... | |||
| const IID& | type () const | ||
| return the service type. More... | |||
| StatusCode | initialize () | ||
| perform initializations for this service. This will read in and create the GlastDetector hierarchy from the file specified by the PersistencyFile property, unless it is '(none)'. More... | |||
| StatusCode | finalize () | ||
| kill off the detector hierarchy if it exists. More... | |||
| GlastDetector* | getRootDetector () | ||
| return the root detector for this service (implements IGlastDetSvc). More... | |||
| virtual const xml::IFile* | iniFile () const | ||
| access to the IFile containing detector constants (implements IGlastDetSvc). More... | |||
| StatusCode | openIRF (std::string filename) | ||
| open the IRF file. More... | |||
| StatusCode | readIRF () | ||
| load the next event from the IRF file (implements IGlastIRFLoadSvc). More... | |||
| int | detectors_with_data () const | ||
| return the number of detectors currently with data. More... | |||
| void | accept (DetectorConverter&) const | ||
| accept a visitor to traverse the structure. More... | |||
| void | setDetector (GlastDetector* d) | ||
| set new root detector. More... | |||
Private Attributes | |||
| Instrument* | m_instrument | ||
| Query interface. More... | |||
| std::string | m_xmlFile | ||
| std::string | m_iniFile | ||
Definition at line 22 of file GlastDetSvc.h.
|
|
Create the service
Definition at line 37 of file GlastDetSvc.cpp. |
|
|
destructor.
Definition at line 50 of file GlastDetSvc.cpp. |
|
|
accept a visitor to traverse the structure.
Reimplemented from IGlastDetSvc. Definition at line 152 of file GlastDetSvc.cpp. |
|
|
return the number of detectors currently with data.
Reimplemented from IGlastDetSvc. Definition at line 141 of file GlastDetSvc.cpp. |
|
|
kill off the detector hierarchy if it exists.
Definition at line 100 of file GlastDetSvc.cpp. Referenced by ~GlastDetSvc(). |
|
|
return the root detector for this service (implements IGlastDetSvc).
Definition at line 146 of file GlastDetSvc.cpp. |
|
|
access to the IFile containing detector constants (implements IGlastDetSvc).
Reimplemented from IGlastDetSvc. Definition at line 157 of file GlastDetSvc.cpp. |
|
|
perform initializations for this service. This will read in and create the GlastDetector hierarchy from the file specified by the PersistencyFile property, unless it is '(none)'.
Definition at line 72 of file GlastDetSvc.cpp. |
|
|
open the IRF file.
Reimplemented from IGlastDetSvc. Definition at line 131 of file GlastDetSvc.cpp. |
|
|
queryInterface - for implementing a Service this is necessary.
Definition at line 59 of file GlastDetSvc.cpp. |
|
|
load the next event from the IRF file (implements IGlastIRFLoadSvc).
Reimplemented from IGlastDetSvc. Definition at line 114 of file GlastDetSvc.cpp. |
|
|
set new root detector.
Reimplemented from IGlastDetSvc. Definition at line 94 of file GlastDetSvc.cpp. |
|
|
return the service type.
Definition at line 124 of file GlastDetSvc.cpp. |
|
|
Definition at line 86 of file GlastDetSvc.h. |
|
|
Query interface.
Definition at line 84 of file GlastDetSvc.h. |
|
|
Definition at line 85 of file GlastDetSvc.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000