ATLAS Offline Software
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 
24 
27 
30 
31 class TileHWID;
32 
33 #include <string>
34 
35 
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 
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 
72  "TileHid2RESrcID", "TileHid2RESrcIDHLT", "TileHid2RESrcID key"};
73 
75  bool m_verbose;
76 };
77 
78 #endif
TileL2ContByteStreamTool::~TileL2ContByteStreamTool
virtual ~TileL2ContByteStreamTool()
Destructor.
Definition: TileL2ContByteStreamTool.cxx:59
TileL2ContByteStreamTool
This AlgTool class provides conversion from TileL2Container to ByteStream and fill it in RawEvent.
Definition: TileL2ContByteStreamTool.h:45
TileL2ContByteStreamTool::initialize
virtual StatusCode initialize() override
Definition: TileL2ContByteStreamTool.cxx:62
TileL2ContByteStreamTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition: TileL2ContByteStreamTool.cxx:42
FullEventAssembler
Template class for assembling a full atlas raw event from subfragments.
Definition: FullEventAssembler.h:40
TileL2ContByteStreamTool::finalize
virtual StatusCode finalize() override
Definition: TileL2ContByteStreamTool.cxx:76
TileL2ContByteStreamTool::m_doFragTypeMu
Gaudi::Property< bool > m_doFragTypeMu
Definition: TileL2ContByteStreamTool.h:67
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileL2ContByteStreamTool::convert
StatusCode convert(TileL2Container *cont, FullEventAssembler< TileHid2RESrcID > *fea) const
Provides conversion from TileL2Container to BS.
Definition: TileL2ContByteStreamTool.cxx:81
TileL2ContByteStreamTool::m_verbose
bool m_verbose
Definition: TileL2ContByteStreamTool.h:75
TileL2ContByteStreamTool::m_hid2RESrcIDKey
SG::ReadCondHandleKey< TileHid2RESrcID > m_hid2RESrcIDKey
Definition: TileL2ContByteStreamTool.h:71
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
TileL2ContByteStreamTool::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileL2ContByteStreamTool.h:74
test_pyathena.parent
parent
Definition: test_pyathena.py:15
FullEventAssembler.h
ReadCondHandleKey.h
TileHid2RESrcID.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::ReadCondHandleKey< TileHid2RESrcID >
TileL2ContByteStreamTool::m_initializeForWriting
Gaudi::Property< bool > m_initializeForWriting
Definition: TileL2ContByteStreamTool.h:69
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
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
AthAlgTool
Definition: AthAlgTool.h:26
TileContainer.h
TileContainer
Definition: TileContainer.h:38