Changeset View
Changeset View
Standalone View
Standalone View
inc/LauKMatrixProdPole.hh
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | LauKMatrixProdPole( const TString& poleName, Int_t poleIndex, Int_t resPairAmpInt, | ||||
Bool_t useProdAdler = kFALSE); | Bool_t useProdAdler = kFALSE); | ||||
//! Destructor | //! Destructor | ||||
virtual ~LauKMatrixProdPole(); | virtual ~LauKMatrixProdPole(); | ||||
// Initialise the model | // Initialise the model | ||||
virtual void initialise() {return;} | virtual void initialise() {return;} | ||||
//! The amplitude calculation | |||||
/*! | |||||
\param [in] kinematics the kinematic variables of the current event | |||||
\return the complex amplitude | |||||
*/ | |||||
virtual LauComplex amplitude(const LauKinematics* kinematics); | |||||
//! Get the resonance model type | //! Get the resonance model type | ||||
/*! | /*! | ||||
\return the resonance model type | \return the resonance model type | ||||
*/ | */ | ||||
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const {return LauAbsResonance::KMatrix;} | virtual LauAbsResonance::LauResonanceModel getResonanceModel() const {return LauAbsResonance::KMatrix;} | ||||
//! Retrieve the resonance parameters, e.g. so that they can be loaded into a fit | //! Retrieve the resonance parameters, e.g. so that they can be loaded into a fit | ||||
/*! | /*! | ||||
\return floating parameters of the resonance | \return floating parameters of the resonance | ||||
*/ | */ | ||||
virtual const std::vector<LauParameter*>& getFloatingParameters(); | virtual const std::vector<LauParameter*>& getFloatingParameters(); | ||||
tlatham: The Doxygen for `getFloatingParameters()` needs to be restored. | |||||
protected: | protected: | ||||
//! Function not meant to be called, amplitude is called directly in this case | //! The amplitude calculation | ||||
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm); | /*! | ||||
\param [in] mass the invariant-mass for the channel | |||||
\param [in] spinTerm the spin-term for the final channel | |||||
\return the complex amplitude | |||||
*/ | |||||
virtual LauComplex resAmp(const Double_t mass, const Double_t spinTerm); | |||||
Done Inline ActionsThe first argument here is the mass not the mass squared. tlatham: The first argument here is the mass not the mass squared. | |||||
Done Inline ActionsYuk. This was correct in the implementation. Is there no compile-time check that parameter names in the declared function match those of the implementation? johndan: Yuk. This was correct in the implementation. Is there no compile-time check that parameter… | |||||
Done Inline ActionsNo, only the types are checked by the compiler tlatham: No, only the types are checked by the compiler | |||||
private: | private: | ||||
//! Copy constructor (not implemented) | //! Copy constructor (not implemented) | ||||
LauKMatrixProdPole(const LauKMatrixProdPole& rhs); | LauKMatrixProdPole(const LauKMatrixProdPole& rhs); | ||||
//! Copy assignment operator (not implemented) | //! Copy assignment operator (not implemented) | ||||
LauKMatrixProdPole& operator=(const LauKMatrixProdPole& rhs); | LauKMatrixProdPole& operator=(const LauKMatrixProdPole& rhs); | ||||
//! The K-matrix propagator | //! The K-matrix propagator | ||||
Show All 12 Lines |
The Doxygen for getFloatingParameters() needs to be restored.