60 SmartDataPtr<Event::EventHeader> eventHeader(eventSvc(),
"/Event/EventHeader");
64 int npar = m_evtFilterSvc->
getNpar();
68 if ( eventHeader->etsFlag() != 21 ) {
69 double dtEts = (long(eventHeader->etsT1()) - long(eventHeader->etsT2())) /
double(2000.);
70 for ( ; iPar < npar && m_evtFilterSvc->
getFlag(iPar) == 0; ++iPar ) {
71 if ( dtEts < m_evtFilterSvc->getTBegin(iPar) ) {
75 else if ( dtEts < m_evtFilterSvc->getTEnd(iPar) ) {
82 if ( keep && iPar < npar ) {
83 double tEts = eventHeader->etsT1() / double(2000000.);
84 for ( ; iPar < npar; ++iPar ) {
85 if ( m_evtFilterSvc->
getFlag(iPar) == 0 ) {
88 if ( tEts < m_evtFilterSvc->getTBegin(iPar) ) {
92 else if ( tEts < m_evtFilterSvc->getTEnd(iPar) ) {
101 return StatusCode::SUCCESS;
144 debug() <<
"event " << eventHeader->eventNumber() <<
" is passed" << endmsg;
145 m_incidentSvc->fireIncident(Incident(name(), IncidentType::AbortEvent));
147 return StatusCode::SUCCESS;