Fork me on GitHub

Version 1 (modified by Christophe Delaere, 11 years ago) ( diff )

--

Delphes comes with all the ExRootAnalysis framework/facilities. It is powerful and very practical. Written in C++, it has all the nice (fast) and bad (heavy) aspects of that language. On the contrary, Python is an interpreted scripting language that allows for a fast development cycle. It is therefore (becoming) the preferred language for high-level applications.

  • Introspection makes the code easy to extend
  • Run-time type evaluation removes the need for templates

DelphesAnalysis is an analysis framework written in python where a clear separation is maintained between the standard code and what the user has to implement. This makes it easy to apprehend and generic, still retaining full flexibility and scalability. The framework is built out of:

  • AnalysisEvent class: interface to the ROOT tree + many more
  • Base ControlPlots class: interface to create plots
  • Base EventSelection class: interface to code cuts/categories

The AnalysisEvent class

The ControlPlots class and its subclasses

The Event selection

Implementing an analysis

Examples

Note: See TracWiki for help on using the wiki.