Skip to content

czczc/wbls-bee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bee Visualization for WbLS

Prepare the data

cd scripts/
root -b -q loadClasses.C 'run.C("/path/to/ratfile.root", eventNo)'

This will create a new directory data/ under the scripts/ directory with the following structure:

data/
├── 0
│   ├── 0-Attenuation.json
│   ├── 0-Cerenkov.json
│   ├── 0-G4FastSimulationManagerProcess.json
│   └── 0-Transportation.json
├── 1
│   ├── 1-Attenuation.json
│   ├── 1-Cerenkov.json
│   ├── 1-G4FastSimulationManagerProcess.json
│   └── 1-Transportation.json
...

Any existing files there will be replaced by the new ones, so make sure that you intend to do that.

After you verify all files are produced correctly, move the whole data/ directory up one level so that the data directory is at the same level as js/ and scripts/. Backup any old data, if any, beforehand.

View the data

python -m SimpleHTTPServer

Then open a web browser and go to http://localhost:8000/

Depending on how many events are under the data/ directory, you may want to change the MAX_EVENTS accordingly at the top of the file js/wbls.js. The event numbers must start from 0 and increase continuously.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published