ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileSvc
TileByteStream
TileByteStream
TileRawChannelContByteStreamTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TILEBYTESTREAM_TILERAWCHANNELCONTRAWEVENTTOOL_H
6
#define TILEBYTESTREAM_TILERAWCHANNELCONTRAWEVENTTOOL_H
7
8
#include "
TileByteStream/TileHid2RESrcID.h
"
9
10
#include "GaudiKernel/ToolHandle.h"
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
#include "
ByteStreamCnvSvcBase/FullEventAssembler.h
"
13
#include "
StoreGate/ReadCondHandleKey.h
"
14
#include <vector>
15
16
class
TileHWID
;
17
class
TileRawChannelContainer
;
18
class
TileFastRawChannel
;
19
class
TileCondToolEmscale
;
20
class
ITileBadChanTool
;
21
22
#include <string>
23
33
34
class
TileRawChannelContByteStreamTool
:
public
AthAlgTool
{
35
public
:
36
37
typedef
TileRawChannelContainer
CONTAINER
;
38
41
TileRawChannelContByteStreamTool
(
const
std::string&
type
,
const
std::string& name,
42
const
IInterface* parent);
43
46
virtual
~TileRawChannelContByteStreamTool
();
47
50
static
const
InterfaceID&
interfaceID
();
51
52
virtual
StatusCode
initialize
()
override
;
53
virtual
StatusCode
finalize
()
override
;
54
57
StatusCode
convert
(
CONTAINER
* cont,
FullEventAssembler<TileHid2RESrcID>
*fea)
const
;
58
59
private
:
60
61
Gaudi::Property<bool>
m_doFragType4
{
this
,
"DoFragType4"
,
true
,
"Do frag type 4"
};
62
Gaudi::Property<bool>
m_doFragType5
{
this
,
"DoFragType5"
,
false
,
"Do frag type 5"
};
63
Gaudi::Property<bool>
m_initializeForWriting
{
this
,
"InitializeForWriting"
,
false
,
"Initialize for writing"
};
64
65
SG::ReadCondHandleKey<TileHid2RESrcID>
m_hid2RESrcIDKey
{
this
,
66
"TileHid2RESrcID"
,
"TileHid2RESrcIDHLT"
,
"TileHid2RESrcID key"
};
67
68
const
TileHWID
*
m_tileHWID
;
69
bool
m_verbose
;
70
72
ToolHandle<TileCondToolEmscale>
m_tileToolEmscale
{
this
,
73
"TileCondToolEmscale"
,
"TileCondToolEmscale"
,
"Tile EM scale conditions tool"
};
74
76
ToolHandle<ITileBadChanTool>
m_tileBadChanTool
{
this
,
77
"TileBadChanTool"
,
"TileBadChanTool"
,
"Tile bad channel tool"
};
78
80
int
m_maxChannels
;
81
82
std::vector<int>
m_demoFragIDs
;
83
std::vector<int>
m_legacy2DemoChannelLB
;
84
std::vector<int>
m_legacy2DemoChannelEB
;
85
};
86
87
#endif
AthAlgTool.h
FullEventAssembler.h
ReadCondHandleKey.h
TileHid2RESrcID.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
FullEventAssembler
Template class for assembling a full atlas raw event from subfragments.
Definition
FullEventAssembler.h:38
ITileBadChanTool
An abstract inteface to get Tile channel and ADC status.
Definition
ITileBadChanTool.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
TileCondToolEmscale
Calibration of TileCal channels and access to calibration factors.
Definition
TileCondToolEmscale.h:58
TileFastRawChannel
Definition
TileFastRawChannel.h:17
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition
TileHWID.h:49
TileRawChannelContByteStreamTool::m_doFragType4
Gaudi::Property< bool > m_doFragType4
Definition
TileRawChannelContByteStreamTool.h:61
TileRawChannelContByteStreamTool::initialize
virtual StatusCode initialize() override
Definition
TileRawChannelContByteStreamTool.cxx:57
TileRawChannelContByteStreamTool::m_doFragType5
Gaudi::Property< bool > m_doFragType5
Definition
TileRawChannelContByteStreamTool.h:62
TileRawChannelContByteStreamTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition
TileRawChannelContByteStreamTool.cxx:36
TileRawChannelContByteStreamTool::CONTAINER
TileRawChannelContainer CONTAINER
Definition
TileRawChannelContByteStreamTool.h:37
TileRawChannelContByteStreamTool::m_verbose
bool m_verbose
Definition
TileRawChannelContByteStreamTool.h:69
TileRawChannelContByteStreamTool::m_initializeForWriting
Gaudi::Property< bool > m_initializeForWriting
Definition
TileRawChannelContByteStreamTool.h:63
TileRawChannelContByteStreamTool::m_tileHWID
const TileHWID * m_tileHWID
Definition
TileRawChannelContByteStreamTool.h:68
TileRawChannelContByteStreamTool::m_demoFragIDs
std::vector< int > m_demoFragIDs
Definition
TileRawChannelContByteStreamTool.h:82
TileRawChannelContByteStreamTool::convert
StatusCode convert(CONTAINER *cont, FullEventAssembler< TileHid2RESrcID > *fea) const
Provides conversion from TileRawChannelContainer to BS.
Definition
TileRawChannelContByteStreamTool.cxx:131
TileRawChannelContByteStreamTool::m_tileBadChanTool
ToolHandle< ITileBadChanTool > m_tileBadChanTool
Handle to Tile bad channel tool.
Definition
TileRawChannelContByteStreamTool.h:76
TileRawChannelContByteStreamTool::finalize
virtual StatusCode finalize() override
Definition
TileRawChannelContByteStreamTool.cxx:126
TileRawChannelContByteStreamTool::m_legacy2DemoChannelEB
std::vector< int > m_legacy2DemoChannelEB
Definition
TileRawChannelContByteStreamTool.h:84
TileRawChannelContByteStreamTool::~TileRawChannelContByteStreamTool
virtual ~TileRawChannelContByteStreamTool()
destructor
Definition
TileRawChannelContByteStreamTool.cxx:54
TileRawChannelContByteStreamTool::m_tileToolEmscale
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
Handle to Tile calibration tool.
Definition
TileRawChannelContByteStreamTool.h:72
TileRawChannelContByteStreamTool::m_hid2RESrcIDKey
SG::ReadCondHandleKey< TileHid2RESrcID > m_hid2RESrcIDKey
Definition
TileRawChannelContByteStreamTool.h:65
TileRawChannelContByteStreamTool::m_legacy2DemoChannelLB
std::vector< int > m_legacy2DemoChannelLB
Definition
TileRawChannelContByteStreamTool.h:83
TileRawChannelContByteStreamTool::TileRawChannelContByteStreamTool
TileRawChannelContByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition
TileRawChannelContByteStreamTool.cxx:42
TileRawChannelContByteStreamTool::m_maxChannels
int m_maxChannels
maximum number of channels in a drawer
Definition
TileRawChannelContByteStreamTool.h:80
TileRawChannelContainer
Definition
TileRawChannelContainer.h:13
type
Generated on
for ATLAS Offline Software by
1.17.0