#include <StepDecision.h>
Public Member Functions | |
int | execDecision (const std::string &sigID) |
int | execDecision (const std::string &sigID) |
StatusCode | execute () |
StatusCode | execute () |
StatusCode | finalize () |
StatusCode | finalize () |
const std::string & | getBehaviour () const |
const std::string & | getBehaviour () const |
const std::string & | getContinue () const |
const std::string & | getContinue () const |
StatusCode | initDecision (HltProcessor::Signature *) |
StatusCode | initDecision (HltProcessor::Signature *) |
StatusCode | initialize () |
StatusCode | initialize () |
StepDecision (const std::string &name, ISvcLocator *pSvcLocator) | |
StepDecision (const std::string &name, ISvcLocator *pSvcLocator) | |
~StepDecision () | |
~StepDecision () | |
Private Attributes | |
std::string | m_behaviour |
std::string | m_continue |
HltStoreSvc * | m_HltStoreSvc |
HltStoreSvc * | m_HltStoreSvc |
std::map< std::string, HltProcessor::Signature * > | m_SigMap |
std::map< std::string, HltProcessor::Signature * > | m_SigMap |
|
00020 : 00021 Algorithm(name, pSvcLocator) { }
|
|
00024 { }
|
|
|
|
|
|
|
|
00047 { 00048 00049 MsgStream log( messageService(), name() ); 00050 //log << MSG::DEBUG << "Starting Execution StepDecision" << endreq; 00051 00052 Signature* sig = m_SigMap[sigID]; 00053 int decision = sig->isCriteriaMatched(); 00054 00055 m_continue =sig->midresult(); 00056 m_behaviour = sig->result(); 00057 //cout << "----"<< m_behaviour<< " "<<m_continue<<endl; 00058 return decision; 00059 }
|
|
00020 {return StatusCode::SUCCESS;};
|
|
00020 {return StatusCode::SUCCESS;};
|
|
00021 {return StatusCode::SUCCESS;};
|
|
00021 {return StatusCode::SUCCESS;};
|
|
00025 { return m_behaviour; }
|
|
00025 { return m_behaviour; }
|
|
00026 { return m_continue; }
|
|
00026 { return m_continue; }
|
|
|
|
00028 { 00029 00030 MsgStream log( messageService(), name() ); 00031 00032 StatusCode sc = service( "HltStoreSvc", m_HltStoreSvc); 00033 if( sc.isFailure() ) { 00034 log << MSG::FATAL << name() << ": Unable to locate Service HltStoreSvc" << endreq; 00035 return sc; 00036 } 00037 00038 std::string sigID = signature->label(); 00039 m_SigMap[sigID] = signature; 00040 log << MSG::INFO << name() << " Find Signature with ID: " << sigID << endreq; 00041 00042 return StatusCode::SUCCESS; 00043 }
|
|
00019 {return StatusCode::SUCCESS;};
|
|
00019 {return StatusCode::SUCCESS;};
|
|
|
|
|
|
|
|
|
|
|
|
|