BOSS 8.0.0
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 <iostream>
7#include <vector>
8
9// #include "DBBesGeoBarTOF/DB2BesGeoBarTOF.h"
10// #include "DBBesGeoEndTOF/DB2BesGeoEndTOF.h"
11
12#include "TofGeomSvc/BTofGeo.h"
13#include "TofGeomSvc/ETofGeo.h"
14#include "TofGeomSvc/ITofGeomSvc.h"
15
16#include "GaudiKernel/IInterface.h"
17#include "GaudiKernel/Service.h"
18using namespace std;
19
20class TofGeomSvc : public extends<Service, ITofGeomSvc> {
21public:
22 // Constructors and destructors
23 TofGeomSvc( const std::string& name, ISvcLocator* svcloc );
25
26 // virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
27 virtual StatusCode initialize();
28 virtual StatusCode finalize();
29
30 // Access by others
31 BTofGeo* BTof( unsigned id ) const;
32 ETofGeo* ETof( unsigned id ) const;
33 const double getBPhiMax( unsigned id );
34 const double getBPhiMin( unsigned id );
35 const double getEPhiMax( unsigned id );
36 const double getEPhiMin( unsigned id );
37 void Dump();
38
39 // private method
40private:
41 // void Fill();
42
43 // private data members
44private:
45 vector<BTofGeo*> fBTofGeo;
46 vector<ETofGeo*> fETofGeo;
47};
48
49#endif /* TOF_REC_GEO_H */
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)
Definition TofGeomSvc.cxx:9
BTofGeo * BTof(unsigned id) const
virtual StatusCode finalize()
const double getEPhiMin(unsigned id)
const double getBPhiMax(unsigned id)