ATLAS Offline Software
RegSelTool.h
Go to the documentation of this file.
1 
13 #ifndef REGIONSELECTOR_REGSELTOOL_H
14 #define REGIONSELECTOR_REGSELTOOL_H
15 
16 // interface includes
19 
20 // spam
21 #include "GaudiKernel/StatusCode.h"
22 #include "GaudiKernel/ToolHandle.h"
23 #include "GaudiKernel/MsgStream.h"
25 
26 #include <string>
27 #include <iostream>
28 #include <vector>
29 #include <cstdint>
30 
32 
33 class RegSelModule;
34 class RegSelSiLUT;
35 class IInterface;
36 
37 
38 class RegSelTool : public extends<AthAlgTool, IRegSelTool> {
39 
40 public:
41  using base_class::base_class;
42 
44  virtual ~RegSelTool() override;
45 
47  virtual StatusCode initialize() override;
48 
49 protected:
50 
52 
53  const IRegSelLUT* lookup( const EventContext& ctx ) const override;
54 
55 private:
56 
58  Gaudi::Property<bool> m_dumpTable{ this, "WriteTable", false, "write out maps to files for debugging" };
59  Gaudi::Property<bool> m_initialised{ this, "Initialised", false, "flag to determine whether the corresponding subsystem is initilised" };
60 
61  SG::ReadCondHandleKey<IRegSelLUTCondData> m_tableKey{ this, "RegSelLUT", "Tool_Not_Initalised", "Region Selector lookup table" };
62 
63 };
64 
65 #endif // REGIONSELECTOR_REGSELTOOL_H
RegSelModule
Definition: RegSelModule.h:38
IRegSelTool.h
RegSelTool::m_tableKey
SG::ReadCondHandleKey< IRegSelLUTCondData > m_tableKey
Definition: RegSelTool.h:61
RegSelTool::initialize
virtual StatusCode initialize() override
@method initialize, loads lookup tables for retrieve Identifier Hash and ROBID
Definition: RegSelTool.cxx:24
RegSelTool::~RegSelTool
virtual ~RegSelTool() override
Destructor.
Definition: RegSelTool.cxx:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
RegSelTool
emacs: this is -*- c++ -*-
Definition: RegSelTool.h:38
IRegSelLUT
Definition: IRegSelLUT.h:26
IRegSelLUTCondData.h
RegSelTool::m_dumpTable
Gaudi::Property< bool > m_dumpTable
Declare properties.
Definition: RegSelTool.h:58
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
RegSelSiLUT
Definition: RegSelSiLUT.h:41
IRoiDescriptor.h
RegSelTool::lookup
const IRegSelLUT * lookup(const EventContext &ctx) const override
@method lookup, actually retrieve the lookup table as conditions data
Definition: RegSelTool.cxx:35
RegSelTool::m_initialised
Gaudi::Property< bool > m_initialised
Definition: RegSelTool.h:59