Changeset View
Changeset View
Standalone View
Standalone View
inc/LauKMatrixProdSVP.hh
Show All 38 Lines | |||||
#include "TString.h" | #include "TString.h" | ||||
class LauKMatrixPropagator; | class LauKMatrixPropagator; | ||||
class LauDaughters; | class LauDaughters; | ||||
class LauKinematics; | class LauKinematics; | ||||
class LauKMatrixProdSVP : public LauAbsResonance { | class LauKMatrixProdSVP : public LauAbsResonance { | ||||
public: | public: | ||||
//! Constructor | //! Constructor | ||||
/*! | /*! | ||||
\param [in] SVPName name of the slowly varying part (SVP) | \param [in] SVPName name of the slowly varying part (SVP) | ||||
\param [in] channelIndex the channel number | \param [in] channelIndex the channel number | ||||
\param [in] resPairAmpInt the number of the daughter not produced by the resonance | \param [in] resPairAmpInt the number of the daughter not produced by the resonance | ||||
\param [in] propagator a K-matrix propagator | \param [in] propagator a K-matrix propagator | ||||
\param [in] daughters the daughter particles | \param [in] daughters the daughter particles | ||||
\param [in] useProdAdler boolean to turn on/off the production Adler zero factor | \param [in] useProdAdler boolean to turn on/off the production Adler zero factor | ||||
*/ | */ | ||||
LauKMatrixProdSVP(const TString& SVPName, Int_t channelIndex, Int_t resPairAmpInt, | LauKMatrixProdSVP( const TString& SVPName, Int_t channelIndex, Int_t resPairAmpInt, | ||||
LauKMatrixPropagator* propagator, const LauDaughters* daughters, | LauKMatrixPropagator* propagator, const LauDaughters* daughters, | ||||
Bool_t useProdAdler = kFALSE); | Bool_t useProdAdler = kFALSE); | ||||
//! Destructor | //! Destructor | ||||
virtual ~LauKMatrixProdSVP(); | virtual ~LauKMatrixProdSVP(); | ||||
//! 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 | ||||
*/ | */ | ||||
const std::vector<LauParameter*>& getFloatingParameters(); | const std::vector<LauParameter*>& getFloatingParameters(); | ||||
tlatham: The Doxygen for getFloatingParameters() needs to be restored. | |||||
protected: | protected: | ||||
//! Function not meant to be called | //! 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. | |||||
private: | private: | ||||
//! Copy constructor (not implemented) | //! Copy constructor (not implemented) | ||||
LauKMatrixProdSVP(const LauKMatrixProdSVP& rhs); | LauKMatrixProdSVP(const LauKMatrixProdSVP& rhs); | ||||
//! Copy assignment operator (not implemented) | //! Copy assignment operator (not implemented) | ||||
LauKMatrixProdSVP& operator=(const LauKMatrixProdSVP& rhs); | LauKMatrixProdSVP& operator=(const LauKMatrixProdSVP& rhs); | ||||
//! The K-matrix propagator | //! The K-matrix propagator | ||||
LauKMatrixPropagator* thePropagator_; | LauKMatrixPropagator* thePropagator_; | ||||
//! The number of the channel | //! The number of the channel | ||||
Int_t channelIndex_; | Int_t channelIndex_; | ||||
//! Boolean to turn on/off the production Adler zero factor | //! Boolean to turn on/off the production Adler zero factor | ||||
Bool_t useProdAdler_; | Bool_t useProdAdler_; | ||||
ClassDef(LauKMatrixProdSVP, 0) // K-matrix production SVP term | ClassDef(LauKMatrixProdSVP, 0) // K-matrix production SVP term | ||||
}; | }; | ||||
#endif | #endif | ||||
No newline at end of file |
The Doxygen for getFloatingParameters() needs to be restored.