![]() |
AmpGen 2.1
|
An incoherent sum of resonant contributions, where at a positiion in phase-space \(\psi\), the (unnormalised) probability density is given by
\[ \mathcal{P}(\psi) = \sum_{i} \left| g_i \mathcal{A}_i(\psi) \right|^2, \]
where \(\mathcal{P}(\psi)\) is the probability, \(g_i\) is the coupling to an isobar channel, and \(\mathcal{A}_i(\psi)\) is the amplitude of the ith channel. I dont know whats going on?
Definition at line 34 of file IncoherentSum.h.
Public Types | |
using | EventList_type = EventList |
Public Member Functions | |
IncoherentSum (const EventType &eventType, const AmpGen::MinuitParameterSet &mps, const std::string &prefix="Inco") | |
Constructs an incoherentSum from the type of event this is expected to describe, and a set of parameters that are expected to be able to describe it. | |
real_t | prob (const Event &evt) const |
Evaluates the normalised probability for an event. | |
real_t | operator() (const Event &evt) const |
real_v | operator() (const real_v *, const unsigned) const |
real_t | prob_unnormalised (const Event &evt) const |
Calculates the unnormalised probability for an event. | |
real_t | norm () const |
Returns the normalisation for this PDF, given by. | |
complex_t | norm (const size_t &i, const size_t &j) |
complex_t | norm (const size_t &i) |
real_t | norm (const Bilinears &norms) const |
std::vector< FitFraction > | fitFractions (const LinearErrorPropagator &linProp) |
real_t | prob_unnormalisedNoCache (const Event &evt) const |
void | debug (const Event &evt, const std::string &nameMustContain="") |
std::function< real_t(const Event &)> | evaluator (const EventList_type *=nullptr) const |
KeyedFunctors< double(Event)> | componentEvaluator (const EventList_type *=nullptr) const |
std::string | prefix () const |
auto & | operator[] (const size_t &index) |
auto & | operator[] (const size_t &index) const |
size_t | size () const |
real_t | getWeight () const |
complex_t | norm (const size_t &x, const size_t &y) const |
real_t | getNorm (const Bilinears &normalisations) |
complex_t | getVal (const Event &evt) const |
complex_t | getValNoCache (const Event &evt) const |
void | transferParameters () |
void | prepare () |
void | printVal (const Event &evt) |
void | updateNorms () |
void | setWeight (MinuitProxy param) |
void | makeTotalExpression () |
void | reset (bool resetEvents=false) |
void | setEvents (const EventList_type &list) |
void | setMC (const EventList_type &sim) |
void | generateSourceCode (const std::string &fname, const double &normalisation=1, bool add_mt=false) |
auto | matrixElements () const |
std::map< std::string, std::vector< unsigned int > > | getGroupedAmplitudes () |
Bilinears | norms () const |
std::function< complex_t(const Event &)> | amplitudeEvaluator (const EventList_type *=nullptr) const |
EventType | eventType () const |
const auto & | cache () const |
Protected Member Functions | |
void | addMatrixElement (std::pair< Particle, TotalCoupling > &particleWithCoupling, const MinuitParameterSet &mps) |
Protected Attributes | |
std::vector< MatrixElement > | m_matrixElements |
Vector of matrix elements. | |
Bilinears | m_normalisations |
Normalisation integrals. | |
Integrator | m_integrator |
Tool to calculate integrals. | |
const EventList_type * | m_events = {nullptr} |
Data events to evaluate PDF on. | |
FunctionCache< EventList_type, complex_v, Alignment::AoS > | m_cache |
Store of intermediate values for the PDF calculation. | |
bool | m_ownEvents = {false} |
Flag as to whether events are owned by this PDF or not. | |
EventType | m_eventType |
Final state for this amplitude. | |
size_t | m_prepareCalls = {0} |
Number of times prepare has been called. | |
size_t | m_lastPrint = {0} |
Last time verbose PDF info was printed. | |
size_t | m_printFreq = {0} |
Frequency to print verbose PDF info. | |
MinuitProxy | m_weight = {nullptr, 1} |
Weight (i.e. the normalised yield) | |
double | m_norm = {1} |
Normalisation integral. | |
bool | m_isConstant = {false} |
Flag for a constant PDF. | |
bool | m_dbThis = {false} |
Flag to generate amplitude level debugging. | |
bool | m_verbosity = {false} |
Flag for verbose printing. | |
std::string | m_objCache = {""} |
Directory that contains (cached) amplitude objects. | |
std::string | m_prefix = {""} |
Prefix for matrix elements. | |
const MinuitParameterSet * | m_mps = {nullptr} |
|
inherited |
Definition at line 50 of file CoherentSum.h.
AmpGen::IncoherentSum::IncoherentSum | ( | const EventType & | eventType, |
const AmpGen::MinuitParameterSet & | mps, | ||
const std::string & | prefix = "Inco" ) |
eventType | The type of event that this PDF should describe |
mps | The parameter set of couplings, masses, etc. |
prefix | Prefix required for the `‘head’' decays for this event type. |
|
protectedinherited |
|
inherited |
|
inlineinherited |
Definition at line 105 of file CoherentSum.h.
KeyedFunctors< double(Event)> AmpGen::IncoherentSum::componentEvaluator | ( | const EventList_type * | = nullptr | ) | const |
void AmpGen::IncoherentSum::debug | ( | const Event & | evt, |
const std::string & | nameMustContain = "" ) |
std::function< real_t(const Event &)> AmpGen::IncoherentSum::evaluator | ( | const EventList_type * | = nullptr | ) | const |
|
inlineinherited |
Definition at line 104 of file CoherentSum.h.
std::vector< FitFraction > AmpGen::IncoherentSum::fitFractions | ( | const LinearErrorPropagator & | linProp | ) |
|
inherited |
|
inherited |
|
inlineinherited |
Definition at line 61 of file CoherentSum.h.
|
inherited |
|
inlineinherited |
Definition at line 96 of file CoherentSum.h.
|
inherited |
real_t AmpGen::IncoherentSum::norm | ( | ) | const |
\[ \mathcal{N} = \int d\psi \varepsilon(\psi) \mathcal{P}(\psi) \approx \sum_i \frac{\mathcal{P}(\psi_i)}{\mathcal{P}^\prime(\psi_i)} \]
where the sum is over a simulated sample, generated with PDF \(\mathcal{P}^\prime(\psi)\).
|
inline |
Definition at line 62 of file IncoherentSum.h.
|
inline |
Definition at line 61 of file IncoherentSum.h.
|
inlineinherited |
Definition at line 99 of file CoherentSum.h.
Definition at line 46 of file IncoherentSum.h.
|
inlineinherited |
Definition at line 58 of file CoherentSum.h.
|
inlineinherited |
Definition at line 59 of file CoherentSum.h.
|
inlineinherited |
Definition at line 56 of file CoherentSum.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
Definition at line 74 of file CoherentSum.h.
|
inlineinherited |
Definition at line 60 of file CoherentSum.h.
|
inherited |
|
inherited |
|
protectedinherited |
Definition at line 112 of file CoherentSum.h.
|
protectedinherited |
Definition at line 122 of file CoherentSum.h.
|
protectedinherited |
Definition at line 111 of file CoherentSum.h.
|
protectedinherited |
Definition at line 115 of file CoherentSum.h.
|
protectedinherited |
Definition at line 110 of file CoherentSum.h.
|
protectedinherited |
Definition at line 121 of file CoherentSum.h.
|
protectedinherited |
Definition at line 117 of file CoherentSum.h.
|
protectedinherited |
Definition at line 107 of file CoherentSum.h.
|
protectedinherited |
Definition at line 126 of file CoherentSum.h.
|
protectedinherited |
Definition at line 120 of file CoherentSum.h.
|
protectedinherited |
Definition at line 108 of file CoherentSum.h.
|
protectedinherited |
Definition at line 124 of file CoherentSum.h.
|
protectedinherited |
Definition at line 114 of file CoherentSum.h.
|
protectedinherited |
Definition at line 125 of file CoherentSum.h.
|
protectedinherited |
Definition at line 116 of file CoherentSum.h.
|
protectedinherited |
Definition at line 118 of file CoherentSum.h.
|
protectedinherited |
Definition at line 123 of file CoherentSum.h.
|
protectedinherited |
Definition at line 119 of file CoherentSum.h.