JobCDemoModuleB Class Reference

#include <JobCDemoModuleB.h>

Inheritance diagram for JobCDemoModuleB:
JobCModule

List of all members.

Public Member Functions

 JobCDemoModuleB ()
 ~JobCDemoModuleB ()
JobCResult Reco (MomNavigator *mom)
JobCResult Ana (const MomNavigator *mom)
void HandleCommand (JobCommand *command)
void Help ()
void Report ()
void Reset ()

Private Attributes

int fNreco
int fNana

Detailed Description

Definition at line 20 of file JobCDemoModuleB.h.


Constructor & Destructor Documentation

JobCDemoModuleB::JobCDemoModuleB (  ) 

Definition at line 23 of file JobCDemoModuleB.cxx.

References Msg::kDebug, and MSG.

00023                                  : fNreco(0), fNana(0)
00024 {
00025   MSG("JobC", Msg::kDebug) << "** DemoModuleB::Constructor\n";
00026 }

JobCDemoModuleB::~JobCDemoModuleB (  ) 

Definition at line 30 of file JobCDemoModuleB.cxx.

References Msg::kDebug, and MSG.

00031 {
00032   MSG("JobC", Msg::kDebug) << "** DemoModuleB::Destructor\n";
00033 }


Member Function Documentation

JobCResult JobCDemoModuleB::Ana ( const MomNavigator mom  )  [virtual]

Implement this for read only access to the MomNavigator

Reimplemented from JobCModule.

Definition at line 37 of file JobCDemoModuleB.cxx.

References fNana, JobCResult::kAOK, Msg::kInfo, and MSG.

00038 {
00039   ++fNana;
00040   MSG("JobC", Msg::kInfo) 
00041     << "** DemoModuleB(" << this << ")::Ana (" << mom << ") nAna=" << 
00042     fNana << "\n";
00043   return JobCResult::kAOK;
00044 }

void JobCDemoModuleB::HandleCommand ( JobCommand command  )  [virtual]

Implement to handle a JobCommand

Reimplemented from JobCModule.

Definition at line 59 of file JobCDemoModuleB.cxx.

References Msg::kInfo, and MSG.

00060 {
00061   MSG("JobC", Msg::kInfo) << 
00062     "** DemoModuleB::HandleCommand(" << cmd << ")\n";
00063 }

void JobCDemoModuleB::Help (  )  [virtual]

Implement to spew some useful help to cout

Reimplemented from JobCModule.

Definition at line 67 of file JobCDemoModuleB.cxx.

References Msg::kInfo, and MSG.

00068 {
00069   MSG("JobC", Msg::kInfo) << "** DemoModuleB::Help()\n";
00070 }

JobCResult JobCDemoModuleB::Reco ( MomNavigator mom  )  [virtual]

Implement this for read-write access to the MomNavigator

Reimplemented from JobCModule.

Definition at line 48 of file JobCDemoModuleB.cxx.

References fNreco, Msg::kInfo, JobCResult::kPassed, and MSG.

00049 {
00050   ++fNreco;
00051   MSG("JobC", Msg::kInfo) 
00052     << "** DemoModuleB(" << this << ")::Reco(" << mom << ") nReco=" << 
00053     fNreco << "\n";
00054   return JobCResult::kPassed;
00055 }

void JobCDemoModuleB::Report (  )  [virtual]

Implement to spew end of running report

Reimplemented from JobCModule.

Definition at line 74 of file JobCDemoModuleB.cxx.

References Msg::kInfo, and MSG.

00075 {
00076   MSG("JobC", Msg::kInfo) << "** DemoModuleB::Report()\n";
00077 }

void JobCDemoModuleB::Reset (  )  [virtual]

Implement to reset oneself

Reimplemented from JobCModule.

Definition at line 81 of file JobCDemoModuleB.cxx.

References Msg::kInfo, and MSG.

00082 {
00083   MSG("JobC", Msg::kInfo) << "** DemoModuleB::Reset()\n";
00084 }


Member Data Documentation

int JobCDemoModuleB::fNana [private]

Definition at line 35 of file JobCDemoModuleB.h.

Referenced by Ana().

int JobCDemoModuleB::fNreco [private]

Definition at line 34 of file JobCDemoModuleB.h.

Referenced by Reco().


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1