ATLAS Offline Software
Loading...
Searching...
No Matches
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
15class TileHWID;
20
21#include <string>
22
32
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
56 StatusCode convert(CONTAINER* cont, FullEventAssembler<TileHid2RESrcID> *fea) const;
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
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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Template class for assembling a full atlas raw event from subfragments.
An abstract inteface to get Tile channel and ADC status.
Calibration of TileCal channels and access to calibration factors.
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
StatusCode convert(CONTAINER *cont, FullEventAssembler< TileHid2RESrcID > *fea) const
Provides conversion from TileRawChannelContainer to BS.
ToolHandle< ITileBadChanTool > m_tileBadChanTool
Handle to Tile bad channel tool.
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
Handle to Tile calibration tool.
SG::ReadCondHandleKey< TileHid2RESrcID > m_hid2RESrcIDKey
TileRawChannelContByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
int m_maxChannels
maximum number of channels in a drawer