ATLAS Offline Software
eEmSelectAlgTool.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_EEMSELECTALGTOOL_H
6 #define GLOBALSIM_EEMSELECTALGTOOL_H
7 
12 #include "../IL1TopoAlgTool.h"
13 #include "../IO/eEmTOBArray.h"
14 #include "../IO/GenericTOBArray.h"
16 
17 #include <string>
18 
19 namespace GlobalSim {
20 
21  class eEmSelectAlgTool: public extends<AthAlgTool, IL1TopoAlgTool> {
22 
23  public:
24  eEmSelectAlgTool(const std::string& type,
25  const std::string& name,
26  const IInterface* parent);
27 
28  virtual ~eEmSelectAlgTool() = 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  "eEmSelect construction parameter"
57  };
58 
59  Gaudi::Property<unsigned int> m_REtaMin{
60  this,
61  "REtaMin",
62  {0},
63  "eEmSelect construction parameter"
64  };
65 
66  Gaudi::Property<unsigned int> m_RHadMin{
67  this,
68  "RHadMin",
69  {0},
70  "eEmSelect construction parameter"
71  };
72 
73  Gaudi::Property<unsigned int> m_WsTotMin{
74  this,
75  "WsTotMin",
76  {0},
77  "eEmSelect construction parameter"
78  };
79 
80 
82  m_eEmTOBArrayReadKey {this, "TOBArrayReadKey", "",
83  "key to read in an eEmTOBArray"};
84 
86  m_TOBArrayWriteKey {this, "TOBArrayWriteKey", "",
87  "key to write out selected generic TOBs"};
88 
89  };
90 }
91 #endif
GlobalSim::eEmSelectAlgTool::m_algInstanceName
Gaudi::Property< std::string > m_algInstanceName
Definition: eEmSelectAlgTool.h:38
GlobalSim::eEmSelectAlgTool::eEmSelectAlgTool
eEmSelectAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: eEmSelectAlgTool.cxx:9
GlobalSim::eEmSelectAlgTool::m_TOBArrayWriteKey
SG::WriteHandleKey< GlobalSim::GenericTOBArray > m_TOBArrayWriteKey
Definition: eEmSelectAlgTool.h:86
GlobalSim::eEmSelectAlgTool
Definition: eEmSelectAlgTool.h:21
SG::ReadHandleKey< GlobalSim::eEmTOBArray >
GlobalSim::eEmSelectAlgTool::initialize
StatusCode initialize() override
Definition: eEmSelectAlgTool.cxx:15
GlobalSim::eEmSelectAlgTool::m_MinET
Gaudi::Property< unsigned int > m_MinET
Definition: eEmSelectAlgTool.h:52
GlobalSim
AlgTool to obtain a GlobalSim::cTAUTOBArray This class uses ReadHandls to jFex and eFex Tau Rois If t...
Definition: dump.h:8
SG::WriteHandleKey< GlobalSim::GenericTOBArray >
GlobalSim::eEmSelectAlgTool::m_eEmTOBArrayReadKey
SG::ReadHandleKey< GlobalSim::eEmTOBArray > m_eEmTOBArrayReadKey
Definition: eEmSelectAlgTool.h:82
GlobalSim::eEmSelectAlgTool::toString
virtual std::string toString() const override
Definition: eEmSelectAlgTool.cxx:48
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
GlobalSim::eEmSelectAlgTool::run
virtual StatusCode run(const EventContext &ctx) const override
Definition: eEmSelectAlgTool.cxx:24
GlobalSim::eEmSelectAlgTool::m_InputWidth
Gaudi::Property< unsigned int > m_InputWidth
Definition: eEmSelectAlgTool.h:45
GlobalSim::eEmSelectAlgTool::~eEmSelectAlgTool
virtual ~eEmSelectAlgTool()=default
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
GlobalSim::eEmSelectAlgTool::m_REtaMin
Gaudi::Property< unsigned int > m_REtaMin
Definition: eEmSelectAlgTool.h:59
GlobalSim::eEmSelectAlgTool::m_WsTotMin
Gaudi::Property< unsigned int > m_WsTotMin
Definition: eEmSelectAlgTool.h:73
GlobalSim::eEmSelectAlgTool::m_RHadMin
Gaudi::Property< unsigned int > m_RHadMin
Definition: eEmSelectAlgTool.h:66