ant
A2 ant: class-based analysis framework
ant::analysis::plot::cuttree Namespace Reference

Please see classes implementing the Plotter interface how to use cuttree, for example TriggerSimulation_plot in tunings/TriggerSimulation.cc. More...

Classes

struct  Cut_t
 
struct  Node_t
 
struct  StackedHists_t
 
struct  TreeInfo_t
 

Typedefs

template<typename Fill_t >
using MultiCut_t = std::vector< Cut_t< Fill_t > >
 
template<typename Fill_t >
using Cuts_t = std::list< MultiCut_t< Fill_t > >
 
template<typename Hist_t >
using CutsIterator_t = typename Cuts_t< typename Hist_t::Fill_t >::const_iterator
 
template<typename Hist_t >
using Tree_t = typename Tree< Node_t< Hist_t > >::node_t
 

Functions

template<typename ToFill_t , typename FromFill_t >
Cuts_t< ToFill_t > ConvertCuts (const Cuts_t< FromFill_t > &from_cuts)
 
template<typename Hist_t >
void Build (Tree_t< Hist_t > cuttree, CutsIterator_t< Hist_t > first, CutsIterator_t< Hist_t > last, std::size_t &level)
 
template<typename Hist_t , typename Fill_t = typename Hist_t::Fill_t>
Tree_t< Hist_tMake (HistogramFactory histFac, const Cuts_t< Fill_t > &cuts=Hist_t::GetCuts())
 
template<typename Hist_t , typename Fill_t = typename Hist_t::Fill_t>
void Fill (Tree_t< Hist_t > cuttree, const Fill_t &f)
 

Detailed Description

Please see classes implementing the Plotter interface how to use cuttree, for example TriggerSimulation_plot in tunings/TriggerSimulation.cc.

Typedef Documentation

◆ Cuts_t

template<typename Fill_t >
using ant::analysis::plot::cuttree::Cuts_t = typedef std::list<MultiCut_t<Fill_t> >

◆ CutsIterator_t

template<typename Hist_t >
using ant::analysis::plot::cuttree::CutsIterator_t = typedef typename Cuts_t<typename Hist_t::Fill_t>::const_iterator

◆ MultiCut_t

template<typename Fill_t >
using ant::analysis::plot::cuttree::MultiCut_t = typedef std::vector<Cut_t<Fill_t> >

◆ Tree_t

template<typename Hist_t >
using ant::analysis::plot::cuttree::Tree_t = typedef typename Tree<Node_t<Hist_t> >::node_t

Function Documentation

◆ Build()

template<typename Hist_t >
void ant::analysis::plot::cuttree::Build ( Tree_t< Hist_t cuttree,
CutsIterator_t< Hist_t first,
CutsIterator_t< Hist_t last,
std::size_t &  level 
)

◆ ConvertCuts()

template<typename ToFill_t , typename FromFill_t >
Cuts_t<ToFill_t> ant::analysis::plot::cuttree::ConvertCuts ( const Cuts_t< FromFill_t > &  from_cuts)

◆ Fill()

template<typename Hist_t , typename Fill_t = typename Hist_t::Fill_t>
void ant::analysis::plot::cuttree::Fill ( Tree_t< Hist_t cuttree,
const Fill_t &  f 
)

◆ Make()

template<typename Hist_t , typename Fill_t = typename Hist_t::Fill_t>
Tree_t<Hist_t> ant::analysis::plot::cuttree::Make ( HistogramFactory  histFac,
const Cuts_t< Fill_t > &  cuts = Hist_t::GetCuts() 
)