22 for (
unsigned int it = 0; it <
m_var.size(); it++) {
26 return StatusCode::SUCCESS;
35 for (
unsigned int it = 0; it <
m_var.size(); it++) {
36 float v =
m_var[it]->value(jets);
37 if ((
m_min.at(it) > v) || (
m_max.at(it) < v))
return false;
#define ATH_CHECK
Evaluate an expression and check for errors.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ToolHandleArray< IEventHistoVarTool > m_var
std::vector< float > m_max
std::vector< float > m_min
JetEventSelector(const std::string &t)
virtual ~JetEventSelector()
int keep(const xAOD::EventInfo &e, const xAOD::JetContainer &jets) const
Method to select.
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
EventInfo_v1 EventInfo
Definition of the latest event info version.
JetContainer_v1 JetContainer
Definition of the current "jet container version".