...
The libraries are built using a set of makefiles. (On Windows, these are executed using the MinGW port of GNU make, mingw32-make.)
Note |
---|
javaROOT requires SWIG version 1.3.40 or higher, and on Windows, ROOT v.5.25. |
Features
javaROOT can:
- create histograms (TH1Fs, TH1Ds, TH2Fs, TH2Ds, TProfiles) and fill them with data.
Code Block sess.newTH1F( "demoA", "demoA", 100, 0, 1 ); for( int i = 0; i < 4096; i++ ) { sess.fillTH1F( "demoA", (float) r.nextGaussian() ); } sess.delete();
- create TTrees and fill them with data (branches of type float, int, double, bool, TVector3, TLorentzVector, std::vector<float>, std::vector<int>, std::vector<double>, std::vector<bool>, std::vector<TVector3>, std::vector<TLorentzVector>).
Code Block sess.newTTree( "demoT", "TestTree", 99 ); sess.branchTTreeFloat( "demoT", "fX" ); for( int i = 0; i < 4096; i++ ) { sess.fillBranchFloat( "demoT", "fX", (float) r.nextGaussian() ); sess.fillTTree( "demoT" ); } sess.delete();
...