ATLAS Offline Software
Loading...
Searching...
No Matches
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
23
24
25
26static const InterfaceID IID_ITileLaserObjByteStreamTool("TileLaserObjByteStreamTool", 1, 0);
27
31
32
33// default constructor
35( const std::string& type, const std::string& name,const IInterface* parent )
36 : AthAlgTool(type,name,parent)
37 , m_tileHWID(0)
38 , m_verbose(false)
39{
40 declareInterface< TileLaserObjByteStreamTool >( this );
41}
42
43
44
45// destructor
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
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)
macros to associate a CLID to a type
Helpers for checking error return status codes and reporting errors.
static const InterfaceID IID_ITileLaserObjByteStreamTool("TileLaserObjByteStreamTool", 1, 0)
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
const ServiceHandle< StoreGateSvc > & detStore() const
Gaudi::Property< bool > m_initializeForWriting
TileLaserObjByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
SG::ReadCondHandleKey< TileHid2RESrcID > m_hid2RESrcIDKey
static const InterfaceID & interfaceID()
AlgTool InterfaceID.