ATLAS Offline Software
TileLaserObjByteStreamTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //author Renato Febbraro
6 //renato.febbraro@cern.ch
7 //date February 2008
8 
9 // Gaudi includes
10 
11 // Atlas includes
14 
15 // Tile includes
21 
22 #include "AthenaKernel/CLASS_DEF.h"
23 
24 
25 
26 static const InterfaceID IID_ITileLaserObjByteStreamTool("TileLaserObjByteStreamTool", 1, 0);
27 
29  return IID_ITileLaserObjByteStreamTool;
30 }
31 
32 
33 // default constructor
35 ( const std::string& type, const std::string& name,const IInterface* parent )
37  , m_tileHWID(0)
38  , m_verbose(false)
39 {
40  declareInterface< TileLaserObjByteStreamTool >( this );
41 }
42 
43 
44 
45 // destructor
47 }
48 
49 
50 
52 
53  ATH_MSG_INFO ("Initializing TileLaserObjByteStreamTool");
54 
55  ATH_CHECK( detStore()->retrieve(m_tileHWID, "TileHWID") );
56 
57  ToolHandle<TileROD_Decoder> dec("TileROD_Decoder");
58  ATH_CHECK( dec.retrieve() );
59 
61 
62  return StatusCode::SUCCESS;
63 }
64 
66 
67  return StatusCode::SUCCESS;
68 }
69 
70 
71 
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
TileLaserObjByteStreamTool::m_hid2RESrcIDKey
SG::ReadCondHandleKey< TileHid2RESrcID > m_hid2RESrcIDKey
Definition: TileLaserObjByteStreamTool.h:51
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
TileLaserObjByteStreamTool::~TileLaserObjByteStreamTool
virtual ~TileLaserObjByteStreamTool()
destructor
Definition: TileLaserObjByteStreamTool.cxx:46
TileLaserObject.h
ReadCondHandle.h
AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
TileLaserObjByteStreamTool::TileLaserObjByteStreamTool
TileLaserObjByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition: TileLaserObjByteStreamTool.cxx:35
TileHWID.h
TileROD_Decoder.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileLaserObjByteStreamTool::m_initializeForWriting
Gaudi::Property< bool > m_initializeForWriting
Definition: TileLaserObjByteStreamTool.h:49
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
TileLaserObjByteStreamTool::finalize
virtual StatusCode finalize()
Definition: TileLaserObjByteStreamTool.cxx:65
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
errorcheck.h
Helpers for checking error return status codes and reporting errors.
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
TileROD_Encoder.h
TileLaserObjByteStreamTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition: TileLaserObjByteStreamTool.cxx:28
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TileLaserObjByteStreamTool::initialize
virtual StatusCode initialize()
Definition: TileLaserObjByteStreamTool.cxx:51
AthAlgTool
Definition: AthAlgTool.h:26
TileLaserObjByteStreamTool.h
TileLaserObjByteStreamTool::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileLaserObjByteStreamTool.h:54
CLASS_DEF.h
macros to associate a CLID to a type