The FreeHEP Java Libraryhttp---java.freehep.org.ppt
《The FreeHEP Java Libraryhttp---java.freehep.org.ppt》由会员分享,可在线阅读,更多相关《The FreeHEP Java Libraryhttp---java.freehep.org.ppt(18页珍藏版)》请在麦多课文档分享上搜索。
1、The FreeHEP Java Library http:/java.freehep.org,ACAT 2000 Fermilab October 2000,Mark Donszelmann, Julius Hrivnac CERN Gary Bower, Tony Johnson, Joseph Perl - SLAC Charles Loomis UC Santa Cruz,What is Freehep library,Started as a convergence of WIRED Java Analysis Studio (JAS) A common base library m
2、inimize unnecessary duplication of work maximize code reuse Soon realized many others working on Java Now have contributions from Atlas, Babar and US Linear Collider Detector (LCD) Others welcome to contribute Today - a library of HEP-wide Java software Some very HEP specific (c.f. CLHEP) Some gener
3、al purpose utilities,Goals,Open source All code and documentation in CVS, web browsable All code licensed under LGPL to make it freely reusable Preview area for partly-baked ideas Minimal interdependence between packages Take what you like, leave what you dont. Pure Java where possible We include so
4、me C+ code In particular tools for helping Java and C+ to co-exist,Why Java?,We enjoy writing Java code OO, highly portable Maximizes programmer effectiveness No need to deal with memory leaks, core dumps, corrupted pointers Frees developer to concentrate on clean OO design Java makes code reuse eas
5、y Use interfaces to separate interfaces and implementation Can support 1 implementation of same functionality No problem with incompatible base libraries,Isnt Java too slow?,No! Huge advances have been made in last 4 years Dynamic code optimization Optimizes code while it is running Java now gives a
6、verage of 60% of C+ performance Java performance continues to improve Static optimization (C+) is mature no improvement expected,What does it contain?,Non-HEP specific 2D Vector Graphics generates .eps, .svg, Studio Hep Studio JACO Java access to C+ Objects Jneeds java package dependency HEP specifi
7、c hep.physics package 3-vector, 4-vectors and utilities Jet Finding, Event Shape routines Diagnostic Event Generator Yappi XML Particle Property Database hep.io STDHEP, Root AIDA interface HepRep HEP3D,2D Graphics Package,Java contains machine independent graphics Advanced 2D graphics Built-in suppo
8、rt for printing Freehep 2D graphics adds support for Saving graphics in vector graphics format Encapsulated Postscript (eps) Clean output can be hand edited if necessary Scalable vector graphics (svg) Easily extensible for other vector graphics formats General graphics export Supports vector and pix
9、el graphics (GIF, JPG, PNG) Easily extensible for other formats (e.g. XML),(HEP) Studio,Studio Common Base GUI for JAS + Wired + XML Menus Command Dispatch mechanism Plugin Architecture Flexible MDI type GUI Save/Restore state via XML HEP Studio Adds event access Random or Sequential Remote or Local
10、,JACO (Java Access to C+ Objects),Interoperability of Java and C+ is certainly possible But tedious Code must be written for each method Need to deal with starting JavaVM Need to deal with object lifetimes JACO Aims to solve this Automatic generation of glue code Small library to deal with details A
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- THEFREEHEPJAVALIBRARYHTTPJAVAFREEHEPORGPPT
