hej is hosted by Hepforge, IPPP Durham
HEJ 2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
HEJ::CrossSectionAccumulator Class Reference

Sum of Cross Section for different subproccess. More...

#include <CrossSectionAccumulator.hh>

Public Member Functions

void fill (Event const &ev)
 
void fill (double wt, event_type::EventType type)
 
void fill (double wt, double err, event_type::EventType type)
 
void fill_correlated (std::vector< Event > const &evts)
 Fill with multiple correlated weights. More...
 
template<class ConstIt >
void fill_correlated (ConstIt begin, ConstIt end)
 iterator implementation of fill_correlated() More...
 
void fill_correlated (double sum, double sum2, event_type::EventType type)
 explicit version of fill_correlated() by giving sum(wt) and sum(wt^2) More...
 
auto begin () const
 begin of Cross Section and error for subprocesses More...
 
auto end () const
 end of Cross Section and error for subprocesses More...
 
XSWithError< double > const & total () const
 total Cross Section and error More...
 
XSWithError< double > const & at (event_type::EventType type) const
 Cross Section and error of specific type. More...
 
XSWithError< double > const & operator[] (event_type::EventType type) const
 Cross Section and error of specific type. More...
 
void scale (double xsscale)
 

Detailed Description

Sum of Cross Section for different subproccess.

Member Function Documentation

◆ at()

XSWithError< double > const & HEJ::CrossSectionAccumulator::at ( event_type::EventType  type) const
inline

Cross Section and error of specific type.

◆ begin()

auto HEJ::CrossSectionAccumulator::begin ( ) const
inline

begin of Cross Section and error for subprocesses

◆ end()

auto HEJ::CrossSectionAccumulator::end ( ) const
inline

end of Cross Section and error for subprocesses

◆ fill() [1/3]

void HEJ::CrossSectionAccumulator::fill ( double  wt,
double  err,
event_type::EventType  type 
)

Fill by weight, error and type

Note
The error will be added to the current error

◆ fill() [2/3]

void HEJ::CrossSectionAccumulator::fill ( double  wt,
event_type::EventType  type 
)

Fill by weight and type

Note
for multiple resummation events use fill_correlated() instead

◆ fill() [3/3]

void HEJ::CrossSectionAccumulator::fill ( Event const &  ev)

Fill with single event

Note
for multiple resummation events use fill_correlated() instead

◆ fill_correlated() [1/3]

template<class ConstIt >
void HEJ::CrossSectionAccumulator::fill_correlated ( ConstIt  begin,
ConstIt  end 
)

iterator implementation of fill_correlated()

◆ fill_correlated() [2/3]

void HEJ::CrossSectionAccumulator::fill_correlated ( double  sum,
double  sum2,
event_type::EventType  type 
)

explicit version of fill_correlated() by giving sum(wt) and sum(wt^2)

◆ fill_correlated() [3/3]

void HEJ::CrossSectionAccumulator::fill_correlated ( std::vector< Event > const &  evts)

Fill with multiple correlated weights.

This should be used to fill multiple reweighted events, coming from the same fixed order point. Total error for \(N\) fixed order points each giving \(M_i\) resummation events is:

\[ \delta^2=\sum_i \left(\sum_j w_{i,j}\right)^2 +\sum_{i,j} \left(w_{i,j}\right)^2, \]

Note
This is equivalent to fill() for only one reweighted event coming from each fixed order point ( \(M_i=1\))

◆ operator[]()

XSWithError< double > const & HEJ::CrossSectionAccumulator::operator[] ( event_type::EventType  type) const
inline

Cross Section and error of specific type.

◆ scale()

void HEJ::CrossSectionAccumulator::scale ( double  xsscale)

◆ total()

XSWithError< double > const & HEJ::CrossSectionAccumulator::total ( ) const
inline

total Cross Section and error


The documentation for this class was generated from the following file: