BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Emc/EmcRecGeoSvc/include/EmcRecGeoSvc/IEmcRecGeoSvc.h
Go to the documentation of this file.
1//
2// Bes Emc barrel part and endcap Geometry service
3// Virtual interface class
4//
5// Created by Zhe Wang, May, 29 2004
6//
7
8#ifndef I_EMC_REC_GEO_SVC_H
9#define I_EMC_REC_GEO_SVC_H
10
11#include "CLHEP/Geometry/Point3D.h"
12#include "GaudiKernel/IInterface.h"
13#ifndef ENABLE_BACKWARDS_COMPATIBILITY
14typedef HepGeom::Point3D<double> HepPoint3D;
15#endif
16
17#include "EmcRecCrystal.h"
18#include "Identifier/Identifier.h"
19using namespace CLHEP;
20
21// static const InterfaceID IID_IEmcRecGeoSvc("IEmcRecGeoSvc",1,0);
22
23class IEmcRecGeoSvc : virtual public IInterface {
24 // access to geometry
25public:
26 virtual EmcRecCrystal GetCrystal( const Identifier& id ) const = 0;
27 virtual HepPoint3D GetCrystalPoint( const Identifier& id, const int i ) const = 0;
28 virtual HepPoint3D GetCCenter( const Identifier& id ) const = 0;
29 virtual HepPoint3D GetCFrontCenter( const Identifier& id ) const = 0;
30
31 virtual double GetBarrelR() const = 0;
32 virtual double GetBarrelOffset1() const = 0;
33 virtual double GetBarrelOffset2() const = 0;
34 virtual double GetBarrelh1() const = 0;
35 virtual double GetBarrelh2() const = 0;
36 virtual double GetBarrelh3() const = 0;
37 virtual double GetBarrelL() const = 0;
38 virtual int GetBarrelNPhiMax() const = 0;
39 virtual int GetBarrelNThetaMax() const = 0;
41 // static const InterfaceID& interfaceID() { return IID_IEmcRecGeoSvc; }
42};
43
44#endif // I_EMC_REC_GEO_SVC_H
HepGeom::Point3D< double > HepPoint3D
virtual double GetBarrelOffset2() const =0
virtual double GetBarrelR() const =0
virtual double GetBarrelh3() const =0
virtual EmcRecCrystal GetCrystal(const Identifier &id) const =0
virtual double GetBarrelh1() const =0
virtual HepPoint3D GetCFrontCenter(const Identifier &id) const =0
virtual HepPoint3D GetCrystalPoint(const Identifier &id, const int i) const =0
virtual double GetBarrelh2() const =0
DeclareInterfaceID(IEmcRecGeoSvc, 1, 0)
virtual double GetBarrelL() const =0
virtual HepPoint3D GetCCenter(const Identifier &id) const =0
virtual int GetBarrelNPhiMax() const =0
virtual int GetBarrelNThetaMax() const =0
virtual double GetBarrelOffset1() const =0