TestDigitsModule Class Reference

#include <TestDigitsModule.h>

Inheritance diagram for TestDigitsModule:
JobCModule

List of all members.

Public Member Functions

 TestDigitsModule ()
 ~TestDigitsModule ()
JobCResult Ana (const MomNavigator *mom)
JobCResult Test (const MomNavigator *mom)

Private Member Functions

 ClassDef (TestDigitsModule, 0)

Detailed Description

Definition at line 17 of file TestDigitsModule.h.


Constructor & Destructor Documentation

TestDigitsModule::TestDigitsModule (  )  [inline]

Definition at line 20 of file TestDigitsModule.h.

00020 {};

TestDigitsModule::~TestDigitsModule (  )  [inline]

Definition at line 21 of file TestDigitsModule.h.

00021 {};


Member Function Documentation

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

Implement this for read only access to the MomNavigator

Reimplemented from JobCModule.

Definition at line 17 of file TestDigitsModule.cxx.

References JobCResult::Failed(), Msg::kInfo, and MSG.

00018 {
00019   JobCResult res = Test(mom);
00020   if(res.Failed())
00021     MSG("Trid",Msg::kInfo) << "Needs digits.\n";
00022   else 
00023     MSG("Trid",Msg::kInfo) << "Doesn't need digits.\n";
00024   return res;
00025 }

TestDigitsModule::ClassDef ( TestDigitsModule  ,
 
) [private]
JobCResult TestDigitsModule::Test ( const MomNavigator mom  ) 

Definition at line 27 of file TestDigitsModule.cxx.

References JobCResult::kFailed, and JobCResult::kPassed.

00028 {
00029   const CandDigitListHandle* cdlh = 
00030     DataUtil::GetCandidate<CandDigitListHandle>(mom,"CandDigitListHandle","");
00031     
00032   if(cdlh != NULL)
00033     return JobCResult::kPassed; // kNoDecision, kFailed, etc.
00034 
00035   return JobCResult::kFailed;
00036 }


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1