ATLAS Offline Software
EnergyThresholdAlgTool_jXE.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_ENERGYTHRESHOLDALGTOOL_JXE_H
6 #define GLOBALSIM_ENERGYTHRESHOLDALGTOOL_JXE_H
7 
12 #include "../IGlobalSimAlgTool.h"
13 
16 
17 #include <string>
18 
19 namespace GlobalSim {
20 
21  class jXETOBArray;
22  class Count;
23 
24  class EnergyThresholdAlgTool_jXE: public extends<AthAlgTool, IGlobalSimAlgTool> {
25 
26  public:
27  EnergyThresholdAlgTool_jXE(const std::string& type,
28  const std::string& name,
29  const IInterface* parent);
30 
31  virtual ~EnergyThresholdAlgTool_jXE() = default;
32 
33  StatusCode initialize() override;
34 
35  virtual StatusCode
36  run(const EventContext& ctx) const override;
37 
38  virtual std::string toString() const override;
39 
40  private:
41 
42  Gaudi::Property<std::string> m_algInstanceName {
43  this,
44  "alg_instance_name",
45  {},
46  "instance name of concrete L1Topo Algorithm"};
47 
48  Gaudi::Property<unsigned int> m_nbits {
49  this,
50  "nbits",
51  {0u},
52  "number of bits to be set in TCS::Count"};
53 
54  Gaudi::Property<unsigned int> m_threshold {
55  this,
56  "hundredMeVThreshold",
57  {0u},
58  "threshold from menu * 10"};
59 
61  m_jXETOBArrayReadKey {this, "TOBArrayReadKey", "",
62  "key to read in an jXETOBArray"};
63 
65  m_CountWriteKey {this, "CountWriteKey", "",
66  "key to write out an L1Topo Count object"};
67 
68 
69  ToolHandle<GenericMonitoringTool>
70  m_monTool{this, "monTool", {}, "MonitoringTool"};
71  };
72 }
73 #endif
GlobalSim::EnergyThresholdAlgTool_jXE::toString
virtual std::string toString() const override
Definition: EnergyThresholdAlgTool_jXE.cxx:51
GlobalSim::EnergyThresholdAlgTool_jXE::m_CountWriteKey
SG::WriteHandleKey< GlobalSim::Count > m_CountWriteKey
Definition: EnergyThresholdAlgTool_jXE.h:65
SG::ReadHandleKey< GlobalSim::jXETOBArray >
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:77
GlobalSim::EnergyThresholdAlgTool_jXE::m_nbits
Gaudi::Property< unsigned int > m_nbits
Definition: EnergyThresholdAlgTool_jXE.h:48
GlobalSim::EnergyThresholdAlgTool_jXE::initialize
StatusCode initialize() override
Definition: EnergyThresholdAlgTool_jXE.cxx:21
GenericMonitoringTool.h
GlobalSim
AlgTool to obtain a selection of eFex RoIs read in from the event store.
Definition: dump.h:8
SG::WriteHandleKey< GlobalSim::Count >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
GlobalSim::EnergyThresholdAlgTool_jXE::m_jXETOBArrayReadKey
SG::ReadHandleKey< GlobalSim::jXETOBArray > m_jXETOBArrayReadKey
Definition: EnergyThresholdAlgTool_jXE.h:61
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
GlobalSim::EnergyThresholdAlgTool_jXE::~EnergyThresholdAlgTool_jXE
virtual ~EnergyThresholdAlgTool_jXE()=default
GlobalSim::EnergyThresholdAlgTool_jXE::m_threshold
Gaudi::Property< unsigned int > m_threshold
Definition: EnergyThresholdAlgTool_jXE.h:54
GlobalSim::EnergyThresholdAlgTool_jXE::run
virtual StatusCode run(const EventContext &ctx) const override
Definition: EnergyThresholdAlgTool_jXE.cxx:34
GlobalSim::EnergyThresholdAlgTool_jXE::EnergyThresholdAlgTool_jXE
EnergyThresholdAlgTool_jXE(const std::string &type, const std::string &name, const IInterface *parent)
Definition: EnergyThresholdAlgTool_jXE.cxx:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
GlobalSim::EnergyThresholdAlgTool_jXE::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: EnergyThresholdAlgTool_jXE.h:70
GlobalSim::EnergyThresholdAlgTool_jXE
Definition: EnergyThresholdAlgTool_jXE.h:24
GlobalSim::EnergyThresholdAlgTool_jXE::m_algInstanceName
Gaudi::Property< std::string > m_algInstanceName
Definition: EnergyThresholdAlgTool_jXE.h:42