#include <MucGeomSvc.h>
Definition at line 24 of file MucGeomSvc.h.
◆ MucGeomSvc()
MucGeomSvc::MucGeomSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svcloc |
|
) |
| |
Definition at line 17 of file MucGeomSvc.cxx.
17 : Service(name, svcloc)
18{
19
20 declareProperty("GeometryMode",m_Geometry=1);
21
22}
◆ ~MucGeomSvc()
MucGeomSvc::~MucGeomSvc |
( |
| ) |
|
◆ Dump()
void MucGeomSvc::Dump |
( |
| ) |
|
|
virtual |
◆ finalize()
StatusCode MucGeomSvc::finalize |
( |
| ) |
|
|
virtual |
Definition at line 48 of file MucGeomSvc.cxx.
48 {
49 MsgStream log(messageService(), name());
50 log << MSG::INFO << name() << ": End of Run" << endreq;
51 return StatusCode::SUCCESS;
52}
◆ GetGap()
const MucGeoGap *const MucGeomSvc::GetGap |
( |
int |
part, |
|
|
int |
seg, |
|
|
int |
gap |
|
) |
| |
|
virtual |
Definition at line 76 of file MucGeomSvc.cxx.
77{
78 return m_pMucGeoGeneral->
GetGap(part, seg, gap);
79}
MucGeoGap * GetGap(const int part, const int seg, const int gap) const
Get a pointer to the gap identified by (part,seg,gap).
◆ GetGeoGeneral()
Definition at line 70 of file MucGeomSvc.cxx.
71{
72 return m_pMucGeoGeneral;
73}
◆ GetMucG4Geo()
const MucG4Geo *const MucGeomSvc::GetMucG4Geo |
( |
| ) |
|
|
virtual |
◆ GetStrip()
const MucGeoStrip *const MucGeomSvc::GetStrip |
( |
int |
part, |
|
|
int |
seg, |
|
|
int |
gap, |
|
|
int |
strip |
|
) |
| |
|
virtual |
Definition at line 82 of file MucGeomSvc.cxx.
83{
84 return m_pMucGeoGeneral->
GetStrip(part, seg, gap, strip);
85}
MucGeoStrip * GetStrip(const int part, const int seg, const int gap, const int strip) const
Get a pointer to the strip identified by (part,seg,gap,strip).
◆ initialize()
StatusCode MucGeomSvc::initialize |
( |
| ) |
|
|
virtual |
Definition at line 34 of file MucGeomSvc.cxx.
34 {
35 MsgStream log(messageService(), name());
36 log << MSG::INFO << name() << ": Start of run initialisation" << endreq;
37
38 StatusCode sc = Service::initialize();
39 if ( sc.isFailure() ) return sc;
40
41
42 Fill();
43
44 return StatusCode::SUCCESS;
45}
◆ queryInterface()
StatusCode MucGeomSvc::queryInterface |
( |
const InterfaceID & |
riid, |
|
|
void ** |
ppvUnknown |
|
) |
| |
|
virtual |
Definition at line 24 of file MucGeomSvc.cxx.
24 {
25
26 if ( IID_IMucGeomSvc.versionMatch(riid) ) {
28 } else {
29 return Service::queryInterface(riid, ppvInterface) ;
30 }
31 return StatusCode::SUCCESS;
32}
The documentation for this class was generated from the following files: