15 #define ON_DEBUG if (UNLIKELY(outputLevel() <= MSG::DEBUG))
16 #define ON_VERBOSE if (UNLIKELY(outputLevel() <= MSG::VERBOSE))
23 m_branchFilterPassed( false )
60 log <<
MSG::ERROR <<
"Unable to configure one or more sequencer members " <<
endmsg;
65 log <<
MSG::ERROR <<
"Unable to configure one or more branch members " <<
endmsg;
71 itend = theAlgs->
end( );
72 for (it = theAlgs->
begin(); it != itend; it++) {
83 itend = theAlgs->
end( );
84 for (it = theAlgs->
begin(); it != itend; it++) {
107 for (it = theAlgms->
begin(); it != itend; it++) {
116 itend = theAlgms->
end( );
117 for (it = theAlgms->
begin(); it != itend; it++) {
150 if ( theAlgs->
size( ) > 0 ) {
151 Algorithm* branchAlgorithm = (*theAlgs)[0];
152 if ( lastAlgorithm == branchAlgorithm ) {
186 for (it = theAlgs->
begin(); it != itend; it++) {
190 log <<
MSG::ERROR <<
"Unable to finalize Algorithm "
209 itend = theAlgs->
end( );
210 for (it = theAlgs->
begin(); it != itend; it++) {
221 itend = theAlgs->
end( );
222 for (it = theAlgs->
begin(); it != itend; it++) {
244 itend = theAlgs->
end( );
245 for (it = theAlgs->
begin(); it != itend; it++) {
249 log <<
MSG::ERROR <<
"Unable to stop Algorithm "
255 itend = theAlgs->
end( );
256 for (it = theAlgs->
begin(); it != itend; it++) {
260 log <<
MSG::ERROR <<
"Unable to stop Algorithm "
283 for (it = theAlgs->
begin(); it != itend; it++) {
299 for (it = theAlgs->
begin(); it != itend; it++) {
311 itend = theAlgs->
end( );
312 for (it = theAlgs->
begin(); it != itend; it++) {
328 for (it = theAlgs->
begin(); it != itend; it++) {
349 for (it = theAlgms->
begin(); it != itend; it++) {
358 itend = theAlgms->
end( );
359 for (it = theAlgms->
begin(); it != itend; it++) {
379 for (it = subAlgms->
begin(); it != itend; it++) {
387 itend = subAlgms->
end( );
388 for (it = subAlgms->
begin(); it != itend; it++) {
533 for (it = theAlgs->
begin(); it != itend; it++) {
535 if ( theAlgorithm == pAlgorithm ) {
542 pAlgorithm->addRef();
558 result = theAlgMgr->createAlgorithm( type, algName, tmp );
561 pAlgorithm =
dynamic_cast<Algorithm*
>(tmp);
589 for (it = theNameVector.
begin(); it != itend; it++) {
597 const Gaudi::Utils::TypeNameString
typeName(*it);
607 bool isInverted =
false;
610 while ( std::string::npos != invert
611 && invert < (theName.size() - 1) && theName[invert+1] ==
':' )
612 invert = theName.find_first_of(
":", invert+2 );
613 if ( std::string::npos != invert ) {
614 if ( theName == theType ) {
617 theType = theType.substr( 0, invert );
619 theName = theName.substr( 0, invert );
631 log <<
MSG::WARNING << theName <<
" is not an Algorithm - Failed dynamic cast" <<
endmsg;
635 if ( theAlgorithm ) {
638 status =
append( theAlgorithm, theAlgs );
668 for ( ; ai != theAlgs->
end(); ++ai, ++li ) {
670 if ( ai != theAlgs->
begin() ) log <<
", ";
673 log << (*ai)->name();
677 if (*li) log <<
":invert";
696 unsigned int size = theAlgs->
size( );
697 for (
unsigned int i = first;
i < size;
i++) {
698 lastAlgorithm = (*theAlgs)[
i];
705 bool isInverted = theLogic[
i];
715 if ( ! passed )
break;
749 for (it = theAlgs->
begin(); it != itend; it++) {
751 if ( theAlgorithm->
name( ) == algname ) {
755 log <<
MSG::INFO <<
"Sequencer::remove( ) isn't implemented yet!!!!!" <<
endmsg;