ATLAS Offline Software
SCT_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: SCT_IDDetDescrCnv.h,v 1.3 2007-01-01 10:47:18 dquarrie Exp $
11 //<version> $Name: not supported by cvs2svn $
12 
13 #ifndef INDETMGRDETDESCRCNV_SCT_IDDETDESCRCNV_H
14 # define INDETMGRDETDESCRCNV_SCT_IDDETDESCRCNV_H
15 
16 //<<<<<< INCLUDES >>>>>>
17 
19 
20 //<<<<<< PUBLIC DEFINES >>>>>>
21 //<<<<<< PUBLIC CONSTANTS >>>>>>
22 //<<<<<< PUBLIC TYPES >>>>>>
23 
24 class SCT_ID;
25 
26 //<<<<<< PUBLIC VARIABLES >>>>>>
27 //<<<<<< PUBLIC FUNCTIONS >>>>>>
28 //<<<<<< CLASS DECLARATIONS >>>>>>
29 
30 
39 
40 public:
41  virtual long int repSvcType() const;
42  virtual StatusCode initialize();
43  virtual StatusCode finalize();
44  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
45 
46  // Storage type and class ID (used by CnvFactory)
47  static long storageType();
48  static const CLID& classID();
49 
50  SCT_IDDetDescrCnv(ISvcLocator* svcloc);
51 
52 private:
55 
57  std::string m_inDetIDFileName;
58 
60  std::string m_inDetIdDictTag;
61 
63  std::string m_inDetIDTag;
64 
66  bool m_doChecks;
67 
68 };
69 
70 
71 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
72 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
73 
74 #endif // INDETMGRDETDESCRCNV_SCT_IDDETDESCRCNV_H
SCT_IDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: SCT_IDDetDescrCnv.h:60
SCT_IDDetDescrCnv::finalize
virtual StatusCode finalize()
Definition: SCT_IDDetDescrCnv.cxx:66
SCT_IDDetDescrCnv::storageType
static long storageType()
Definition: SCT_IDDetDescrCnv.cxx:209
SCT_IDDetDescrCnv
This class is a converter for the SCT_ID an IdHelper which is stored in the detector store.
Definition: SCT_IDDetDescrCnv.h:38
SCT_IDDetDescrCnv::SCT_IDDetDescrCnv
SCT_IDDetDescrCnv(ISvcLocator *svcloc)
Definition: SCT_IDDetDescrCnv.cxx:221
SCT_IDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: SCT_IDDetDescrCnv.h:57
SCT_IDDetDescrCnv::repSvcType
virtual long int repSvcType() const
Definition: SCT_IDDetDescrCnv.cxx:25
DetDescrConverter
Definition: DetDescrConverter.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_IDDetDescrCnv::initialize
virtual StatusCode initialize()
Definition: SCT_IDDetDescrCnv.cxx:33
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
SCT_IDDetDescrCnv::m_sctId
SCT_ID * m_sctId
The helper - only will create it once.
Definition: SCT_IDDetDescrCnv.h:54
SCT_ID
Definition: SCT_ID.h:68
DetDescrConverter.h
SCT_IDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: SCT_IDDetDescrCnv.h:63
SCT_IDDetDescrCnv::classID
static const CLID & classID()
Definition: SCT_IDDetDescrCnv.cxx:216
SCT_IDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Definition: SCT_IDDetDescrCnv.cxx:77
SCT_IDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: SCT_IDDetDescrCnv.h:66