ATLAS Offline Software
TileRawChannelContByteStreamTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILEBYTESTREAM_TILERAWCHANNELCONTRAWEVENTTOOL_H
6 #define TILEBYTESTREAM_TILERAWCHANNELCONTRAWEVENTTOOL_H
7 
9 
10 #include "GaudiKernel/ToolHandle.h"
14 
15 class TileHWID;
17 class TileFastRawChannel;
19 class ITileBadChanTool;
20 
21 #include <string>
22 
34  public:
35 
37 
40  TileRawChannelContByteStreamTool(const std::string& type, const std::string& name,
41  const IInterface* parent);
42 
46 
49  static const InterfaceID& interfaceID();
50 
51  virtual StatusCode initialize() override;
52  virtual StatusCode finalize() override;
53 
57 
58  private:
59 
60  Gaudi::Property<bool> m_doFragType4{this, "DoFragType4", true, "Do frag type 4"};
61  Gaudi::Property<bool> m_doFragType5{this, "DoFragType5", false, "Do frag type 5"};
62  Gaudi::Property<bool> m_initializeForWriting{this, "InitializeForWriting", false, "Initialize for writing"};
63 
65  "TileHid2RESrcID", "TileHid2RESrcIDHLT", "TileHid2RESrcID key"};
66 
68  bool m_verbose;
69 
71  ToolHandle<TileCondToolEmscale> m_tileToolEmscale{this,
72  "TileCondToolEmscale", "TileCondToolEmscale", "Tile EM scale conditions tool"};
73 
75  ToolHandle<ITileBadChanTool> m_tileBadChanTool{this,
76  "TileBadChanTool", "TileBadChanTool", "Tile bad channel tool"};
77 
80 };
81 
82 #endif
TileRawChannelContainer
Definition: TileRawChannelContainer.h:13
FullEventAssembler
Template class for assembling a full atlas raw event from subfragments.
Definition: FullEventAssembler.h:40
TileRawChannelContByteStreamTool::m_doFragType5
Gaudi::Property< bool > m_doFragType5
Definition: TileRawChannelContByteStreamTool.h:61
TileRawChannelContByteStreamTool::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileRawChannelContByteStreamTool.h:67
TileRawChannelContByteStreamTool
AlgTool class to provide conversion from TileRawChannelContainer to ByteStream, and fill it in RawEve...
Definition: TileRawChannelContByteStreamTool.h:33
TileRawChannelContByteStreamTool::m_initializeForWriting
Gaudi::Property< bool > m_initializeForWriting
Definition: TileRawChannelContByteStreamTool.h:62
TileRawChannelContByteStreamTool::~TileRawChannelContByteStreamTool
virtual ~TileRawChannelContByteStreamTool()
destructor
Definition: TileRawChannelContByteStreamTool.cxx:47
TileRawChannelContByteStreamTool::m_tileToolEmscale
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
Handle to Tile calibration tool.
Definition: TileRawChannelContByteStreamTool.h:71
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileRawChannelContByteStreamTool::CONTAINER
TileRawChannelContainer CONTAINER
Definition: TileRawChannelContByteStreamTool.h:36
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
FullEventAssembler.h
TileRawChannelContByteStreamTool::m_verbose
bool m_verbose
Definition: TileRawChannelContByteStreamTool.h:68
ReadCondHandleKey.h
TileHid2RESrcID.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
TileRawChannelContByteStreamTool::initialize
virtual StatusCode initialize() override
Definition: TileRawChannelContByteStreamTool.cxx:50
TileRawChannelContByteStreamTool::m_tileBadChanTool
ToolHandle< ITileBadChanTool > m_tileBadChanTool
Handle to Tile bad channel tool.
Definition: TileRawChannelContByteStreamTool.h:75
TileCondToolEmscale
Calibration of TileCal channels and access to calibration factors.
Definition: TileCondToolEmscale.h:58
TileRawChannelContByteStreamTool::m_doFragType4
Gaudi::Property< bool > m_doFragType4
Definition: TileRawChannelContByteStreamTool.h:60
SG::ReadCondHandleKey< TileHid2RESrcID >
TileRawChannelContByteStreamTool::convert
StatusCode convert(CONTAINER *cont, FullEventAssembler< TileHid2RESrcID > *fea) const
Provides conversion from TileRawChannelContainer to BS.
Definition: TileRawChannelContByteStreamTool.cxx:77
TileRawChannelContByteStreamTool::m_hid2RESrcIDKey
SG::ReadCondHandleKey< TileHid2RESrcID > m_hid2RESrcIDKey
Definition: TileRawChannelContByteStreamTool.h:64
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ITileBadChanTool
An abstract inteface to get Tile channel and ADC status.
Definition: ITileBadChanTool.h:21
TileFastRawChannel
Definition: TileFastRawChannel.h:17
AthAlgTool
Definition: AthAlgTool.h:26
TileRawChannelContByteStreamTool::m_maxChannels
int m_maxChannels
maximum number of channels in a drawer
Definition: TileRawChannelContByteStreamTool.h:79
TileRawChannelContByteStreamTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition: TileRawChannelContByteStreamTool.cxx:29
TileRawChannelContByteStreamTool::TileRawChannelContByteStreamTool
TileRawChannelContByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition: TileRawChannelContByteStreamTool.cxx:35
TileRawChannelContByteStreamTool::finalize
virtual StatusCode finalize() override
Definition: TileRawChannelContByteStreamTool.cxx:72