Rivet API documentation
![]() |
Rivet 4.1.3
|
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()
|
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()
|
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:
- /builds/hepcedar/rivet/include/Rivet/Tools/RivetYODA.hh
Generated on for Rivet by
