BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
TofGeomSvc.h
Go to the documentation of this file.
1// $Id: TofGeomSvc.h,v 1.6 2022/01/24 06:33:30 maqm Exp $ // -*-c++-*-
2// header file for a class called "TofGeomSvc"
3#ifndef TOFGEOMSVC_H
4#define TOFGEOMSVC_H
5
6#include <vector>
7#include <iostream>
8
9//#include "DBBesGeoBarTOF/DB2BesGeoBarTOF.h"
10//#include "DBBesGeoEndTOF/DB2BesGeoEndTOF.h"
11
12#include "TofGeomSvc/BTofGeo.h"
13#include "TofGeomSvc/ETofGeo.h"
14
15#include "GaudiKernel/Service.h"
16#include "GaudiKernel/IInterface.h"
18using namespace std;
19
20class TofGeomSvc : public extends<Service, ITofGeomSvc>
21{
22 public:
23 // Constructors and destructors
24 TofGeomSvc( const std::string& name, ISvcLocator* svcloc );
26
27 //virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
28 virtual StatusCode initialize ( );
29 virtual StatusCode finalize ( );
30
31 // Access by others
32 BTofGeo* BTof(unsigned id) const;
33 ETofGeo* ETof(unsigned id) const;
34 const double getBPhiMax(unsigned id);
35 const double getBPhiMin(unsigned id);
36 const double getEPhiMax(unsigned id);
37 const double getEPhiMin(unsigned id);
38 void Dump();
39
40 // private method
41 private:
42 // void Fill();
43
44 // private data members
45 private:
46 vector<BTofGeo*> fBTofGeo;
47 vector<ETofGeo*> fETofGeo;
48};
49
50#endif /* TOF_REC_GEO_H */
51
52
ETofGeo * ETof(unsigned id) const
const double getBPhiMin(unsigned id)
virtual StatusCode initialize()
const double getEPhiMax(unsigned id)
TofGeomSvc(const std::string &name, ISvcLocator *svcloc)
BTofGeo * BTof(unsigned id) const
virtual StatusCode finalize()
const double getEPhiMin(unsigned id)
const double getBPhiMax(unsigned id)