<!DOCTYPE html>
<html lang="en">
<head>

   <meta charset="UTF-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">

   <title>Reading geometry and tracks from the ROOT file</title>

   <script src="../scripts/JSRootCore.js" type="text/javascript"></script>

   <script type='text/javascript'>
     // absolute file path can be used as well
     var geom_file = "../../files/geom/evegeoshape.json.gz",
         tracks_file = "../../files/geom/eve_tracks.root";
     
     JSROOT.NewHttpRequest(geom_file, 'object', function(obj) {
        JSROOT.draw("drawing", obj);
     }).send();
     
   </script>

</head>

<body>
  <div id="drawing" style="width:800px; height:600px"></div>
</body>

</html>


Introduce demo with geometry drawing with tracks
Introduce demo with geometry drawing with tracks