ATLAS Offline Software
ZdcIDDetDescrCnv.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  ForwardIdCnv package
7  -----------------------------------------
8  ***************************************************************************/
9 
10 //<doc><file> $Id: $
11 //<version> $Name: not supported by cvs2svn $
12 
13 #ifndef FORWARDIDCNV_ZDCIDDETDESCRCNV_H
14 # define FORWARDIDCNV_ZDCIDDETDESCRCNV_H
15 
16 //<<<<<< INCLUDES >>>>>>
17 
19 
20 //<<<<<< PUBLIC DEFINES >>>>>>
21 //<<<<<< PUBLIC CONSTANTS >>>>>>
22 //<<<<<< PUBLIC TYPES >>>>>>
23 
24 class ZdcID;
25 
26 //<<<<<< PUBLIC VARIABLES >>>>>>
27 //<<<<<< PUBLIC FUNCTIONS >>>>>>
28 //<<<<<< CLASS DECLARATIONS >>>>>>
29 
38  // friend class CnvFactory<ZdcIDDetDescrCnv>;
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  // protected:
52  ZdcIDDetDescrCnv(ISvcLocator* svcloc);
53 
54 private:
57 
59  std::string m_inDetIDFileName;
60 
62  std::string m_inDetIdDictTag;
63 
65  std::string m_inDetIDTag;
66 
68  bool m_doChecks;
69 
70 };
71 
72 
73 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
74 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
75 
76 #endif // FORWARDIDCNV_ZDCIDDETDESCRCNV_H
ZdcIDDetDescrCnv::classID
static const CLID & classID()
Definition: ZdcIDDetDescrCnv.cxx:215
ZdcIDDetDescrCnv::m_zdcId
ZdcID * m_zdcId
The helper - only will create it once.
Definition: ZdcIDDetDescrCnv.h:56
ZdcIDDetDescrCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Definition: ZdcIDDetDescrCnv.cxx:76
ZdcIDDetDescrCnv::m_inDetIDTag
std::string m_inDetIDTag
Internal InDet id tag.
Definition: ZdcIDDetDescrCnv.h:65
DetDescrConverter
Definition: DetDescrConverter.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ZdcIDDetDescrCnv::repSvcType
virtual long int repSvcType() const
Definition: ZdcIDDetDescrCnv.cxx:24
ZdcIDDetDescrCnv::initialize
virtual StatusCode initialize()
Definition: ZdcIDDetDescrCnv.cxx:32
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
ZdcIDDetDescrCnv
This class is a converter for the ZdcID an IdHelper which is stored in the detector store.
Definition: ZdcIDDetDescrCnv.h:37
ZdcIDDetDescrCnv::m_inDetIdDictTag
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
Definition: ZdcIDDetDescrCnv.h:62
ZdcIDDetDescrCnv::storageType
static long storageType()
Definition: ZdcIDDetDescrCnv.cxx:208
DetDescrConverter.h
ZdcIDDetDescrCnv::ZdcIDDetDescrCnv
ZdcIDDetDescrCnv(ISvcLocator *svcloc)
Definition: ZdcIDDetDescrCnv.cxx:220
ZdcIDDetDescrCnv::m_doChecks
bool m_doChecks
Whether or not.
Definition: ZdcIDDetDescrCnv.h:68
ZdcIDDetDescrCnv::m_inDetIDFileName
std::string m_inDetIDFileName
File to be read for InDet ids.
Definition: ZdcIDDetDescrCnv.h:59
ZdcID
Definition: ZdcID.h:25
ZdcIDDetDescrCnv::finalize
virtual StatusCode finalize()
Definition: ZdcIDDetDescrCnv.cxx:65