jHepWork
DMelt
Multiplatform data-analysis framework

CBook package

Release Package size (MB) Date
CBook-2.5.tgz 0.72 MB 26/02/2016 17:10:56
CBook-2.4.tgz 0.72 MB 26/02/2016 17:10:55
CBook-2.3.tgz 0.66 MB 26/02/2016 17:10:56
CBook-2.2.tgz 0.15 MB 26/02/2016 17:10:56
CFBook-1.1.tgz 0.06 MB 26/02/2016 17:10:56


CFBook - a legacy C++ and FORTRAN library to fill histograms, write them into a XML file and read them using the HBook class. No compression is used.

CBook - a C++ library to fill histograms (1D and 2D) and vectors and write them to a platform-neutral compressed format (file extension "pbu") based on Google's Protocol Buffers records. Use the class CFile to read such files and PBookBrowser to browser objects inside such files.

In addition, this C++ package allows to write structural data into ntuples (file extension "nbu") and read them back using SCaVis (class EFile). Data are compressed using zlib library.

How to install CBook

First, install Google's Protocol Buffers package. A local copy of protobuf-2.2 is here. Then unzip the file and type "./configure; make" from "cmxidt". This creates a library in the directory "lib". Then look at the example in "doc/example_pfile".
  • jhepwork-2.2 - jhepwork.2.9 can only be used with CBook-2.4 and protobuf-2.2
  • jhepwork-3.0 - jhepwork.3.X can only be used with CBook-2.5 and protobuf-2.4.1
Local copies of protocol buffers:protobuf-2.2.0.tar.gz and protobuf-2.4.1.tar.gz

Warning: Tested on RHEL4,5,Ubuntu with gcc43 on x86 and x86-64 platforms.


Developed by S.Chekanov.