1 / 13

刻度框架概况及进展

刻度框架概况及进展. 黄彬 2005.11.23. 内容. 刻度框架的设计功能 刻度框架的结构与流程 刻度框架的应用 目前的进展和下一步的工作. 刻度框架里的数据. Calibration Data 实际用到的刻度常数 MetaData 放在数据库中记录 Calibration Data 属性 的信息. reference. Calibrator. uses. reads. writes to. rdbGui Register , search. program, script. ROOT macros, etc.

awen
Télécharger la présentation

刻度框架概况及进展

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 刻度框架概况及进展 黄彬 2005.11.23

  2. 内容 • 刻度框架的设计功能 • 刻度框架的结构与流程 • 刻度框架的应用 • 目前的进展和下一步的工作

  3. 刻度框架里的数据 • Calibration Data 实际用到的刻度常数 • MetaData 放在数据库中记录Calibration Data属性 的信息

  4. reference Calibrator uses reads writes to rdbGui Register, search program, script ROOT macros, etc. Data (persistent) Metadata (persistent) MySQL rdbms bad strips (XML) CAL, ACD calibs (XML,ROOT)

  5. user Conversion services reference uses calibUtil Search db reads executable library Metadata (persistent) Data (persistent) CAL, ACD calibs (XML,ROOT) MySQL rdbms bad strips (XML)

  6. TCDS StructureTransient (Calibration) Data Store Calib MdcCal TofCal DedxCal (More) vanilla vanilla vanilla digi /Calib/MdcCal/digi /Calib/DedxCal/vanilla /Calib/TofCal/vanilla /Calib/MdcCal/vanilla Part of TCDS node hierarchy. Only the leaf nodes have calibration data associated with them.

  7. Tof CalibData in the TCDS class TofCalibData: public CalibBase1{ public: TofCalibData(){}; TofCalibData(std::vector<bTofCalibBase>* bTofCal, std::vector<eTofCalibBase>* eTofCal); virtual ~TofCalibData() { delete m_bTofCalData; delete m_eTofCalData; } // Re-implemented from DataObject inline virtual const CLID& clID() const { return classID(); } inline static const CLID& classID() { return CLID_Calib_TofCal; } virtual StatusCode update(CalibBase1& other, MsgStream* log); void setbTof(const bTofCalibBase bTof,const int cnt); void seteTof(const eTofCalibBase eTof,const int cnt); bTofCalibBase getbTof(int cnt) const; eTofCalibBase geteTof(int cnt) const; private: std::vector<bTofCalibBase>* m_bTofCalData; std::vector<eTofCalibBase>* m_eTofCalData; }; }

  8. 刻度框架的结构 • CalibData 刻度数据在TCDS中的数据格式 CalibDataSvc • CalibSvc CalibMySQLCnvSvc CalibRootCnvSvc cnv CalibXmlCnvSvc cnv • calibUtil facilities 数据库操作 rdbGui rdbModel • XmlBase

  9. Client CalibSvc 读取刻度数据的流程 if exist DataObject if not exist CalibType,Flaver,CLID, CalibStorageType CalibType,Flavor,CLID CalibType,Flavor… FilePath,CalibStorageType FilePath,CLID, CalibStorageType FilePath,CLID Filepath FilePath TCDS CalibDataSvc (runfrm<=runNo<=runto) (runNo) retrieveObject(fullPath,DataObject) (runfrm,runto) (runNo>runto||runNo<runfrm) PersistencySvc updateObj runNo, DataBase CalibMySQLCnvSvc (runNo) PersistercySvc CalibRootCnvSvc CalibXmlCnvSvc Converter Converter

  10. 刻度框架的应用 CalibAlg Mdc Calibration Constants rdbGui CalibSvc TCDS RootFile DataBase DataBase Reconstruction MdcCalibFunSvc TimeToDistFun DistToTimeFun … Simulation CalibSvc TCDS Calibration Others

  11. 目前的进展 • Mdc和Tof在TCDS中的CalibData的定义完成,相应的converter完成 • 完成读取刻度数据的流程 • 基本上可以使用

  12. 下一步的工作 • 完善刻度流程 • 将TCDS的数据写到root格式文件里 • 其它探测器的CalibData的定义以及对应的converter

  13. 谢 谢!

More Related