BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MucGeomSvc/MucGeomSvc/MucGeomSvc.h
Go to the documentation of this file.
1/*
2 * 2004/09/10 Zhengyun You Peking University
3 *
4 */
5
6// $Id: MucGeomSvc.h,v 1.4 2006/11/23 08:55:10 liangyt Exp $ // -*-c++-*-
7// header file for a class called "MucGeomSvc"
8#ifndef MUC_GEOM_SVC_H
9#define MUC_GEOM_SVC_H
10
11#include <vector>
12#include <iostream>
13
14//#include "BesGeoMuc/DB2BesGeoMuc.h"
15#include "MucGeomSvc/MucGeoGeneral.h"
16#include "MucGeomSvc/MucGeoGap.h"
17#include "MucGeomSvc/MucGeoStrip.h"
18#include "MucGeomSvc/IMucGeomSvc.h"
19#include "G4Geo/MucG4Geo.h"
20
21#include "GaudiKernel/Service.h"
22#include "GaudiKernel/IInterface.h"
23
24class MucGeomSvc : public Service, virtual public IMucGeomSvc
25{
26public:
27 // Constructors and destructors
28 MucGeomSvc( const std::string& name, ISvcLocator* svcloc );
30
31 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
32 virtual StatusCode initialize ( );
33 virtual StatusCode finalize ( );
34
35 // Access by others
36 virtual const MucGeoGeneral * const GetGeoGeneral();
37 virtual const MucGeoGap * const GetGap(int part, int seg, int gap);
38 virtual const MucGeoStrip * const GetStrip(int part, int seg, int gap, int strip);
39 virtual const MucG4Geo * const GetMucG4Geo();
40
41 virtual void Dump();
42
43 // private method
44private:
45 void Fill();
46
47 // private data members
48private:
49 MucGeoGeneral *m_pMucGeoGeneral;
50 MucG4Geo *m_pMucG4Geo;
51 int m_Geometry; //0: G4 ; 1: Root
52};
53
54#endif /* MUC_GEOM_SVC_H */
55
56
virtual void Dump()
Definition: MucGeomSvc.cxx:87
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
Definition: MucGeomSvc.cxx:24
virtual StatusCode initialize()
Definition: MucGeomSvc.cxx:34
virtual StatusCode finalize()
Definition: MucGeomSvc.cxx:48
virtual const MucGeoGeneral *const GetGeoGeneral()
Definition: MucGeomSvc.cxx:70
virtual const MucG4Geo *const GetMucG4Geo()
Definition: MucGeomSvc.cxx:92
virtual const MucGeoStrip *const GetStrip(int part, int seg, int gap, int strip)
Definition: MucGeomSvc.cxx:82
virtual const MucGeoGap *const GetGap(int part, int seg, int gap)
Definition: MucGeomSvc.cxx:76