class Gambit::ColliderBit::PID_pair_xsec_container

A class for holding the production cross-section for final state identified by the pair of PID codes.

#include <xsec.hpp>

Inherits from Gambit::ColliderBit::xsec_container

Public Functions

Name
PID_pair_xsec_container()
Constructor.
virtual~PID_pair_xsec_container()
voidreset()
Reset this instance for reuse.
voidaverage_xsec(double other_xsec, double other_xsecerr)
Average cross-sections and combine errors.
voidaverage_xsec(const PID_pair_xsec_container & other)
voidsum_xsecs(double other_xsec, double other_xsecerr)
Sum cross-sections and add errors in quadrature.
voidsum_xsecs(const PID_pair_xsec_container & other)
const PID_pair &pid_pair() const
Return the PID pair.
voidset_pid_pair(const PID_pair & pid_pair_in)
Set the PID pair.
const std::vector< PID_pair > &pid_pairs_sharing_xsec() const
voidregister_pid_pair_sharing_xsec(PID_pair pid_pair_in)
Add a PID pair to the list of PID pairs sharing this cross-section.
const std::vector< int > &related_processes() const
Return the list of process codes related to this cross-section.
voidregister_related_process(int process_code_in)
Add a process code to the list of processes related to this cross-section.

Additional inherited members

Public Functions inherited from Gambit::ColliderBit::xsec_container

Name
xsec_container()
Constructor.
virtual~xsec_container()
doubleoperator()() const
Return the full cross-section (in fb).
doublexsec() const
doublexsec_err() const
Return the cross-section error (in fb).
doublexsec_relerr() const
Return the cross-section relative error.
voidset_xsec(double xs, double xserr)
Set the cross-section and its error (in fb).
std::map< std::string, double >get_content_as_map() const
Get content as map <string,double> map (for easy printing).
voidset_info_string(std::string info_string_in)
Set the info string.
std::stringinfo_string() const
Get the info string.
voidset_trust_level(int trust_level_in)
Set the trust level.
inttrust_level() const
Get the trust level.

Public Attributes inherited from Gambit::ColliderBit::xsec_container

Name
const std::stringunit
String Let’s make it clear that we work with fb as unit.

Protected Attributes inherited from Gambit::ColliderBit::xsec_container

Name
double_xsec
double_xsecerr
std::string_info_string
int_trust_level

Public Functions Documentation

function PID_pair_xsec_container

PID_pair_xsec_container()

Constructor.

Definitions of PID_pair_xsec_container members

function ~PID_pair_xsec_container

inline virtual ~PID_pair_xsec_container()

function reset

void reset()

Reset this instance for reuse.

Public method to reset this instance for reuse, avoiding the need for “new” or “delete”.

function average_xsec

void average_xsec(
    double other_xsec,
    double other_xsecerr
)

Average cross-sections and combine errors.

function average_xsec

void average_xsec(
    const PID_pair_xsec_container & other
)

function sum_xsecs

void sum_xsecs(
    double other_xsec,
    double other_xsecerr
)

Sum cross-sections and add errors in quadrature.

function sum_xsecs

void sum_xsecs(
    const PID_pair_xsec_container & other
)

function pid_pair

const PID_pair & pid_pair() const

Return the PID pair.

function set_pid_pair

void set_pid_pair(
    const PID_pair & pid_pair_in
)

Set the PID pair.

function pid_pairs_sharing_xsec

const std::vector< PID_pair > & pid_pairs_sharing_xsec() const

Return the list of PID pairs that share this cross-section (This is due to the many-to-many mapping between Pythia process codes and the PID pairs we use as basis for external cross-section calculations)

function register_pid_pair_sharing_xsec

void register_pid_pair_sharing_xsec(
    PID_pair pid_pair_in
)

Add a PID pair to the list of PID pairs sharing this cross-section.

const std::vector< int > & related_processes() const

Return the list of process codes related to this cross-section.

void register_related_process(
    int process_code_in
)

Add a process code to the list of processes related to this cross-section.


Updated on 2024-07-18 at 13:53:31 +0000