Public Member Functions | |
| test_AnalysisNtuple (const std::string &name, ISvcLocator *pSvcLocator) | |
| ctor | |
| StatusCode | initialize () |
| set parameters and attach to various perhaps useful services. | |
| StatusCode | execute () |
| process an event | |
| StatusCode | finalize () |
| clean up, summarize | |
Private Attributes | |
| int | m_count |
| number of times called | |
Definition at line 30 of file test_AnalysisNtuple.cxx.
|
||||||||||||
|
ctor
Definition at line 56 of file test_AnalysisNtuple.cxx.
00057 :Algorithm(name, pSvcLocator) 00058 ,m_count(0) 00059 { 00060 00061 } |
|
|
process an event
Definition at line 76 of file test_AnalysisNtuple.cxx. References m_count.
00077 {
00078
00079 StatusCode sc = StatusCode::SUCCESS;
00080 ++m_count;
00081
00082 std::cout << "test code is in AnalysisNtupleAlg!" << std::endl;
00083 return sc;
00084 }
|
|
|
clean up, summarize
Definition at line 90 of file test_AnalysisNtuple.cxx. References m_count.
00090 {
00091 StatusCode sc = StatusCode::SUCCESS;
00092 MsgStream log(msgSvc(), name());
00093 log << MSG::INFO << "finalize after " << m_count << " calls." << endreq;
00094
00095 return sc;
00096 }
|
|
|
set parameters and attach to various perhaps useful services.
Definition at line 68 of file test_AnalysisNtuple.cxx.
00068 {
00069 StatusCode sc = StatusCode::SUCCESS;
00070 return sc;
00071 }
|
|
|
number of times called
Definition at line 41 of file test_AnalysisNtuple.cxx. Referenced by execute(), and finalize(). |
1.3.3