rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.0
Rivet::FillCollector< YODA::Counter > Class Reference

FillCollector specialisation for Counter. More...

#include <RivetYODA.hh>

Inheritance diagram for Rivet::FillCollector< YODA::Counter >:

Public Types

using YAO = YODA::Counter
 
using Ptr = shared_ptr< FillCollector< YAO > >
 

Public Member Functions

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

Detailed Description

FillCollector specialisation for Counter.

Constructor & Destructor Documentation

◆ FillCollector()

Rivet::FillCollector< YODA::Counter >::FillCollector ( typename YAO::Ptr  yao)
inline

Constructor

The Counter isn't actually needed here: We call the YAO nullary constructor for performance reasons but still require the pointer argument to harmonise the FillCollector constructors.

Member Function Documentation

◆ fill()

int Rivet::FillCollector< YODA::Counter >::fill ( 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