20 "Percentage of events that should be passed" );
33 return StatusCode::SUCCESS;
40 float fraction = (float(100.0) * (float)(
m_pass+1)) / (
float)
m_seen;
42 setFilterPassed(
false );
48 return StatusCode::SUCCESS;
56 <<
" - passed events: " <<
m_pass);
58 return StatusCode::SUCCESS;
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
AthPrescaler(const std::string &name, ISvcLocator *pSvcLocator)
Constructor(s)
~AthPrescaler()
Destructor.
int m_seen
Number of events seen.
int m_pass
Number of events passed.
Gaudi::CheckedProperty< double > m_percentPass
Percentage of events that should be passed.