ATLAS Offline Software
SimpleConeAlgTool.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_SIMPLECONEALGTOOL_H
6 #define GLOBALSIM_SIMPLECONEALGTOOL_H
7 
12 #include "../IGlobalSimAlgTool.h"
13 #include "../IO/GenericTOBArray.h"
14 #include "../IO/Decision.h"
15 #include "../IO/GenericTOBArrayVector_clid.h"
16 
19 
20 #include <ostream>
21 #include <string>
22 #include <vector>
23 
24 namespace GlobalSim {
25 
26  class SimpleConeAlgTool: public extends<AthAlgTool, IGlobalSimAlgTool> {
27 
28 
29  public:
30  SimpleConeAlgTool(const std::string& type,
31  const std::string& name,
32  const IInterface* parent);
33 
34  virtual ~SimpleConeAlgTool() = default;
35 
36  StatusCode initialize() override;
37 
38  virtual StatusCode run(const EventContext& ctx) const override;
39 
40 
41  virtual std::string toString() const override;
42 
43  private:
44 
45  Gaudi::Property<std::string> m_algInstanceName {
46  this,
47  "alg_instance_name",
48  {},
49  "instance name of concrete L1Topo Algorithm"};
50 
51  Gaudi::Property<unsigned int> m_InputWidth {
52  this,
53  "InputWidth",
54  {0u},
55  "max number of input objects to consider"};
56 
57  Gaudi::Property<unsigned int> m_MinET {
58  this,
59  "MinET",
60  {0u},
61  "min RT for contributing TOB"};
62 
63 
64  Gaudi::Property<std::vector<unsigned int>> m_MinSumET {
65  this,
66  "MinSumET",
67  {},
68  "minum sumET for cone jet. one value per oputput bit"};
69 
70  Gaudi::Property<unsigned int> m_MaxRSqr{
71  this,
72  "MaxRSqr",
73  {0u},
74  "square radius of cone"};
75 
76 
77  ToolHandle<GenericMonitoringTool>
78  m_monTool{this, "monTool", {}, "MonitoringTool"};
79 
81  m_genericTOBArrayReadKey {this, "TOBArrayReadKey", "",
82  "key to read in a genericTauTOBArray"};
83 
86  "TOBArrayVectorWriteKey",
87  "",
88  "key to write out a vector<GlobalSim::GenericTOBArray>"};
89 
91  m_decisionWriteKey {this, "DecisionWriteKey", "",
92  "key to write out an GlobalSim::Decision object"};
93 
94  };
95 }
96 #endif
GlobalSim::SimpleConeAlgTool::m_genericTOBArrayReadKey
SG::ReadHandleKey< GlobalSim::GenericTOBArray > m_genericTOBArrayReadKey
Definition: SimpleConeAlgTool.h:81
GlobalSim::SimpleConeAlgTool::m_MinET
Gaudi::Property< unsigned int > m_MinET
Definition: SimpleConeAlgTool.h:57
GlobalSim::SimpleConeAlgTool::m_MaxRSqr
Gaudi::Property< unsigned int > m_MaxRSqr
Definition: SimpleConeAlgTool.h:70
SG::ReadHandleKey< GlobalSim::GenericTOBArray >
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:77
GlobalSim::SimpleConeAlgTool::~SimpleConeAlgTool
virtual ~SimpleConeAlgTool()=default
GlobalSim::SimpleConeAlgTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: SimpleConeAlgTool.h:78
GenericMonitoringTool.h
GlobalSim
AlgTool to obtain a selection of eFex RoIs read in from the event store.
Definition: dump.h:8
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
GlobalSim::SimpleConeAlgTool::toString
virtual std::string toString() const override
Definition: SimpleConeAlgTool.cxx:84
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::SimpleConeAlgTool
Definition: SimpleConeAlgTool.h:26
GlobalSim::SimpleConeAlgTool::m_MinSumET
Gaudi::Property< std::vector< unsigned int > > m_MinSumET
Definition: SimpleConeAlgTool.h:64
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
GlobalSim::SimpleConeAlgTool::m_InputWidth
Gaudi::Property< unsigned int > m_InputWidth
Definition: SimpleConeAlgTool.h:51
GlobalSim::SimpleConeAlgTool::m_decisionWriteKey
SG::WriteHandleKey< GlobalSim::Decision > m_decisionWriteKey
Definition: SimpleConeAlgTool.h:91
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
GlobalSim::SimpleConeAlgTool::m_algInstanceName
Gaudi::Property< std::string > m_algInstanceName
Definition: SimpleConeAlgTool.h:45
GlobalSim::SimpleConeAlgTool::SimpleConeAlgTool
SimpleConeAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: SimpleConeAlgTool.cxx:13
GlobalSim::SimpleConeAlgTool::m_genericTOBArrayVectorWriteKey
SG::WriteHandleKey< std::vector< GlobalSim::GenericTOBArray > > m_genericTOBArrayVectorWriteKey
Definition: SimpleConeAlgTool.h:85
GlobalSim::SimpleConeAlgTool::run
virtual StatusCode run(const EventContext &ctx) const override
Definition: SimpleConeAlgTool.cxx:30
GlobalSim::SimpleConeAlgTool::initialize
StatusCode initialize() override
Definition: SimpleConeAlgTool.cxx:19