ATLAS Offline Software
Loading...
Searching...
No Matches
JetEventSelector.h
Go to the documentation of this file.
1// -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef JETMONITORING_JetEventSelector_H
8#define JETMONITORING_JetEventSelector_H
9#include "AsgTools/AsgTool.h"
10
13
14
15class JetEventSelector : public asg::AsgTool , virtual public IJetEventSelector
16 {
18 public:
19
20 JetEventSelector(const std::string &t);
22
23 virtual StatusCode initialize() ;
24
25 int keep(const xAOD::EventInfo& e, const xAOD::JetContainer & jets) const;
26
27 protected:
28
29 std::vector<float> m_min;
30 std::vector<float> m_max;
31
32 ToolHandleArray<IEventHistoVarTool> m_var;
33
34};
35
36
37
38
39#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
IJetEventSelector is a dual-use tool interface for a tool that selects a jet based on EventInfo selec...
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.
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
EventInfo_v1 EventInfo
Definition of the latest event info version.
JetContainer_v1 JetContainer
Definition of the current "jet container version".