laura is hosted by Hepforge, IPPP Durham
Laura++  v2r0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauFlatNR.cc
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2004 - 2013.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 // Authors:
7 // Thomas Latham
8 // John Back
9 // Paul Harrison
10 
15 #include <iostream>
16 
17 #include "LauKinematics.hh"
18 #include "LauFlatNR.hh"
19 
20 ClassImp(LauFlatNR)
21 
22 LauFlatNR::LauFlatNR(TString resName, Double_t resMass, Double_t resWidth, Int_t resSpin,
23  Int_t resCharge, Int_t resPairAmpInt, const LauDaughters* daughters) :
24  LauAbsResonance(resName, resMass, resWidth, resSpin, resCharge, resPairAmpInt, daughters)
25 {
26 }
27 
29 {
30 }
31 
33 {
34 }
35 
37 {
38  // return the uniform amplitude
39  return LauComplex(1.0, 0.0);
40 }
41 
42 LauComplex LauFlatNR::resAmp(Double_t mass, Double_t spinTerm)
43 {
44  std::cerr << "ERROR in LauFlatNR::resAmp : This method shouldn't get called." << std::endl;
45  std::cerr << " Returning zero amplitude for mass = " << mass << " and spinTerm = " << spinTerm << "." << std::endl;
46  return LauComplex(0.0, 0.0);
47 }
48 
virtual void initialise()
Initialise the model.
Definition: LauFlatNR.cc:32
virtual LauComplex amplitude(const LauKinematics *kinematics)
Complex resonant amplitude.
Definition: LauFlatNR.cc:36
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
File containing declaration of LauKinematics class.
virtual ~LauFlatNR()
Destructor.
Definition: LauFlatNR.cc:28
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
This is not meant to be called.
Definition: LauFlatNR.cc:42
Class for defining a complex number.
Definition: LauComplex.hh:47
Class for calculating 3-body kinematic quantities.
Class for defining a uniform nonresonant amplitude.
Definition: LauFlatNR.hh:30
File containing declaration of LauFlatNR class.