ATLAS Offline Software
RoIPEBInfoWriterTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigPartialEventBuilding_RoIPEBInfoWriterTool_h
6 #define TrigPartialEventBuilding_RoIPEBInfoWriterTool_h
7 
11 
16 public:
18  RoIPEBInfoWriterTool(const std::string& type, const std::string& name, const IInterface* parent);
20  virtual ~RoIPEBInfoWriterTool() = default;
22  virtual StatusCode initialize() override;
23 
24 protected:
27 
28 private:
29  // ------------------------- Tool handles ------------------------------------
30  ToolHandleArray<IRegSelTool> m_regionSelectorTools {
31  this, "RegionSelectorTools", {}, "Region Selector tools"
32  };
33 
34  // ------------------------- Properties --------------------------------------
35  Gaudi::Property<float> m_etaEdge {
36  this, "EtaEdge", 5.0, "Upper limit of |eta| range"
37  };
38  Gaudi::Property<float> m_etaWidth {
39  this, "EtaWidth", 0.1, "Half-width of the RoI in eta (Eta-EtaWidth; Eta+EtaWidth)"
40  };
41  Gaudi::Property<float> m_phiWidth {
42  this, "PhiWidth", 0.1, "Half-width of the RoI in phi (Phi-PhiWidth; Phi+PhiWidth)"
43  };
44  Gaudi::Property<std::vector<uint32_t> > m_extraROBs {
45  this, "ExtraROBs", {},
46  "Static list of additional ROBs to add for partial event building in each event where the chain passes"
47  };
48  Gaudi::Property<std::vector<uint32_t> > m_extraSubDets {
49  this, "ExtraSubDets", {},
50  "Static list of additional SubDets to add for partial event building in each event where the chain passes"
51  };
52  // ------------------------- Other private members ---------------------------
56  std::set<DETID> m_dets;
57  std::set<ToolHandle<IRegSelTool> > m_tools;
58 
59 };
60 
61 #endif // TrigPartialEventBuilding_RoIPEBInfoWriterTool_h
IRegSelTool.h
RoIPEBInfoWriterTool::m_etaWidth
Gaudi::Property< float > m_etaWidth
Definition: RoIPEBInfoWriterTool.h:38
RoIPEBInfoWriterTool::m_dets
std::set< DETID > m_dets
m_detNames translated into set of DETID, filled at initialisation
Definition: RoIPEBInfoWriterTool.h:56
RoIPEBInfoWriterTool
Tool writing ROB list corresponding to an RoI in given detectors for use in PEBInfoWriterAlg.
Definition: RoIPEBInfoWriterTool.h:15
RoIPEBInfoWriterTool::createPEBInfo
virtual PEBInfoWriterToolBase::PEBInfo createPEBInfo(const PEBInfoWriterToolBase::Input &input) const override
Implementation of PEBInfoWriterToolBase::createPEBInfo.
Definition: RoIPEBInfoWriterTool.cxx:32
PEBInfoWriterToolBase.h
RoIPEBInfoWriterTool::m_etaEdge
Gaudi::Property< float > m_etaEdge
Definition: RoIPEBInfoWriterTool.h:35
RoIPEBInfoWriterTool::initialize
virtual StatusCode initialize() override
Implementation of AthAlgTool::initialize()
Definition: RoIPEBInfoWriterTool.cxx:18
RoIPEBInfoWriterTool::RoIPEBInfoWriterTool
RoIPEBInfoWriterTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: RoIPEBInfoWriterTool.cxx:13
RoIPEBInfoWriterTool::m_extraPebInfo
PEBInfoWriterToolBase::PEBInfo m_extraPebInfo
Static PEB Info which contains ExtraROBs and ExtraSubDets.
Definition: RoIPEBInfoWriterTool.h:54
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
RoIPEBInfoWriterTool::m_extraROBs
Gaudi::Property< std::vector< uint32_t > > m_extraROBs
Definition: RoIPEBInfoWriterTool.h:44
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
test_pyathena.parent
parent
Definition: test_pyathena.py:15
RoIPEBInfoWriterTool::~RoIPEBInfoWriterTool
virtual ~RoIPEBInfoWriterTool()=default
Standard destructor.
PEBInfoWriterToolBase
Base class for tools used by PEBInfoWriterAlg.
Definition: PEBInfoWriterToolBase.h:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
RoIPEBInfoWriterTool::m_regionSelectorTools
ToolHandleArray< IRegSelTool > m_regionSelectorTools
Definition: RoIPEBInfoWriterTool.h:30
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
PEBInfoWriterToolBase::Input
Input to the tool's decide method.
Definition: PEBInfoWriterToolBase.h:25
PEBInfoWriterToolBase::PEBInfo
Structure holding the list of ROBs and SubDets.
Definition: PEBInfoWriterToolBase.h:44
RoIPEBInfoWriterTool::m_tools
std::set< ToolHandle< IRegSelTool > > m_tools
Definition: RoIPEBInfoWriterTool.h:57
RegSelEnums.h
RoIPEBInfoWriterTool::m_extraSubDets
Gaudi::Property< std::vector< uint32_t > > m_extraSubDets
Definition: RoIPEBInfoWriterTool.h:48
RoIPEBInfoWriterTool::m_phiWidth
Gaudi::Property< float > m_phiWidth
Definition: RoIPEBInfoWriterTool.h:41