laura is hosted by Hepforge, IPPP Durham
Laura++  v1r2
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 //****************************************************************************
16 // Class for defining the Belle Non-Resonant model
17 //****************************************************************************
18 
19 // --CLASS DESCRIPTION [MODEL] --
20 // Class for defining the Belle Non-Resonant model.
21 
22 #include <iostream>
23 using std::cout;
24 using std::cerr;
25 using std::endl;
26 
27 #include "TMath.h"
28 
29 #include "LauBelleNR.hh"
30 #include "LauDaughters.hh"
31 
32 ClassImp(LauBelleNR)
33 
34 
35 LauBelleNR::LauBelleNR(const TString& resName, Double_t resMass, Double_t resWidth, Int_t resSpin,
36  Int_t resCharge, Int_t resPairAmpInt, const LauDaughters* daughters) :
37  LauAbsResonance(resName, resMass, resWidth, resSpin, resCharge, resPairAmpInt, daughters),
38  alpha_(0.0)
39 {
40 }
41 
43 {
44 }
45 
47 {
48  const LauDaughters* daughters = this->getDaughters();
49  Int_t resPairAmpInt = this->getPairInt();
50  if ( daughters->gotSymmetricalDP() && resPairAmpInt != 3 ) {
51  cerr << "WARNING in LauBelleNR::initialise : Dalitz plot is symmetric - this lineshape is not appropriate." << endl;
52  }
53 }
54 
55 LauComplex LauBelleNR::resAmp(Double_t mass, Double_t spinTerm)
56 {
57  Double_t magnitude = spinTerm * TMath::Exp(-alpha_*mass*mass);
58 
59  LauComplex resAmplitude(magnitude, 0.0);
60 
61  return resAmplitude;
62 }
63 
virtual ~LauBelleNR()
Destructor.
Definition: LauBelleNR.cc:42
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:55
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:46
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