16 #define ON_DEBUG if (UNLIKELY(outputLevel() <= MSG::DEBUG))
17 #define ON_VERBOSE if (UNLIKELY(outputLevel() <= MSG::VERBOSE))
24 m_branchFilterPassed( false )
61 log <<
MSG::ERROR <<
"Unable to configure one or more sequencer members " <<
endmsg;
66 log <<
MSG::ERROR <<
"Unable to configure one or more branch members " <<
endmsg;
72 itend = theAlgs->
end( );
73 for (it = theAlgs->
begin(); it != itend; it++) {
84 itend = theAlgs->
end( );
85 for (it = theAlgs->
begin(); it != itend; it++) {
108 for (it = theAlgms->
begin(); it != itend; it++) {
117 itend = theAlgms->
end( );
118 for (it = theAlgms->
begin(); it != itend; it++) {
151 if ( theAlgs->
size( ) > 0 ) {
152 Algorithm* branchAlgorithm = (*theAlgs)[0];
153 if ( lastAlgorithm == branchAlgorithm ) {
187 for (it = theAlgs->
begin(); it != itend; it++) {
191 log <<
MSG::ERROR <<
"Unable to finalize Algorithm "
210 itend = theAlgs->
end( );
211 for (it = theAlgs->
begin(); it != itend; it++) {
222 itend = theAlgs->
end( );
223 for (it = theAlgs->
begin(); it != itend; it++) {
245 itend = theAlgs->
end( );
246 for (it = theAlgs->
begin(); it != itend; it++) {
250 log <<
MSG::ERROR <<
"Unable to stop Algorithm "
256 itend = theAlgs->
end( );
257 for (it = theAlgs->
begin(); it != itend; it++) {
261 log <<
MSG::ERROR <<
"Unable to stop Algorithm "
284 for (it = theAlgs->
begin(); it != itend; it++) {
300 for (it = theAlgs->
begin(); it != itend; it++) {
312 itend = theAlgs->
end( );
313 for (it = theAlgs->
begin(); it != itend; it++) {
329 for (it = theAlgs->
begin(); it != itend; it++) {
350 for (it = theAlgms->
begin(); it != itend; it++) {
359 itend = theAlgms->
end( );
360 for (it = theAlgms->
begin(); it != itend; it++) {
380 for (it = subAlgms->
begin(); it != itend; it++) {
388 itend = subAlgms->
end( );
389 for (it = subAlgms->
begin(); it != itend; it++) {
534 for (it = theAlgs->
begin(); it != itend; it++) {
536 if ( theAlgorithm == pAlgorithm ) {
543 pAlgorithm->addRef();
559 result = theAlgMgr->createAlgorithm( type, algName, tmp );
562 pAlgorithm =
dynamic_cast<Algorithm*
>(tmp);
590 for (it = theNameVector.
begin(); it != itend; it++) {
598 const Gaudi::Utils::TypeNameString
typeName(*it);
608 bool isInverted =
false;
611 while ( std::string::npos != invert
612 && invert < (theName.size() - 1) && theName[invert+1] ==
':' )
613 invert = theName.find_first_of(
":", invert+2 );
614 if ( std::string::npos != invert ) {
615 if ( theName == theType ) {
618 theType = theType.substr( 0, invert );
620 theName = theName.substr( 0, invert );
632 log <<
MSG::WARNING << theName <<
" is not an Algorithm - Failed dynamic cast" <<
endmsg;
636 if ( theAlgorithm ) {
639 status =
append( theAlgorithm, theAlgs );
669 for ( ; ai != theAlgs->
end(); ++ai, ++li ) {
671 if ( ai != theAlgs->
begin() ) log <<
", ";
674 log << (*ai)->name();
678 if (*li) log <<
":invert";
697 unsigned int size = theAlgs->
size( );
698 for (
unsigned int i = first;
i < size;
i++) {
699 lastAlgorithm = (*theAlgs)[
i];
706 bool isInverted = theLogic[
i];
716 if ( ! passed )
break;
750 for (it = theAlgs->
begin(); it != itend; it++) {
752 if ( theAlgorithm->
name( ) == algname ) {
756 log <<
MSG::INFO <<
"Sequencer::remove( ) isn't implemented yet!!!!!" <<
endmsg;