BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
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 "GaudiKernel/IInterface.h"
12#include "CLHEP/Geometry/Point3D.h"
13#ifndef ENABLE_BACKWARDS_COMPATIBILITY
15#endif
16
19using namespace CLHEP;
20
21static const InterfaceID IID_IEmcRecGeoSvc("IEmcRecGeoSvc",1,0);
22
23class IEmcRecGeoSvc:virtual public IInterface
24{
25 //access to geometry
26 public:
27 virtual EmcRecCrystal GetCrystal(const Identifier& id) const =0;
28 virtual HepPoint3D GetCrystalPoint(const Identifier& id, const int i) const =0;
29 virtual HepPoint3D GetCCenter(const Identifier& id) const =0;
30 virtual HepPoint3D GetCFrontCenter(const Identifier& id) const =0;
31
32 virtual double GetBarrelR() const = 0;
33 virtual double GetBarrelOffset1() const = 0;
34 virtual double GetBarrelOffset2() const = 0;
35 virtual double GetBarrelh1() const = 0;
36 virtual double GetBarrelh2() const = 0;
37 virtual double GetBarrelh3() const = 0;
38 virtual double GetBarrelL() const = 0;
39 virtual int GetBarrelNPhiMax() const = 0;
40 virtual int GetBarrelNThetaMax() const = 0;
41
42 static const InterfaceID& interfaceID() { return IID_IEmcRecGeoSvc; }
43};
44
45#endif //I_EMC_REC_GEO_SVC_H
46
HepGeom::Point3D< double > HepPoint3D
Definition: IEmcRecGeoSvc.h:14
virtual double GetBarrelOffset2() const =0
virtual double GetBarrelR() const =0
virtual double GetBarrelh3() const =0
virtual EmcRecCrystal GetCrystal(const Identifier &id) const =0
static const InterfaceID & interfaceID()
Definition: IEmcRecGeoSvc.h:42
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
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