#include <DataInfoSvc.h>
Definition at line 15 of file DataInfoSvc.h.
◆ DataInfoSvc()
DataInfoSvc::DataInfoSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svcloc |
|
) |
| |
Definition at line 24 of file DataInfoSvc.cxx.
24 :
25 Service (name, svcloc){
26
27}
◆ ~DataInfoSvc()
DataInfoSvc::~DataInfoSvc |
( |
| ) |
|
◆ finalize()
StatusCode DataInfoSvc::finalize |
( |
| ) |
|
|
virtual |
Definition at line 72 of file DataInfoSvc.cxx.
72 {
73 MsgStream log(messageService(), name());
74 log << MSG::INFO << "DataInfoSvc::finalize()" << endreq;
75 return StatusCode::SUCCESS;
76}
◆ getDecayOptions()
string DataInfoSvc::getDecayOptions |
( |
| ) |
|
|
inline |
◆ getTotEvtNo()
std::vector< int > DataInfoSvc::getTotEvtNo |
( |
| ) |
|
|
inline |
◆ initialize()
StatusCode DataInfoSvc::initialize |
( |
| ) |
|
|
virtual |
Definition at line 41 of file DataInfoSvc.cxx.
41 {
42 MsgStream log(messageService(), name());
43 log << MSG::INFO << "DataInfoSvc::initialize()" << endreq;
44
45 StatusCode sc = Service::initialize();
46 sc = setProperties();
47 return StatusCode::SUCCESS;
48}
◆ queryInterface()
StatusCode DataInfoSvc::queryInterface |
( |
const InterfaceID & |
riid, |
|
|
void ** |
ppvUnknown |
|
) |
| |
|
virtual |
Definition at line 32 of file DataInfoSvc.cxx.
32 {
33 if( IID_IDataInfoSvc.versionMatch(riid) ){
35 } else{
36 return Service::queryInterface(riid, ppvInterface);
37 }
38 return StatusCode::SUCCESS;
39}
◆ setDecayCard()
void DataInfoSvc::setDecayCard |
( |
string |
card | ) |
|
Definition at line 50 of file DataInfoSvc.cxx.
51{
53 string tempString;
54 int i=0;
55 while(getline(fin,tempString))
56 {
57 if(tempString.size()>0)
58 {
59 m_decayOptions += tempString;
60 m_decayOptions += "\n";
61 }
62 i++;
63 }
64 if(i>100) m_decayOptions = "";
65 MsgStream log(messageService(), name());
66 log << MSG::INFO << "set decayOptions: " << endreq;
67 log << MSG::INFO << endreq
68 << m_decayOptions << endreq;
69}
Referenced by EvtDecay::initialize().
◆ setTotEvtNo()
void DataInfoSvc::setTotEvtNo |
( |
std::vector< int > |
i | ) |
|
|
inline |
The documentation for this class was generated from the following files: