|
MINT2
|
#include <HadronicParameters.h>
Classes | |
| class | Bin |
| Hadronic parameters in a bin of phase space. More... | |
| class | EventBinInfo |
| Info on the bin of an Event - output of IPhaseBin::binInfo. Caches as much as possible for efficiency. More... | |
| class | ModelBinning3Body |
| Phase binning class for 3-body decays using the line s13=s23 to determine favoured/suppressed. More... | |
| class | ModelPhaseBinning |
| Class for determining if an event lives in a +ve or -ve bin. More... | |
| class | PhaseBinningBase |
| Interface class for determining which bin an event lives in. More... | |
Public Types | |
| typedef MINT::counted_ptr< FitAmpSum > | ModelPtr |
| typedef std::deque< Bin > | Bins |
| A set of bins. More... | |
| typedef MINT::counted_ptr< PhaseBinningBase > | BinningPtr |
| Pointer to the binning scheme. More... | |
Public Member Functions | |
| HadronicParameters (const Bins &, BinningPtr) | |
| Initialise from a predetermined set of bins. More... | |
| HadronicParameters (BinningPtr) | |
| Initialise from a binning scheme. More... | |
| HadronicParameters (const std::string &, const std::string &fname="") | |
| Initialise from a config file. More... | |
| const PhaseBinningBase & | binning () const |
| Get the binning scheme. More... | |
| HadronicParameters::BinningPtr | binningPtr () const |
| Get a pointer to the binning scheme. More... | |
| const Bin & | bin (IDalitzEvent &) const |
| Get the bin for a DalitzEvent. More... | |
| const Bin & | bin (unsigned) const |
| Get a bin by number. More... | |
| void | add (IDalitzEvent &, double weight=1.) |
| Add a DalitzEvent. More... | |
| void | add (const DalitzEventPattern &, TRandom3 &, unsigned) |
| Add a number of DalitzEvents generated from flat phase space. More... | |
| void | add (const DalitzEventPattern &, TRandom3 &) |
| Add a DalitzEvent generated from flat phase space. More... | |
| std::pair< double, double > | integral () const |
| Get the integral over phase space. More... | |
| std::pair< double, double > | normalise (double norm=1., double normBar=1.) |
| Normalise the parameters. More... | |
| void | Print (const std::string &, std::ostream &os=std::cout) const |
| Print the parameters. More... | |
| void | write (const std::string &, const std::string &) const |
| Write to a file. More... | |
Static Public Member Functions | |
| static BinningPtr | getPhaseBinning (const std::string &, const std::string &fname="") |
| Get the PhaseBinning type. More... | |
Private Attributes | |
| Bins | m_bins |
| BinningPtr | m_phaseBinning |
Class describing the hadronic parameters in bins of phase difference.
Definition at line 16 of file HadronicParameters.h.
Pointer to the binning scheme.
Definition at line 155 of file HadronicParameters.h.
| typedef std::deque<Bin> HadronicParameters::Bins |
A set of bins.
Definition at line 153 of file HadronicParameters.h.
Definition at line 18 of file HadronicParameters.h.
| HadronicParameters::HadronicParameters | ( | const Bins & | bins, |
| BinningPtr | phaseBinning | ||
| ) |
| HadronicParameters::HadronicParameters | ( | BinningPtr | phaseBinning | ) |
Initialise from a binning scheme.
Definition at line 341 of file HadronicParameters.cpp.
| HadronicParameters::HadronicParameters | ( | const std::string & | , |
| const std::string & | fname = "" |
||
| ) |
Initialise from a config file.
| void HadronicParameters::add | ( | IDalitzEvent & | evt, |
| double | weight = 1. |
||
| ) |
Add a DalitzEvent.
Definition at line 363 of file HadronicParameters.cpp.
| void HadronicParameters::add | ( | const DalitzEventPattern & | pat, |
| TRandom3 & | rndm, | ||
| unsigned | nevt | ||
| ) |
Add a number of DalitzEvents generated from flat phase space.
Definition at line 374 of file HadronicParameters.cpp.
| void HadronicParameters::add | ( | const DalitzEventPattern & | pat, |
| TRandom3 & | rndm | ||
| ) |
Add a DalitzEvent generated from flat phase space.
Definition at line 379 of file HadronicParameters.cpp.
| const HadronicParameters::Bin & HadronicParameters::bin | ( | IDalitzEvent & | evt | ) | const |
Get the bin for a DalitzEvent.
Definition at line 354 of file HadronicParameters.cpp.
| const HadronicParameters::Bin & HadronicParameters::bin | ( | unsigned | i | ) | const |
| const HadronicParameters::PhaseBinningBase & HadronicParameters::binning | ( | ) | const |
| HadronicParameters::BinningPtr HadronicParameters::binningPtr | ( | ) | const |
|
static |
Get the PhaseBinning type.
Definition at line 426 of file HadronicParameters.cpp.
| pair< double, double > HadronicParameters::integral | ( | ) | const |
Get the integral over phase space.
Definition at line 384 of file HadronicParameters.cpp.
| pair< double, double > HadronicParameters::normalise | ( | double | norm = 1., |
| double | normBar = 1. |
||
| ) |
Normalise the parameters.
Definition at line 394 of file HadronicParameters.cpp.
| void HadronicParameters::Print | ( | const std::string & | , |
| std::ostream & | os = std::cout |
||
| ) | const |
Print the parameters.
Definition at line 409 of file HadronicParameters.cpp.
| void HadronicParameters::write | ( | const std::string & | , |
| const std::string & | |||
| ) | const |
Write to a file.
Definition at line 418 of file HadronicParameters.cpp.
|
private |
Definition at line 195 of file HadronicParameters.h.
|
private |
Definition at line 196 of file HadronicParameters.h.
1.8.15