#include <dataDetectorServer.h>
Inheritance diagram for dataDetectorServer:
Public Methods | |
dataDetectorServer () | |
construct the data. | |
virtual | ~dataDetectorServer () |
delete the data. | |
virtual detectorGeo* | geo () |
returns the geometry. | |
virtual void | addData (std::string name, trsDataVI* data) |
add transient data into the server. | |
virtual void | update () |
virtual void update - update all classes in the server. | |
virtual void | update (std::string name) |
update the transient data wiht name. | |
virtual void | writeOutServer () const |
write out the information of all the data classes. | |
virtual void | writeOut (std::string name) const |
write out information of a given detector data class. | |
virtual void | writeOut () const |
write out the information of the data. | |
Protected Methods | |
virtual trsDataVI* | getTrsData (std::string name) const |
returns the trsDataVI with the name for geometry and calibration data. | |
Private Attributes | |
detectorGeo* | m_detectorGeo |
pointer to the detector geometry. | |
serverVI<trsDataVI>* | m_server |
pointer to the server of the trsDataVI of the transient data for the detector. | |
Friends | |
class | dataManager |
class | comLoadCalibration |
dataDetectorServer has two type of data: geometry and calibration (also called transient RUN data).
geometry data contains the detector geometry. There is no a centella solution to the geometry description. The user should provide in userDetectorGeo a typedef to his/her own class detector (maybe to a GEANT4 mother class).
calibration data is declared to be transient data. The user should implement the calibration data classes, they should inherit from trsDataVI. The user should create those classes in the class userDataDetector and add them into the this server.
addData()
method. The calibration data is declared transiend data (inherits from trsDataVI). getData()
. update()
method.
Definition at line 39 of file dataDetectorServer.h.
|
|
|
|
|
returns the trsDataVI with the name for geometry and calibration data.
Definition at line 23 of file dataDetectorServer.cpp.
|
|
virtual void update - update all classes in the server.
Definition at line 59 of file dataDetectorServer.h.
|
write out the information of the data.
Reimplemented from messageVI.
Definition at line 39 of file dataDetectorServer.cpp.
|
write out information of a given detector data class.
Definition at line 67 of file dataDetectorServer.h.
|
write out the information of all the data classes.
Definition at line 65 of file dataDetectorServer.h.
|
Definition at line 43 of file dataDetectorServer.h.
|
Definition at line 42 of file dataDetectorServer.h.
|
|
pointer to the server of the trsDataVI of the transient data for the detector.
Definition at line 82 of file dataDetectorServer.h.