laura is hosted by Hepforge, IPPP Durham
Laura++  v2r1
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauBelleNR.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 "TMath.h"
18 
19 #include "LauBelleNR.hh"
20 #include "LauDaughters.hh"
21 
23 
24 
25 LauBelleNR::LauBelleNR(const TString& resName, Double_t resMass, Double_t resWidth, Int_t resSpin,
26  Int_t resCharge, Int_t resPairAmpInt, const LauDaughters* daughters) :
27  LauAbsResonance(resName, resMass, resWidth, resSpin, resCharge, resPairAmpInt, daughters),
28  alpha_(0.0)
29 {
30 }
31 
33 {
34 }
35 
37 {
38  const LauDaughters* daughters = this->getDaughters();
39  Int_t resPairAmpInt = this->getPairInt();
40  if ( daughters->gotSymmetricalDP() && resPairAmpInt != 3 ) {
41  std::cerr << "WARNING in LauBelleNR::initialise : Dalitz plot is symmetric - this lineshape is not appropriate." << std::endl;
42  }
43 }
44 
45 LauComplex LauBelleNR::resAmp(Double_t mass, Double_t spinTerm)
46 {
47  Double_t magnitude = spinTerm * TMath::Exp(-alpha_*mass*mass);
48 
49  LauComplex resAmplitude(magnitude, 0.0);
50 
51  return resAmplitude;
52 }
53 
virtual ~LauBelleNR()
Destructor.
Definition: LauBelleNR.cc:32
ClassImp(LauAbsCoeffSet)
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
File containing declaration of LauBelleNR class.
File containing declaration of LauDaughters class.
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauBelleNR.cc:45
const LauDaughters * getDaughters() const
Access the daughters object.
Int_t getPairInt() const
Get the integer to identify which DP axis the resonance belongs to.
Bool_t gotSymmetricalDP() const
Is Dalitz plot symmetric.
Definition: LauDaughters.hh:66
virtual void initialise()
Initialise the model.
Definition: LauBelleNR.cc:36
Class for defining the Belle nonresonant model.
Definition: LauBelleNR.hh:33
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
Class for defining a complex number.
Definition: LauComplex.hh:47
Double_t alpha_
The range parameter.
Definition: LauBelleNR.hh:84