. . M. Lynch, M. Stanitzki, J. Strube July 2009 STFC Rutherford Appleton Laboratory J. Strube M. Stanitzki M. Lynch A Java Interface to ROOT javaROOT . . . . . . . Features Introduction . . . . javaROOT
. Introduction M. Lynch, M. Stanitzki, J. Strube Example Trees Histograms Features 2 .. . javaROOT 1 . .. . Features Introduction . . . . javaROOT . Outline
. Allows creation of (not reading/modification of existing) ROOT M. Lynch, M. Stanitzki, J. Strube “Lets you get the data into ROOT.” Runs on both Linux and Windows. scripts.) (Further processing can then be carried out in dedicated ROOT Provides access to some of the most commonly used features. files in Java. javaROOT . javaROOT Features Introduction . . . . . javaROOT
. Allows creation of (not reading/modification of existing) ROOT M. Lynch, M. Stanitzki, J. Strube “Lets you get the data into ROOT.” Runs on both Linux and Windows. scripts.) (Further processing can then be carried out in dedicated ROOT Provides access to some of the most commonly used features. files in Java. javaROOT . javaROOT Features Introduction . . . . . javaROOT
. Allows creation of (not reading/modification of existing) ROOT M. Lynch, M. Stanitzki, J. Strube “Lets you get the data into ROOT.” Runs on both Linux and Windows. scripts.) (Further processing can then be carried out in dedicated ROOT Provides access to some of the most commonly used features. files in Java. javaROOT . javaROOT Features Introduction . . . . . javaROOT
. Allows creation of (not reading/modification of existing) ROOT M. Lynch, M. Stanitzki, J. Strube “Lets you get the data into ROOT.” Runs on both Linux and Windows. scripts.) (Further processing can then be carried out in dedicated ROOT Provides access to some of the most commonly used features. files in Java. javaROOT . javaROOT Features Introduction . . . . . javaROOT
. Allows creation of (not reading/modification of existing) ROOT M. Lynch, M. Stanitzki, J. Strube “Lets you get the data into ROOT.” Runs on both Linux and Windows. scripts.) (Further processing can then be carried out in dedicated ROOT Provides access to some of the most commonly used features. files in Java. javaROOT . javaROOT Features Introduction . . . . . javaROOT
. Allows creation of (not reading/modification of existing) ROOT M. Lynch, M. Stanitzki, J. Strube “Lets you get the data into ROOT.” Runs on both Linux and Windows. scripts.) (Further processing can then be carried out in dedicated ROOT Provides access to some of the most commonly used features. files in Java. javaROOT . javaROOT Features Introduction . . . . . javaROOT
. Fill TH1F s, TH1D s, TH2F s, TH2D s and TProfile s. M. Lynch, M. Stanitzki, J. Strube sess.delete(); sess.fillTH1F( "demoA", 0.9 ); sess.newTH1F( "demoA", "Title1", 100, 0, 1 ); root", "RECREATE", "Test", 1 ); RootSession sess = new RootSession( "FromJava. Syntax very close to corresponding ROOT calls, e.g.: Example . Trees Histograms Features Introduction . . . . javaROOT . Histograms
. Fill TH1F s, TH1D s, TH2F s, TH2D s and TProfile s. M. Lynch, M. Stanitzki, J. Strube sess.delete(); sess.fillTH1F( "demoA", 0.9 ); sess.newTH1F( "demoA", "Title1", 100, 0, 1 ); root", "RECREATE", "Test", 1 ); RootSession sess = new RootSession( "FromJava. Syntax very close to corresponding ROOT calls, e.g.: Example . Trees Histograms Features Introduction . . . . javaROOT . Histograms
. Fill TH1F s, TH1D s, TH2F s, TH2D s and TProfile s. M. Lynch, M. Stanitzki, J. Strube sess.delete(); sess.fillTH1F( "demoA", 0.9 ); sess.newTH1F( "demoA", "Title1", 100, 0, 1 ); root", "RECREATE", "Test", 1 ); RootSession sess = new RootSession( "FromJava. Syntax very close to corresponding ROOT calls, e.g.: Example . Trees Histograms Features Introduction . . . . javaROOT . Histograms
. Fill TH1F s, TH1D s, TH2F s, TH2D s and TProfile s. M. Lynch, M. Stanitzki, J. Strube sess.delete(); sess.fillTH1F( "demoA", 0.9 ); sess.newTH1F( "demoA", "Title1", 100, 0, 1 ); root", "RECREATE", "Test", 1 ); RootSession sess = new RootSession( "FromJava. Syntax very close to corresponding ROOT calls, e.g.: Example . Trees Histograms Features Introduction . . . . javaROOT . Histograms
. . M. Lynch, M. Stanitzki, J. Strube (Additional types could be added manually.) Only supports branches of float s, int s, double s and bool s. Basic structure—only simple branches. Fill TTree s. Example Trees Histograms Features Introduction . . . . javaROOT . Trees
. . M. Lynch, M. Stanitzki, J. Strube (Additional types could be added manually.) Only supports branches of float s, int s, double s and bool s. Basic structure—only simple branches. Fill TTree s. Example Trees Histograms Features Introduction . . . . javaROOT . Trees
. . M. Lynch, M. Stanitzki, J. Strube (Additional types could be added manually.) Only supports branches of float s, int s, double s and bool s. Basic structure—only simple branches. Fill TTree s. Example Trees Histograms Features Introduction . . . . javaROOT . Trees
. . M. Lynch, M. Stanitzki, J. Strube (Additional types could be added manually.) Only supports branches of float s, int s, double s and bool s. Basic structure—only simple branches. Fill TTree s. Example Trees Histograms Features Introduction . . . . javaROOT . Trees
. sess.branchTTreeFloat( "demoT", "fZ" ); M. Lynch, M. Stanitzki, J. Strube sess.delete(); 10 sess.fillTTree( "demoT" ); nextGaussian() ); sess.fillBranchFloat( "demoT", "fY", (float) r. nextGaussian() ); sess.fillBranchFloat( "demoT", "fX", (float) r. nextGaussian() ); sess.fillBranchFloat( "demoT", "fZ", (float) r. sess.setupTTree( "demoT" ); 5 sess.branchTTreeFloat( "demoT", "fY" ); . sess.branchTTreeFloat( "demoT", "fX" ); sess.newTTree( "demoT", "TestTree", 99 ); Example Trees Histograms Features Introduction . . . . javaROOT . Trees
. . . . . . Introduction Features Histograms Trees Example (a) ROOT (b) JAS3 M. Lynch, M. Stanitzki, J. Strube javaROOT . Example
. . . . . . Introduction Features Available to download from https://heplnm061.pp.rl.ac.uk/repos/javaROOT/trunk M. Lynch, M. Stanitzki, J. Strube javaROOT
Recommend
More recommend