CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
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"
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()
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
virtual StatusCode initialize()
MucGeomSvc(const std::string &name, ISvcLocator *svcloc)
virtual StatusCode finalize()
virtual const MucGeoGeneral *const GetGeoGeneral()
virtual const MucG4Geo *const GetMucG4Geo()
virtual const MucGeoStrip *const GetStrip(int part, int seg, int gap, int strip)
virtual const MucGeoGap *const GetGap(int part, int seg, int gap)