#include <MucGeomSvc.h>
|
| MucGeomSvc (const std::string &name, ISvcLocator *svcloc) |
|
| ~MucGeomSvc () |
|
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvUnknown) |
|
virtual StatusCode | initialize () |
|
virtual StatusCode | finalize () |
|
virtual const MucGeoGeneral *const | GetGeoGeneral () |
|
virtual const MucGeoGap *const | GetGap (int part, int seg, int gap) |
|
virtual const MucGeoStrip *const | GetStrip (int part, int seg, int gap, int strip) |
|
virtual const MucG4Geo *const | GetMucG4Geo () |
|
virtual void | Dump () |
|
| MucGeomSvc (const std::string &name, ISvcLocator *svcloc) |
|
| ~MucGeomSvc () |
|
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvUnknown) |
|
virtual StatusCode | initialize () |
|
virtual StatusCode | finalize () |
|
virtual const MucGeoGeneral *const | GetGeoGeneral () |
|
virtual const MucGeoGap *const | GetGap (int part, int seg, int gap) |
|
virtual const MucGeoStrip *const | GetStrip (int part, int seg, int gap, int strip) |
|
virtual const MucG4Geo *const | GetMucG4Geo () |
|
virtual void | Dump () |
|
virtual void | Dump ()=0 |
|
virtual void | Dump ()=0 |
|
◆ MucGeomSvc() [1/2]
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() [1/2]
MucGeomSvc::~MucGeomSvc |
( |
| ) |
|
◆ MucGeomSvc() [2/2]
MucGeomSvc::MucGeomSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svcloc |
|
) |
| |
◆ ~MucGeomSvc() [2/2]
MucGeomSvc::~MucGeomSvc |
( |
| ) |
|
◆ Dump() [1/2]
void MucGeomSvc::Dump |
( |
| ) |
|
|
virtual |
◆ Dump() [2/2]
virtual void MucGeomSvc::Dump |
( |
| ) |
|
|
virtual |
◆ finalize() [1/2]
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}
◆ finalize() [2/2]
virtual StatusCode MucGeomSvc::finalize |
( |
| ) |
|
|
virtual |
◆ GetGap() [1/2]
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).
◆ GetGap() [2/2]
virtual const MucGeoGap *const MucGeomSvc::GetGap |
( |
int |
part, |
|
|
int |
seg, |
|
|
int |
gap |
|
) |
| |
|
virtual |
◆ GetGeoGeneral() [1/2]
Definition at line 70 of file MucGeomSvc.cxx.
71{
72 return m_pMucGeoGeneral;
73}
◆ GetGeoGeneral() [2/2]
◆ GetMucG4Geo() [1/2]
const MucG4Geo *const MucGeomSvc::GetMucG4Geo |
( |
| ) |
|
|
virtual |
◆ GetMucG4Geo() [2/2]
virtual const MucG4Geo *const MucGeomSvc::GetMucG4Geo |
( |
| ) |
|
|
virtual |
◆ GetStrip() [1/2]
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).
◆ GetStrip() [2/2]
virtual const MucGeoStrip *const MucGeomSvc::GetStrip |
( |
int |
part, |
|
|
int |
seg, |
|
|
int |
gap, |
|
|
int |
strip |
|
) |
| |
|
virtual |
◆ initialize() [1/2]
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}
◆ initialize() [2/2]
virtual StatusCode MucGeomSvc::initialize |
( |
| ) |
|
|
virtual |
◆ queryInterface() [1/2]
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}
◆ queryInterface() [2/2]
virtual StatusCode MucGeomSvc::queryInterface |
( |
const InterfaceID & |
riid, |
|
|
void ** |
ppvUnknown |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: