Gambit::ColliderBit::EventCounter Class Reference A simple class for counting events of type HEPUtils::Event. More...
Collaboration diagram for Gambit::ColliderBit::EventCounter:
![]()
Detailed DescriptionA simple class for counting events of type HEPUtils::Event. Definition at line 26 of file EventCounter.hpp. Constructor & Destructor Documentation◆ EventCounter() [1/2]
Definition at line 39 of file EventCounter.hpp. double _weight_sum_err Definition: EventCounter.hpp:34 ◆ EventCounter() [2/2]
Definition at line 46 of file EventCounter.hpp. double _weight_sum_err Definition: EventCounter.hpp:34 Member Function Documentation◆ add_event() [1/3]Definition at line 92 of file EventCounter.hpp. Referenced by add_event(), and operator+=(). double _weight_sum_err Definition: EventCounter.hpp:34
Here is the caller graph for this function:
![]() ◆ add_event() [2/3]
Definition at line 100 of file EventCounter.hpp. References add_event(). void add_event(double w=1.0, double werr=0.0) Definition: EventCounter.hpp:92
Here is the call graph for this function:
![]() ◆ add_event() [3/3]
Definition at line 105 of file EventCounter.hpp. References add_event(). void add_event(double w=1.0, double werr=0.0) Definition: EventCounter.hpp:92
Here is the call graph for this function:
![]() ◆ combine()
Definition at line 127 of file EventCounter.hpp. References sum(), weight_sum(), and weight_sum_err(). 133 _weight_sum_err = sqrt((_weight_sum_err * _weight_sum_err) + (other_weight_sum_err * other_weight_sum_err)); double _weight_sum_err Definition: EventCounter.hpp:34
Here is the call graph for this function:
![]() ◆ init()
Definition at line 55 of file EventCounter.hpp. References name(). double _weight_sum_err Definition: EventCounter.hpp:34
Here is the call graph for this function:
![]() ◆ name()
Definition at line 74 of file EventCounter.hpp. References _name. Referenced by init(), and set_name().
Here is the caller graph for this function:
![]() ◆ operator+=() [1/2]
Definition at line 111 of file EventCounter.hpp. References add_event(). void add_event(double w=1.0, double werr=0.0) Definition: EventCounter.hpp:92
Here is the call graph for this function:
![]() ◆ operator+=() [2/2]
Definition at line 118 of file EventCounter.hpp. References sum(), weight_sum(), and weight_sum_err(). 122 _weight_sum_err = sqrt( (_weight_sum_err * _weight_sum_err) + (rhs.weight_sum_err() * rhs.weight_sum_err()) ); double _weight_sum_err Definition: EventCounter.hpp:34
Here is the call graph for this function:
![]() ◆ reset()
Definition at line 64 of file EventCounter.hpp. double _weight_sum_err Definition: EventCounter.hpp:34 ◆ set_name()
Definition at line 72 of file EventCounter.hpp. References name().
Here is the call graph for this function:
![]() ◆ set_sum()Definition at line 77 of file EventCounter.hpp. References sum().
Here is the call graph for this function:
![]() ◆ set_weight_sum()Definition at line 82 of file EventCounter.hpp. References weight_sum(). double weight_sum() const Definition: EventCounter.hpp:84
Here is the call graph for this function:
![]() ◆ set_weight_sum_err()Definition at line 87 of file EventCounter.hpp. References weight_sum_err(). double _weight_sum_err Definition: EventCounter.hpp:34 double weight_sum_err() const Definition: EventCounter.hpp:89
Here is the call graph for this function:
![]() ◆ sum()
Definition at line 79 of file EventCounter.hpp. References _sum. Referenced by combine(), operator+=(), and set_sum().
Here is the caller graph for this function:
![]() ◆ weight_sum()
Definition at line 84 of file EventCounter.hpp. References _weight_sum. Referenced by combine(), operator+=(), and set_weight_sum().
Here is the caller graph for this function:
![]() ◆ weight_sum_err()
Definition at line 89 of file EventCounter.hpp. References _weight_sum_err. Referenced by combine(), operator+=(), and set_weight_sum_err(). double _weight_sum_err Definition: EventCounter.hpp:34
Here is the caller graph for this function:
![]() Member Data Documentation◆ _name
Definition at line 31 of file EventCounter.hpp. Referenced by name(). ◆ _sum
Definition at line 32 of file EventCounter.hpp. Referenced by sum(). ◆ _weight_sum
Definition at line 33 of file EventCounter.hpp. Referenced by weight_sum(). ◆ _weight_sum_err
Definition at line 34 of file EventCounter.hpp. Referenced by weight_sum_err(). The documentation for this class was generated from the following file:
|