rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.0
Rivet::FillCollector< YODA::BinnedDbn< 2, AxisT1, AxisT2 > > Class Template Reference

FillCollector specialisation for Histo2D. More...

#include <RivetYODA.hh>

Inheritance diagram for Rivet::FillCollector< YODA::BinnedDbn< 2, AxisT1, AxisT2 > >:

Public Types

using YAO = YODA::BinnedDbn< 2, AxisT1, AxisT2 >
 
using Ptr = shared_ptr< FillCollector< YAO > >
 

Public Member Functions

 FillCollector (typename YAO::Ptr yao)
 Constructor.
 
int fill (typename YAO::FillType &&fillCoords, const double weight=1.0, const double fraction=1.0)
 
int fill (const AxisT1 x, const AxisT2 y, const double weight=1.0, const double fraction=1.0)
 
void reset () noexcept
 Empty the subevent stack (for start of new event group).
 
const Fills< YAO > & fills () const
 Access the fill info subevent stack.
 

Detailed Description

template<typename AxisT1, typename AxisT2>
class Rivet::FillCollector< YODA::BinnedDbn< 2, AxisT1, AxisT2 > >

FillCollector specialisation for Histo2D.

Member Function Documentation

◆ fill()

template<typename AxisT1 , typename AxisT2 >
int Rivet::FillCollector< YODA::BinnedDbn< 2, AxisT1, AxisT2 > >::fill ( typename YAO::FillType &&  fillCoords,
const double  weight = 1.0,
const double  fraction = 1.0 
)
inline

Overloaded fill method, which stores Fill info until Multiplexer<T>::collapseEventGroup() is called.

Todo:
Do we need to deal with users using fractions directly?

The documentation for this class was generated from the following file:
  • /Users/chrisg/software/rivet/include/Rivet/Tools/RivetYODA.hh