Changeset View
Changeset View
Standalone View
Standalone View
inc/LauKMatrixProdPole.hh
Show All 38 Lines | |||||
#include "TString.h" | #include "TString.h" | ||||
class LauKMatrixPropagator; | class LauKMatrixPropagator; | ||||
class LauDaughters; | class LauDaughters; | ||||
class LauKinematics; | class LauKinematics; | ||||
class LauKMatrixProdPole : public LauAbsResonance { | class LauKMatrixProdPole : public LauAbsResonance { | ||||
public: | public: | ||||
//! Constructor | //! Constructor | ||||
/*! | /*! | ||||
\param [in] poleName name of the pole | \param [in] poleName name of the pole | ||||
\param [in] poleIndex number of pole | \param [in] poleIndex number of pole | ||||
\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 | ||||
*/ | */ | ||||
LauKMatrixProdPole(const TString& poleName, Int_t poleIndex, Int_t resPairAmpInt, | LauKMatrixProdPole( const TString& poleName, Int_t poleIndex, Int_t resPairAmpInt, | ||||
LauKMatrixPropagator* propagator, const LauDaughters* daughters, | LauKMatrixPropagator* propagator, const LauDaughters* daughters, | ||||
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 | //! The amplitude calculation | ||||
/*! | /*! | ||||
\param [in] kinematics the kinematic variables of the current event | \param [in] kinematics the kinematic variables of the current event | ||||
\return the complex amplitude | \return the complex amplitude | ||||
*/ | */ | ||||
virtual LauComplex amplitude(const LauKinematics* kinematics); | 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;} | ||||
virtual const std::vector<LauParameter*>& getFloatingParameters(); | |||||
protected: | protected: | ||||
//! Function not meant to be called, amplitude is called directly in this case | //! Function not meant to be called, amplitude is called directly in this case | ||||
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm); | virtual LauComplex resAmp(Double_t mass, Double_t spinTerm); | ||||
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 | ||||
LauKMatrixPropagator* thePropagator_; | LauKMatrixPropagator* thePropagator_; | ||||
//! The number of the pole | //! The number of the pole | ||||
Int_t poleIndex_; | Int_t poleIndex_; | ||||
//! 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(LauKMatrixProdPole, 0) // K-matrix production pole | ClassDef(LauKMatrixProdPole, 0) // K-matrix production pole | ||||
}; | }; | ||||
#endif | #endif |