ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileSvc
TileByteStream
TileByteStream
TileL2ContByteStreamTool.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
//****************************************************************************
6
// Filename : TileL2ContByteStreamTool.h
7
// Author : Aranzazu Ruiz
8
// Created : March 2007
9
//
10
// DESCRIPTION
11
// AlgTool class to provide conversion from TileL2Container to ByteStream
12
// and fill it in RawEvent
13
//
14
// BUGS:
15
//
16
// History:
17
//
18
//****************************************************************************
19
20
#ifndef TILEBYTESTREAM_TILEL2CONTBYTESTREAMTOOL_H
21
#define TILEBYTESTREAM_TILEL2CONTBYTESTREAMTOOL_H
22
23
#include "
ByteStreamCnvSvcBase/FullEventAssembler.h
"
24
25
#include "
AthenaBaseComps/AthAlgTool.h
"
26
#include "
StoreGate/ReadCondHandleKey.h
"
27
28
#include "
TileEvent/TileContainer.h
"
29
#include "
TileByteStream/TileHid2RESrcID.h
"
30
31
class
TileHWID
;
32
33
#include <string>
34
35
44
45
class
TileL2ContByteStreamTool
:
public
AthAlgTool
{
46
47
public
:
48
50
TileL2ContByteStreamTool
(
const
std::string&
type
,
const
std::string& name,
51
const
IInterface* parent );
52
54
virtual
~TileL2ContByteStreamTool
();
55
57
static
const
InterfaceID&
interfaceID
( );
58
59
virtual
StatusCode
initialize
()
override
;
60
virtual
StatusCode
finalize
()
override
;
61
63
StatusCode
convert
(
TileL2Container
* cont,
FullEventAssembler<TileHid2RESrcID>
*fea)
const
;
64
65
private
:
66
67
Gaudi::Property<bool>
m_doFragTypeMu
{
this
,
"DoFragTypeMu"
,
true
,
"Do frag type Mu"
};
68
Gaudi::Property<bool>
m_doFragTypeEt
{
this
,
"DoFragTypeEt"
,
true
,
"Do frag type Et"
};
69
Gaudi::Property<bool>
m_initializeForWriting
{
this
,
"InitializeForWriting"
,
false
,
"Initialize for writing"
};
70
71
SG::ReadCondHandleKey<TileHid2RESrcID>
m_hid2RESrcIDKey
{
this
,
72
"TileHid2RESrcID"
,
"TileHid2RESrcIDHLT"
,
"TileHid2RESrcID key"
};
73
74
const
TileHWID
*
m_tileHWID
;
75
bool
m_verbose
;
76
};
77
78
#endif
AthAlgTool.h
FullEventAssembler.h
ReadCondHandleKey.h
TileContainer.h
TileL2Container
TileContainer< TileL2 > TileL2Container
Definition
TileContainer.h:67
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
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition
TileHWID.h:49
TileL2ContByteStreamTool::initialize
virtual StatusCode initialize() override
Definition
TileL2ContByteStreamTool.cxx:62
TileL2ContByteStreamTool::m_initializeForWriting
Gaudi::Property< bool > m_initializeForWriting
Definition
TileL2ContByteStreamTool.h:69
TileL2ContByteStreamTool::~TileL2ContByteStreamTool
virtual ~TileL2ContByteStreamTool()
Destructor.
Definition
TileL2ContByteStreamTool.cxx:59
TileL2ContByteStreamTool::m_tileHWID
const TileHWID * m_tileHWID
Definition
TileL2ContByteStreamTool.h:74
TileL2ContByteStreamTool::m_doFragTypeMu
Gaudi::Property< bool > m_doFragTypeMu
Definition
TileL2ContByteStreamTool.h:67
TileL2ContByteStreamTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition
TileL2ContByteStreamTool.cxx:42
TileL2ContByteStreamTool::finalize
virtual StatusCode finalize() override
Definition
TileL2ContByteStreamTool.cxx:76
TileL2ContByteStreamTool::m_hid2RESrcIDKey
SG::ReadCondHandleKey< TileHid2RESrcID > m_hid2RESrcIDKey
Definition
TileL2ContByteStreamTool.h:71
TileL2ContByteStreamTool::m_verbose
bool m_verbose
Definition
TileL2ContByteStreamTool.h:75
TileL2ContByteStreamTool::convert
StatusCode convert(TileL2Container *cont, FullEventAssembler< TileHid2RESrcID > *fea) const
Provides conversion from TileL2Container to BS.
Definition
TileL2ContByteStreamTool.cxx:81
TileL2ContByteStreamTool::TileL2ContByteStreamTool
TileL2ContByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition
TileL2ContByteStreamTool.cxx:48
TileL2ContByteStreamTool::m_doFragTypeEt
Gaudi::Property< bool > m_doFragTypeEt
Definition
TileL2ContByteStreamTool.h:68
type
Generated on
for ATLAS Offline Software by
1.17.0