ATLAS Offline Software
TRT_IDDetDescrCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  InDet DetDescrCnv package
7  -----------------------------------------
8  ***************************************************************************/
9 
10 //<doc><file> $Id: TRT_IDDetDescrCnv.h,v 1.3 2007-01-01 10:47:19 dquarrie Exp $
11 //<version> $Name: not supported by cvs2svn $
12 
13 #ifndef INDETMGRDETDESCRCNV_TRT_IDDETDESCRCNV_H
14 # define INDETMGRDETDESCRCNV_TRT_IDDETDESCRCNV_H
15 
16 //<<<<<< INCLUDES >>>>>>
17 
19 
20 //<<<<<< PUBLIC DEFINES >>>>>>
21 //<<<<<< PUBLIC CONSTANTS >>>>>>
22 //<<<<<< PUBLIC TYPES >>>>>>
23 
24 class TRT_ID;
25 
26 //<<<<<< PUBLIC VARIABLES >>>>>>
27 //<<<<<< PUBLIC FUNCTIONS >>>>>>
28 //<<<<<< CLASS DECLARATIONS >>>>>>
29 
30 
39 
40 public:
41 
42  virtual long int repSvcType() const;
43  virtual StatusCode initialize();
44  virtual StatusCode finalize();
45  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
46 
47  // Storage type and class ID (used by CnvFactory)
48  static long storageType();
49  static const CLID& classID();
50 
51  TRT_IDDetDescrCnv(ISvcLocator* svcloc);
52 
53 private:
56 
58  std::string m_inDetIDFileName;
59 
61  std::string m_inDetIdDictTag;
62 
64  std::string m_inDetIDTag;
65 
67  bool m_doChecks;
68 
69 };
70 
71 
72 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
73 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
74 
75 #endif // INDETMGRDETDESCRCNV_TRT_IDDETDESCRCNV_H
TRT_IDDetDescrCnv::m_trtId
TRT_ID * m_trtId
The helper - only will create it once.
Definition: TRT_IDDetDescrCnv.h:55
TRT_IDDetDescrCnv::repSvcType
virtual long int repSvcType() const
Definition: TRT_IDDetDescrCnv.cxx:24
TRT_IDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: TRT_IDDetDescrCnv.h:58
TRT_IDDetDescrCnv::initialize
virtual StatusCode initialize()
Definition: TRT_IDDetDescrCnv.cxx:32
TRT_IDDetDescrCnv::storageType
static long storageType()
Definition: TRT_IDDetDescrCnv.cxx:208
TRT_IDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: TRT_IDDetDescrCnv.h:64
DetDescrConverter
Definition: DetDescrConverter.h:32
TRT_IDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: TRT_IDDetDescrCnv.h:61
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
TRT_IDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Definition: TRT_IDDetDescrCnv.cxx:76
TRT_IDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: TRT_IDDetDescrCnv.h:67
TRT_ID
Definition: TRT_ID.h:84
DetDescrConverter.h
TRT_IDDetDescrCnv::finalize
virtual StatusCode finalize()
Definition: TRT_IDDetDescrCnv.cxx:65
TRT_IDDetDescrCnv
This class is a converter for the TRT_ID an IdHelper which is stored in the detector store.
Definition: TRT_IDDetDescrCnv.h:38
TRT_IDDetDescrCnv::TRT_IDDetDescrCnv
TRT_IDDetDescrCnv(ISvcLocator *svcloc)
Definition: TRT_IDDetDescrCnv.cxx:220
TRT_IDDetDescrCnv::classID
static const CLID & classID()
Definition: TRT_IDDetDescrCnv.cxx:215