213 MsgStream log(
msgSvc(), name());
214 log << MSG::INFO <<
"in execute()" << endreq;
216 SmartDataPtr<DQAEvent::DQAEvent> dqaevt(eventSvc(),
"/Event/DQATag");
220 sc = eventSvc()->registerObject(
"/Event/DQATag", dqaevt);
221 if (sc.isFailure()) {
222 log << MSG::ERROR <<
"Could not register DQAEvent to TDS" << endreq;
223 return StatusCode::FAILURE;
229 m_dqaBhabha->execute();
230 if ( m_dqaBhabha->filterPassed() ) {
231 dqaevt->setBhabha(1);
232 if ( m_OutBhabha ) m_dqaoutBhabha->execute();
237 m_dqaDimu->execute();
238 if ( m_dqaDimu->filterPassed() ) {
240 if ( m_OutDimu ) m_dqaoutDimu->execute();
245 m_dqaHadron->execute();
246 if ( m_dqaHadron->filterPassed() ) {
247 dqaevt->setHadron(1);
248 if ( m_OutHadron ) m_dqaoutHadron->execute();
253 m_dqaRhopi->execute();
254 if ( m_dqaRhopi->filterPassed() ) {
256 if ( m_OutRhopi ) m_dqaoutRhopi->execute();
261 m_dqaPpbar->execute();
262 if ( m_dqaPpbar->filterPassed() ) {
264 if ( m_OutPpbar ) m_dqaoutPpbar->execute();
269 m_dqaKstark->execute();
270 if ( m_dqaKstark->filterPassed() ) {
271 dqaevt->setKstark(1);
272 if ( m_OutKstark ) m_dqaoutKstark->execute();
276 if ( m_selLambdalambda ) {
277 m_dqaLambdalambda->execute();
278 if ( m_dqaLambdalambda->filterPassed() ) {
279 dqaevt->setLambdalambdabar(1);
280 if ( m_OutLambdalambda ) m_dqaoutLambdalambda->execute();
285 m_dqaPPpipi->execute();
286 if ( m_dqaPPpipi->filterPassed() ) {
287 dqaevt->setPpbarpipi(1);
288 if ( m_OutPPpipi ) m_dqaoutPPpipi->execute();
292 if ( m_selKsKpiDedx ) {
293 m_dqaKsKpiDedx->execute();
294 if ( m_dqaKsKpiDedx->filterPassed() ) {
295 dqaevt->setKstark(1);
296 if ( m_OutKsKpiDedx ) m_dqaoutKsKpiDedx->execute();
300 if ( m_selpipiJpsi ) {
301 m_dqapipiJpsi->execute();
302 if ( m_dqapipiJpsi->filterPassed() ) {
303 dqaevt->setHadron(1);
304 if ( m_OutpipiJpsi ) m_dqaoutpipiJpsi->execute();
308 return StatusCode::SUCCESS;