Rivet::Multiplexer< T > Class Template Reference Type-specific multiplexed YODA analysis object. More...
Inheritance diagram for Rivet::Multiplexer< T >:
Detailed Descriptiontemplate<typename T> class Rivet::Multiplexer< T > Type-specific multiplexed YODA analysis object. Specialisations of this class (to each type of YODA object) are effectively the user-facing types in Rivet analyses, modulo a further wrapping via the MultplexAOPtr (which is a customised std::shared_pointer around the Multiplexer). Multiplexers instantiate one AO for each of the multiweights (x2 for pre- and post-finalize copies). They can expose either FillCollector<T> or T active pointers, for the analyze() and finalize() steps, respectively.
Member Function Documentation◆ active()
template<typename T >
Get the current active analysis object (may be either persistent or final, depending on stage) Referenced by Rivet::Multiplexer< T >::operator*(), Rivet::Multiplexer< T >::operator*(), Rivet::Multiplexer< T >::operator->(), Rivet::Multiplexer< T >::operator->(), and Rivet::Multiplexer< T >::reset(). ◆ activeAO()
template<typename T >
Get the currently active analysis object. Implements Rivet::MultiplexedAO. ◆ basePath()
template<typename T >
Get the AO path of the object, without variation suffix. Implements Rivet::MultiplexedAO. ◆ collapseEventGroup()
template<typename T >
Pushes the (possibly collapsed) fill(s) into the persistent objects.
Implements Rivet::MultiplexedAO. References Rivet::Multiplexer< T >::collapseSubevents(), and Rivet::Multiplexer< T >::initBootstrap(). ◆ collapseSubevents()
template<typename T >
Collapse the set of FillCollectors (i.e. _evgroup) into combined fills of the persistent objects, using fractional fills if there are subevents
Referenced by Rivet::Multiplexer< T >::collapseEventGroup(). ◆ final()
template<typename T >
Get the set of final analysis objects, as used by Analysis::finalize() and written out ◆ initBootstrap()
template<typename T >
Helper method to resize aux vectors to AO size. Implements Rivet::MultiplexedAO. Referenced by Rivet::Multiplexer< T >::collapseEventGroup(). ◆ newSubEvent()
template<typename T >
Create a new FillCollector for the next sub-event. Called every sub-event by AnalysisHandler::analyze() before dispatch to Analysis::analyze(). The fill values will be redistributed over variations by collapseEventGroup(). Implements Rivet::MultiplexedAO. ◆ operator bool()
template<typename T >
Test for object validity.
◆ operator!()
template<typename T >
Test for object invalidity.
◆ operator*()
template<typename T >
Forwarding dereference operator. Implements Rivet::MultiplexedAO. References Rivet::Multiplexer< T >::active(). ◆ operator->() [1/2]
template<typename T >
Forwarding dereference-call operator. Implements Rivet::MultiplexedAO. References Rivet::Multiplexer< T >::active(). ◆ operator->() [2/2]
template<typename T >
Forwarding dereference-call operator. Implements Rivet::MultiplexedAO. References Rivet::Multiplexer< T >::active(). ◆ persistent()
template<typename T >
Get the set of persistent (i.e. after whole event groups) live objects, as used by Analysis::analyze(). ◆ pushToFinal()
template<typename T >
Copy all variations from the "live" persistent set to the final collection used by Analysis::finalize() Implements Rivet::MultiplexedAO. ◆ setActiveFinalWeightIdx()
template<typename T >
Set the active-object pointer to point at a variation in the final set. Implements Rivet::MultiplexedAO. ◆ setActiveWeightIdx()
template<typename T >
Set the active-object pointer to point at a variation in the persistent set. Implements Rivet::MultiplexedAO. ◆ unsetActiveWeight()
template<typename T >
Unset the active-object pointer. Implements Rivet::MultiplexedAO. The documentation for this class was generated from the following file:
Generated on Thu Feb 29 2024 15:46:48 for Rivet by 1.9.8 |