ROOTaaS
A tool to integrate the iPython notebooks, ROOT and jsROOT
Install / Use
/learn @dpiparo/ROOTaaSREADME
ROOTaaS
A tool to integrate the iPython notebooks, ROOT and jsROOT. This tool is an add-on to pyROOT and is still in the prototype phase.
Set the server up
- Get ROOT6, set it up.
- Get iPython, at least version 3.
- Clone the repository
- Type "ipython notebook"
Example usage
from ROOTaaS.iPyROOT import ROOT
h = ROOT.TH1F("h","iPython Histo;X;Y",64,-4,4)
h.FillRandom("gaus")
h.Draw()
Magics and interaction with C++
- %%cpp for marking a cell for C++
- %%dcl for marking a cell for declaring C++ (e.g. for functions)
- ROOT.toCpp() to move from Python to C++
- toPython() to move from C++ to Python
- .decl for marking a cell for declaring C++ (e.g. for functions) in C++ mode (as %%dcl)
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
