javaroot
play

javaROOT . . . . . . . Features Introduction . . . . - PowerPoint PPT Presentation

. . 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.


  1. . . 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

  2. . Introduction M. Lynch, M. Stanitzki, J. Strube Example Trees Histograms Features 2 .. . javaROOT 1 . .. . Features Introduction . . . . javaROOT . Outline

  3. . 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

  4. . 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

  5. . 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

  6. . 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

  7. . 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

  8. . 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

  9. . 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

  10. . 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

  11. . 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

  12. . 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

  13. . . 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

  14. . . 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

  15. . . 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

  16. . . 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

  17. . 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

  18. . . . . . . Introduction Features Histograms Trees Example (a) ROOT (b) JAS3 M. Lynch, M. Stanitzki, J. Strube javaROOT . Example

  19. . . . . . . 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