ATLAS Offline Software
Loading...
Searching...
No Matches
JetSelectorAttribute.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_JETSELECTORATTRIBUTE_H
8#define JETMONITORING_JETSELECTORATTRIBUTE_H
9#include "AsgTools/AsgTool.h"
10
13
14
15namespace JetVar {
16 class Variable;
17}
18
19class JetSelectorAttribute : public asg::AsgTool , virtual public IJetSelector
20 {
22 public:
23
24 JetSelectorAttribute(const std::string &t);
26
27 virtual StatusCode initialize() ;
28
29 int keep(const xAOD::Jet& jet) const;
30
31 protected:
32
33 std::vector<float> m_min;
34 std::vector<float> m_max;
35
36 ToolHandleArray<IJetHistoVarTool> m_var;
37
38};
39
40
41
42
43#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
IJetSelector is a dual-use tool interface for a tool that selects a jet.
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
std::vector< float > m_min
int keep(const xAOD::Jet &jet) const
Method to select.
std::vector< float > m_max
JetSelectorAttribute(const std::string &t)
virtual ~JetSelectorAttribute()
ToolHandleArray< IJetHistoVarTool > m_var
The goal of this class is to define a common way to access any "jet variable".
Definition JetVariable.h:51
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
Jet_v1 Jet
Definition of the current "jet version".