Download presentation
Presentation is loading. Please wait.
Published byHilary Ferguson Modified over 9 years ago
1
刻度框架概况及进展 黄彬 2005.11.23
2
内容 刻度框架的设计功能 刻度框架的结构与流程 刻度框架的应用 目前的进展和下一步的工作
3
刻度框架里的数据 Calibration Data 实际用到的刻度常数 MetaData 放在数据库中记录 Calibration Data 属性 的信息
4
Data (persistent)Metadata (persistent) Calibrator bad strips (XML) CAL, ACD calibs (XML,ROOT) MySQL rdbms reference uses program, script rdbGui Register, search reads ROOT macros, etc. writes to
5
Data (persistent)Metadata (persistent) user bad strips (XML) CAL, ACD calibs (XML,ROOT) MySQL rdbms calibUtil Search db reference uses executable library Conversion services reads
6
TCDS Structure Transient (Calibration) Data Store Calib MdcCal TofCalDedxCal vanilla /Calib/MdcCal/vanilla /Calib/TofCal/vanilla /Calib/DedxCal/vanilla Part of TCDS node hierarchy. Only the leaf nodes have calibration data associated with them. (More) digi /Calib/MdcCal/digi
7
Tof CalibData in the TCDS class TofCalibData: public CalibBase1{ public: TofCalibData(){}; TofCalibData(std::vector * bTofCal, std::vector * 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 * m_bTofCalData; std::vector * m_eTofCalData; }; }
8
CalibData 刻度数据在 TCDS 中的数据格式 CalibDataSvc CalibSvc CalibMySQLCnvSvc CalibRootCnvSvc cnv CalibXmlCnvSvc cnv calibUtil facilities 数据库操作 rdbGui rdbModel XmlBase 刻度框架的结构
9
if exist DataObject if not exist CalibType,Flaver,CLID, CalibStorageType CalibType,Flavor,CLID CalibType,Flavor… FilePath,CalibStorageType FilePath,CLID, CalibStorageType FilePath,CLID Filepath FilePath CalibDataSvc CalibMySQLCnvSvc CalibRootCnvSvc TCDS Converter DataBase Client PersistencySvc PersistercySvc CalibXmlCnvSvc Converter 读取刻度数据的流程 updateObj (runfrm<=runNo<=runto) (runfrm,runto) (runNo) runNo, retrieveObject(fullPath,DataObject) (runNo>runto||runNo<runfrm) CalibSvc
10
刻度框架的应用 MdcCalibFunSvc TimeToDistFun DistToTimeFun … DataBase TCDS Reconstruction Simulation Others Calibration CalibAlg TCDS Mdc Calibration Constants RootFileDataBase CalibSvc rdbGui CalibSvc
11
目前的进展 Mdc 和 Tof 在 TCDS 中的 CalibData 的定义 完成, 相应的 converter 完成 完成读取刻度数据的流程 基本上可以使用
12
下一步的工作 完善刻度流程 将 TCDS 的数据写到 root 格式文件里 其它探测器的 CalibData 的定义以及对应 的 converter
13
谢 谢!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.