ComPWA
Common Partial-Wave-Analysis Framework
|
#include <EvtGenIF.hpp>
Public Member Functions | |
EvtGenIF () | |
EvtGenIF (double mA, double mB, double mC, double bigM, double ldel=0., double rdel=0.) | |
void | addResonance (const std::string &name, double m0, double g0, double spin, const ComPWA::Physics::SubSystem &subsys) |
Add EvtGen Dalitz Resonance. More... | |
void | addHeliResonance (const boost::property_tree::ptree &pt, const ComPWA::ParticleList &partL) |
Add EvtGen Dalitz Resonance. More... | |
void | addResonances (const boost::property_tree::ptree &pt, std::shared_ptr< DalitzKinematics > kin, const ComPWA::ParticleList &partL) |
Add EvtGen Dalitz Resonances from XML model. More... | |
std::vector< double > | evaluate (const ComPWA::DataMap &data) noexcept |
void | updateParametersFrom (const std::vector< double > &Parameters) final |
It is important to input the vector in the same length and order as defined in the getParameters() method. More... | |
std::vector< ComPWA::Parameter > | getParameters () const final |
virtual void | setPhspSample (std::shared_ptr< ComPWA::Data::DataSet > phspSample, std::shared_ptr< ComPWA::Data::DataSet > toySample) |
Set phase space sample. More... | |
virtual void | setPhspVolume (double vol) |
Public Member Functions inherited from ComPWA::Function< OutputType, InputTypes > | |
virtual | ~Function ()=default |
virtual OutputType | evaluate (const InputTypes &... args) noexcept=0 |
Private Attributes | |
std::shared_ptr< ComPWA::Data::DataSet > | PhspSample |
Phase space sample to calculate the normalization and maximum value. More... | |
double | PhspVolume |
std::vector< double > | NormalizationValues |
Caching of normalization values for each intensity. More... | |
std::map< std::string, std::shared_ptr< ComPWA::FunctionTree::FitParameter > > | evtPars |
Temporary storage of the para. More... | |
EvtDalitzPlot | DalitzPlot |
std::vector< EvtDalitzReso > | Resos |
Definition at line 22 of file EvtGenIF.hpp.
|
inline |
Definition at line 25 of file EvtGenIF.hpp.
|
inline |
Definition at line 27 of file EvtGenIF.hpp.
void ComPWA::Physics::EvtGen::EvtGenIF::addHeliResonance | ( | const boost::property_tree::ptree & | pt, |
const ComPWA::ParticleList & | partL | ||
) |
Add EvtGen Dalitz Resonance.
Definition at line 69 of file EvtGenIF.cpp.
void ComPWA::Physics::EvtGen::EvtGenIF::addResonance | ( | const std::string & | name, |
double | m0, | ||
double | g0, | ||
double | spin, | ||
const ComPWA::Physics::SubSystem & | subsys | ||
) |
Add EvtGen Dalitz Resonance.
Definition at line 17 of file EvtGenIF.cpp.
void ComPWA::Physics::EvtGen::EvtGenIF::addResonances | ( | const boost::property_tree::ptree & | pt, |
std::shared_ptr< DalitzKinematics > | kin, | ||
const ComPWA::ParticleList & | partL | ||
) |
Add EvtGen Dalitz Resonances from XML model.
Definition at line 126 of file EvtGenIF.cpp.
|
noexcept |
Definition at line 175 of file EvtGenIF.cpp.
|
finalvirtual |
Implements ComPWA::Function< OutputType, InputTypes >.
Definition at line 212 of file EvtGenIF.cpp.
|
inlinevirtual |
Set phase space sample.
We use a phase space sample to calculate the normalization and determine the maximum of the amplitude. In case that the efficiency is already applied to the sample set fEff to false.
Definition at line 58 of file EvtGenIF.hpp.
|
inlinevirtual |
Definition at line 63 of file EvtGenIF.hpp.
|
finalvirtual |
It is important to input the vector in the same length and order as defined in the getParameters() method.
So in other words, call getParameters() first, then modify the contents and finally input them in this method.
Implements ComPWA::Function< OutputType, InputTypes >.
Definition at line 203 of file EvtGenIF.cpp.
|
private |
Definition at line 79 of file EvtGenIF.hpp.
|
private |
Temporary storage of the para.
Definition at line 77 of file EvtGenIF.hpp.
|
private |
Caching of normalization values for each intensity.
Definition at line 72 of file EvtGenIF.hpp.
|
private |
Phase space sample to calculate the normalization and maximum value.
Definition at line 63 of file EvtGenIF.hpp.
|
private |
Definition at line 69 of file EvtGenIF.hpp.
|
private |
Definition at line 80 of file EvtGenIF.hpp.