ATLAS Offline Software
jJetSelectAlgTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GLOBALSIM_JJETSELECTALGTOOL_H
6 #define GLOBALSIM_JJETSELECTALGTOOL_H
7 
12 #include "../IGlobalSimAlgTool.h"
13 #include "../IO/jJetTOBArray.h"
14 #include "../IO/GenericTOBArray.h"
16 
17 #include <string>
18 
19 namespace GlobalSim {
20 
21  class jJetSelectAlgTool: public extends<AthAlgTool, IGlobalSimAlgTool> {
22 
23  public:
24  jJetSelectAlgTool(const std::string& type,
25  const std::string& name,
26  const IInterface* parent);
27 
28  virtual ~jJetSelectAlgTool() = default;
29 
30  StatusCode initialize() override;
31 
32  virtual StatusCode run(const EventContext& ctx) const override;
33 
34  virtual std::string toString() const override;
35 
36  private:
37 
38  Gaudi::Property<std::string> m_algInstanceName {
39  this,
40  "alg_instance_name",
41  {},
42  "instance name of concrete L1Topo Algorithm"};
43 
44  // variable names taken from L1Menu
45  Gaudi::Property<unsigned int> m_InputWidth{
46  this,
47  "InputWidth",
48  {0},
49  "Maximum number of TOBS to output"
50  };
51 
52  Gaudi::Property<unsigned int> m_MinET{
53  this,
54  "MinET",
55  {0},
56  "jJetSelect construction parameter"
57  };
58 
59  Gaudi::Property<unsigned int> m_MinEta{
60  this,
61  "MinEta",
62  {0},
63  "jJetSelect construction parameter"
64  };
65 
66 
67  Gaudi::Property<unsigned int> m_MaxEta{
68  this,
69  "MaxEta",
70  {0},
71  "jJetSelect construction parameter"
72  };
73 
74 
76  m_jJetTOBArrayReadKey {this, "TOBArrayReadKey", "",
77  "key to read in an jJetTOBArray"};
78 
79 
81  m_TOBArrayWriteKey {this, "TOBArrayWriteKey", "",
82  "key to write out selected generic TOBs"};
83 
84 
85  };
86 }
87 #endif
GlobalSim::jJetSelectAlgTool::m_MaxEta
Gaudi::Property< unsigned int > m_MaxEta
Definition: jJetSelectAlgTool.h:67
GlobalSim::jJetSelectAlgTool::m_algInstanceName
Gaudi::Property< std::string > m_algInstanceName
Definition: jJetSelectAlgTool.h:38
GlobalSim::jJetSelectAlgTool::m_MinET
Gaudi::Property< unsigned int > m_MinET
Definition: jJetSelectAlgTool.h:52
GlobalSim::jJetSelectAlgTool::m_MinEta
Gaudi::Property< unsigned int > m_MinEta
Definition: jJetSelectAlgTool.h:59
GlobalSim::jJetSelectAlgTool::m_InputWidth
Gaudi::Property< unsigned int > m_InputWidth
Definition: jJetSelectAlgTool.h:45
GlobalSim::jJetSelectAlgTool::run
virtual StatusCode run(const EventContext &ctx) const override
Definition: jJetSelectAlgTool.cxx:25
GlobalSim::jJetSelectAlgTool::~jJetSelectAlgTool
virtual ~jJetSelectAlgTool()=default
SG::ReadHandleKey< GlobalSim::jJetTOBArray >
GlobalSim
AlgTool to obtain a selection of eFex RoIs read in from the event store.
Definition: dump.h:8
SG::WriteHandleKey< GlobalSim::GenericTOBArray >
GlobalSim::jJetSelectAlgTool::toString
virtual std::string toString() const override
Definition: jJetSelectAlgTool.cxx:51
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
GlobalSim::jJetSelectAlgTool::m_TOBArrayWriteKey
SG::WriteHandleKey< GlobalSim::GenericTOBArray > m_TOBArrayWriteKey
Definition: jJetSelectAlgTool.h:81
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
GlobalSim::jJetSelectAlgTool::initialize
StatusCode initialize() override
Definition: jJetSelectAlgTool.cxx:16
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
GlobalSim::jJetSelectAlgTool
Definition: jJetSelectAlgTool.h:21
GlobalSim::jJetSelectAlgTool::jJetSelectAlgTool
jJetSelectAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: jJetSelectAlgTool.cxx:9
GlobalSim::jJetSelectAlgTool::m_jJetTOBArrayReadKey
SG::ReadHandleKey< GlobalSim::jJetTOBArray > m_jJetTOBArrayReadKey
Definition: jJetSelectAlgTool.h:76