#include <MucGeomSvc.h>
Definition at line 24 of file MucGeomSvc.h.
◆ MucGeomSvc()
MucGeomSvc::MucGeomSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svcloc |
|
) |
| |
Definition at line 19 of file MucGeomSvc.cxx.
19 : base_class(name, svcloc)
20{
21
22 declareProperty("GeometryMode",m_Geometry=1);
23
24}
◆ ~MucGeomSvc()
MucGeomSvc::~MucGeomSvc |
( |
| ) |
|
◆ Dump()
void MucGeomSvc::Dump |
( |
| ) |
|
|
virtual |
Definition at line 89 of file MucGeomSvc.cxx.
89 {
90 std::cout <<
"StripNumTotal = " << m_pMucGeoGeneral->
GetStripNumTotal() << std::endl;
91}
int GetStripNumTotal()
Get total number of strips.
Referenced by main().
◆ finalize()
StatusCode MucGeomSvc::finalize |
( |
| ) |
|
|
virtual |
Definition at line 50 of file MucGeomSvc.cxx.
50 {
51 MsgStream log(messageService(), name());
52 log << MSG::INFO << name() << ": End of Run" << endreq;
53 return StatusCode::SUCCESS;
54}
◆ GetGap()
const MucGeoGap *const MucGeomSvc::GetGap |
( |
int |
part, |
|
|
int |
seg, |
|
|
int |
gap |
|
) |
| |
|
virtual |
Definition at line 78 of file MucGeomSvc.cxx.
79{
80 return m_pMucGeoGeneral->
GetGap(part, seg, gap);
81}
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 72 of file MucGeomSvc.cxx.
73{
74 return m_pMucGeoGeneral;
75}
◆ 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 84 of file MucGeomSvc.cxx.
85{
86 return m_pMucGeoGeneral->
GetStrip(part, seg, gap, strip);
87}
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 36 of file MucGeomSvc.cxx.
36 {
37 MsgStream log(messageService(), name());
38 log << MSG::INFO << name() << ": Start of run initialisation" << endreq;
39
40 StatusCode sc = Service::initialize();
41 if ( sc.isFailure() ) return sc;
42
43
44 Fill();
45
46 return StatusCode::SUCCESS;
47}
The documentation for this class was generated from the following files: