ATLAS Offline Software
PixelIDDetDescrCnv.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: PixelIDDetDescrCnv.h,v 1.3 2007-01-01 10:47:17 dquarrie Exp $
11 //<version> $Name: not supported by cvs2svn $
12 
13 #ifndef INDETMGRDETDESCRCNV_PIXELIDDETDESCRCNV_H
14 # define INDETMGRDETDESCRCNV_PIXELIDDETDESCRCNV_H
15 
16 //<<<<<< INCLUDES >>>>>>
17 
19 
20 //<<<<<< PUBLIC DEFINES >>>>>>
21 //<<<<<< PUBLIC CONSTANTS >>>>>>
22 //<<<<<< PUBLIC TYPES >>>>>>
23 
24 class PixelID;
25 
26 //<<<<<< PUBLIC VARIABLES >>>>>>
27 //<<<<<< PUBLIC FUNCTIONS >>>>>>
28 //<<<<<< CLASS DECLARATIONS >>>>>>
29 
38 
39 public:
40 
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  PixelIDDetDescrCnv(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_PIXELIDDETDESCRCNV_H
PixelIDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: PixelIDDetDescrCnv.h:66
PixelIDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: PixelIDDetDescrCnv.h:60
PixelIDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: PixelIDDetDescrCnv.h:57
PixelIDDetDescrCnv::finalize
virtual StatusCode finalize()
Definition: PixelIDDetDescrCnv.cxx:67
PixelIDDetDescrCnv::repSvcType
virtual long int repSvcType() const
Definition: PixelIDDetDescrCnv.cxx:26
PixelIDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: PixelIDDetDescrCnv.h:63
PixelIDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Definition: PixelIDDetDescrCnv.cxx:78
PixelIDDetDescrCnv::m_pixelId
PixelID * m_pixelId
The helper - only will create it once.
Definition: PixelIDDetDescrCnv.h:54
PixelIDDetDescrCnv
This class is a converter for the PixelID an IdHelper which is stored in the detector store.
Definition: PixelIDDetDescrCnv.h:37
PixelIDDetDescrCnv::initialize
virtual StatusCode initialize()
Definition: PixelIDDetDescrCnv.cxx:34
DetDescrConverter
Definition: DetDescrConverter.h:32
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
DetDescrConverter.h
PixelIDDetDescrCnv::storageType
static long storageType()
Definition: PixelIDDetDescrCnv.cxx:210
PixelID
Definition: PixelID.h:67
PixelIDDetDescrCnv::PixelIDDetDescrCnv
PixelIDDetDescrCnv(ISvcLocator *svcloc)
Definition: PixelIDDetDescrCnv.cxx:222
PixelIDDetDescrCnv::classID
static const CLID & classID()
Definition: PixelIDDetDescrCnv.cxx:217