Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

test_AnalysisNtuple Class Reference

The test program for AnalysisNtuple is AnalysisNtupleAlg. More...

List of all members.

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


Detailed Description

The test program for AnalysisNtuple is AnalysisNtupleAlg.

Definition at line 30 of file test_AnalysisNtuple.cxx.


Constructor & Destructor Documentation

test_AnalysisNtuple::test_AnalysisNtuple const std::string &  name,
ISvcLocator *  pSvcLocator
 

ctor

Definition at line 56 of file test_AnalysisNtuple.cxx.

00057 :Algorithm(name, pSvcLocator)
00058 ,m_count(0)
00059 {
00060     
00061 }


Member Function Documentation

StatusCode test_AnalysisNtuple::execute  ) 
 

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 }

StatusCode test_AnalysisNtuple::finalize  ) 
 

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 }

StatusCode test_AnalysisNtuple::initialize  ) 
 

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 }


Member Data Documentation

int test_AnalysisNtuple::m_count [private]
 

number of times called

Definition at line 41 of file test_AnalysisNtuple.cxx.

Referenced by execute(), and finalize().


The documentation for this class was generated from the following file:
Generated on Mon Dec 1 20:09:11 2008 by doxygen 1.3.3