48 m_timerTool = tool<ISequencerTimerTool>(
"SequencerTimerTool" );
60 std::vector<AlgorithmEntry>::iterator itE;
66 status = itE->algorithm()->sysInitialize();
68 return Error(
"Can not initialize " + itE->algorithm()->name(),
92 std::vector<AlgorithmEntry>::const_iterator itE;
107 verbose() <<
"Algorithm " << myAlg->
name() <<
" returned filter passed "
108 << (passed ?
"true" :
"false") <<
endmsg;
109 if ( itE->reverse() ) passed = !passed;
127 if (
m_modeOR ? passed : !passed ) {
130 verbose() <<
"SeqPass is now " << (seqPass ?
"true" :
"false") <<
endmsg;
137 verbose() <<
"SeqPass is " << (seqPass ?
"true" :
"false") <<
endmsg;
183 std::vector<AlgorithmEntry>::const_iterator itE;
185 itE->algorithm()->resetExecuted();
194 #pragma warning(push)
195 #pragma warning(disable:1572)
204 bool addedContext =
false;
205 bool addedRootInTES =
false;
206 bool addedGlobalTimeOffset =
false;
211 const std::vector<std::string>& nameVector =
m_names.
value();
212 std::vector<std::string>::const_iterator it;
213 for ( it = nameVector.begin(); nameVector.end() != it; it++ ) {
214 const Gaudi::Utils::TypeNameString
typeName(*it);
215 const std::string &theName = typeName.name();
216 const std::string &theType = typeName.type();
226 bool foundContext =
false;
227 bool foundRootInTES =
false;
228 bool foundGlobalTimeOffset =
false;
229 const std::vector<const Property*>* properties = jos->
getProperties( theName );
230 if ( 0 != properties ) {
232 for ( std::vector<const Property*>::const_iterator itProp = properties->begin();
233 itProp != properties->end();
237 if (
"Context" == (*itProp)->name() ) {
240 if (
"RootInTES" == (*itProp)->name() ) {
241 foundRootInTES =
true;
243 if (
"GlobalTimeOffset" == (*itProp)->name() ) {
244 foundGlobalTimeOffset =
true;
249 if ( !foundContext &&
"" !=
context() ) {
254 if ( !foundRootInTES &&
"" !=
rootInTES() ) {
257 addedRootInTES =
true;
262 addedGlobalTimeOffset =
true;
281 if ( addedContext ) {
283 addedContext =
false;
285 if ( addedRootInTES ) {
287 addedRootInTES =
false;
289 if ( addedGlobalTimeOffset ) {
291 addedGlobalTimeOffset =
false;
324 warning() << theName <<
" is not an Algorithm - failed dynamic_cast"
329 warning() <<
"Unable to find or create " << theName <<
endmsg;
341 msg <<
"Member list: ";
342 std::vector<AlgorithmEntry>::iterator itE;
346 if ( myAlg->
name() == myAlgType ) {
347 msg << myAlg->
name();
349 msg << myAlgType <<
"/" << myAlg->
name();
351 if ( itE+1 !=
m_entries.end() ) msg <<
", ";
353 if (
"" !=
context() ) msg <<
", with context '" <<
context() <<
"'";
381 {
m_timerTool = tool<ISequencerTimerTool>(
"SequencerTimerTool" ) ; }
388 for ( std::vector<AlgorithmEntry>::iterator itE =
m_entries.begin() ;