ATLAS Offline Software
eFexRoIAlgTool.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_EFEXROIALGTOOL_H
6 #define GLOBALSIM_EFEXROIALGTOOL_H
7 
15 
16 
17 #include <string>
18 #include <vector>
19 
20 namespace GlobalSim {
21 
22  class eFexRoIAlgTool: public AthAlgTool {
23 
24  public:
25  eFexRoIAlgTool(const std::string& type,
26  const std::string& name,
27  const IInterface* parent);
28 
29  virtual ~eFexRoIAlgTool() = default;
30 
31  StatusCode initialize() override;
32 
33  virtual StatusCode RoIs(std::vector<const xAOD::eFexEMRoI*>&,
34  const EventContext& ctx) const;
35 
36  virtual std::string toString() const;
37 
38 
39  private:
40 
42  m_eEmRoIKey {this, "eFexEMRoIKey", "L1_eEMRoI", "eFEXEM EDM"};
43 
44  Gaudi::Property<double> m_etMin {
45  this,
46  "etMin",
47  0.,
48  "selection Et min"};
49 
50  };
51 }
52 #endif
GlobalSim::eFexRoIAlgTool::~eFexRoIAlgTool
virtual ~eFexRoIAlgTool()=default
GlobalSim::eFexRoIAlgTool::eFexRoIAlgTool
eFexRoIAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: eFexRoIAlgTool.cxx:14
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
GlobalSim
AlgTool to obtain a selection of eFex RoIs read in from the event store.
Definition: dump.h:8
GlobalSim::eFexRoIAlgTool
Definition: eFexRoIAlgTool.h:22
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
GlobalSim::eFexRoIAlgTool::RoIs
virtual StatusCode RoIs(std::vector< const xAOD::eFexEMRoI * > &, const EventContext &ctx) const
Definition: eFexRoIAlgTool.cxx:27
GlobalSim::eFexRoIAlgTool::m_eEmRoIKey
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eEmRoIKey
Definition: eFexRoIAlgTool.h:42
AthAlgTool
Definition: AthAlgTool.h:26
GlobalSim::eFexRoIAlgTool::initialize
StatusCode initialize() override
Definition: eFexRoIAlgTool.cxx:20
GlobalSim::eFexRoIAlgTool::m_etMin
Gaudi::Property< double > m_etMin
Definition: eFexRoIAlgTool.h:44
eFexEMRoIContainer.h
GlobalSim::eFexRoIAlgTool::toString
virtual std::string toString() const
Definition: eFexRoIAlgTool.cxx:70