BOSS 7.1.3
BESIII Offline Software System
Loading...
Searching...
No Matches
MucGeomSvc Class Reference

#include <MucGeomSvc.h>

+ Inheritance diagram for MucGeomSvc:

Public Member Functions

 MucGeomSvc (const std::string &name, ISvcLocator *svcloc)
 
 ~MucGeomSvc ()
 
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 ()
 

Detailed Description

Definition at line 24 of file MucGeomSvc.h.

Constructor & Destructor Documentation

◆ MucGeomSvc()

MucGeomSvc::MucGeomSvc ( const std::string & name,
ISvcLocator * svcloc )

Definition at line 19 of file MucGeomSvc.cxx.

19 : base_class(name, svcloc)
20{
21 //Declare the properties
22 declareProperty("GeometryMode",m_Geometry=1);
23
24}

Referenced by MucGeomSvc().

◆ ~MucGeomSvc()

MucGeomSvc::~MucGeomSvc ( )

Definition at line 57 of file MucGeomSvc.cxx.

57 {
58}

Member Function Documentation

◆ Dump()

void MucGeomSvc::Dump ( )
virtual

Definition at line 89 of file MucGeomSvc.cxx.

89 {
90 std::cout << "StripNumTotal = " << m_pMucGeoGeneral->GetStripNumTotal() << std::endl;
91}

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}

◆ GetGeoGeneral()

const MucGeoGeneral *const MucGeomSvc::GetGeoGeneral ( )
virtual

Definition at line 72 of file MucGeomSvc.cxx.

73{
74 return m_pMucGeoGeneral;
75}

◆ GetMucG4Geo()

const MucG4Geo *const MucGeomSvc::GetMucG4Geo ( )
virtual

Definition at line 94 of file MucGeomSvc.cxx.

95{
96 return m_pMucG4Geo;
97}

◆ 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}

◆ 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 // get geometry data
44 Fill();
45
46 return StatusCode::SUCCESS;
47}

The documentation for this class was generated from the following files: