Skip to content

will-cern/TRooFit-binder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Click the badge to launch an interactive Jupyter session (with Python and C++ Kernels):

Binder

TRooFit is a collection of pdf classes for RooFit, that are designed to behave like objects from ROOT. For example, TRooFit introduces:

- TRooH1D : A pdf (inherits from RooAbsPdf) that you can fill and draw like a TH1D. The value of this object is a DENSITY.
- TRooHF1D : A function (inherits from RooAbsReal). The value of this object is a VALUE.
- TRooHStack : A sum of TRooH1D (or any other RooAbsReal) ... think of it as a stack of histograms
- TRooHPdfStack : Like a TRooHStack but only accepts (extended) pdfs, and ensures each is normalized individually in the summation, i.e. pdfValue = Sum(i) coef_i*pdfValue_i, where coef_i is the fraction of total expected events of that pdf. The coef_i are automatically recomputed 

Setup (CMake)

Setup any release that has ROOT, e.g. AthAnalysis, and then use acm to clone this package and compile it (here we checkout the version called TRooFit-ABCD-0.1.0)

mkdir build source
cd build
acmSetup AthAnalysis,21.2,latest
acm clone_project TRooFit will/TRooFit TRooFit-ABCD-0.1.0
acm compile
To checkout the master, just omit the last argument in the clone_project command.

Examples

So far, try to look at the macros provided in the demo dir

The documentation for the latest version of TRooFit is also available at: http://will.web.cern.ch/will/TRooFit/

About

binder project for TRooFit project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published