ATLAS Offline Software
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 
15 class JetEventSelector : public asg::AsgTool , virtual public IJetEventSelector
16  {
18  public:
19 
20  JetEventSelector(const std::string &t);
21  virtual ~JetEventSelector();
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
JetEventSelector::m_var
ToolHandleArray< IEventHistoVarTool > m_var
Definition: JetEventSelector.h:32
IJetEventSelector
IJetEventSelector is a dual-use tool interface for a tool that selects a jet based on EventInfo selec...
Definition: IJetEventSelector.h:17
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
JetEventSelector::initialize
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
Definition: JetEventSelector.cxx:20
JetEventSelector::~JetEventSelector
virtual ~JetEventSelector()
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
EventHistoVarTool.h
IJetEventSelector.h
JetEventSelector::m_max
std::vector< float > m_max
Definition: JetEventSelector.h:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JetEventSelector::m_min
std::vector< float > m_min
Definition: JetEventSelector.h:29
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
JetEventSelector
Definition: JetEventSelector.h:16
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
JetEventSelector::JetEventSelector
JetEventSelector(const std::string &t)
Definition: JetEventSelector.cxx:8
AsgTool.h
JetEventSelector::keep
int keep(const xAOD::EventInfo &e, const xAOD::JetContainer &jets) const
Method to select.
Definition: JetEventSelector.cxx:33