5#include <CLHEP/Units/PhysicalConstants.h>
6#include <CLHEP/Geometry/Point3D.h>
9#include "GaudiKernel/Algorithm.h"
11#include "MdcGeomSvc/MdcGeoWire.h"
12#include "MdcGeomSvc/MdcGeoLayer.h"
13#include "MdcGeomSvc/MdcGeoGeneral.h"
14#include "MdcGeomSvc/MdcGeoSuper.h"
15#include "MdcGeomSvc/MdcGeoMisc.h"
16#include "MdcGeomSvc/MdcGeoEnd.h"
17#include "GaudiKernel/IIncidentListener.h"
18#include "GaudiKernel/Service.h"
19#include "GaudiKernel/IInterface.h"
20#include "MdcGeomSvc/IMdcGeomSvc.h"
21#include "GaudiKernel/IDataProviderSvc.h"
22#include "GaudiKernel/IIncidentListener.h"
29 MdcGeomSvc(
const std::string& name, ISvcLocator* svcloc );
32 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvUnknown);
62 void ReadTensionDataBase(std::vector<double> & wireTensionVec);
63 void ReadWirePosDataBase(std::vector<vector<double> > & wirePosVec);
64 void ReadAliParDataBase(vector<double>& Sx, vector<double>& Sy, vector<double>& Sz,
65 vector<double>& Rx, vector<double>& Ry, vector<double>& Rz);
67 const int getAlignParIndexEast(
int lyr)
const;
68 const int getAlignParIndexWest(
int lyr)
const;
81 std::string m_alignFilePath;
82 std::string m_wirePosFilePath;
83 std::string m_wireTensionFilePath;
87 vector <MdcGeoWire*> fWires;
88 vector <MdcGeoGeneral> fGenerals;
89 vector <MdcGeoLayer*> fLayers;
90 vector <MdcGeoSuper*> fSupers;
92 vector <MdcGeoEnd*> fEnd;
93 IDataProviderSvc* m_pCalibDataSvc;
static bool m_readAlignParDataBase
MdcGeomSvc(const std::string &name, ISvcLocator *svcloc)
const MdcGeoSuper *const SuperLayer(unsigned id)
const MdcGeoWire *const Wire(unsigned id)
const MdcGeoGeneral *const GeneralLayer(unsigned id)
void handle(const Incident &inc)
const int getSuperLayerSize()
const MdcGeoEnd *const End(unsigned id)
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
virtual StatusCode finalize()
const MdcGeoLayer *const Layer(unsigned id)
static bool getSagFlag(void)
const MdcGeoWire *const Wire(unsigned lyrid, unsigned wirid)
const int getGeneralLayerSize()
virtual StatusCode initialize()
const MdcGeoMisc *const Misc(void)
static bool m_nomcalignment