laura is hosted by Hepforge, IPPP Durham
Laura++  v3r5
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauFlatNR.cc
Go to the documentation of this file.
1 
2 /*
3 Copyright 2014 University of Warwick
4 
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8 
9  http://www.apache.org/licenses/LICENSE-2.0
10 
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 */
17 
18 /*
19 Laura++ package authors:
20 John Back
21 Paul Harrison
22 Thomas Latham
23 */
24 
29 #include <iostream>
30 
31 #include "LauKinematics.hh"
32 #include "LauFlatNR.hh"
33 
35 
36 LauFlatNR::LauFlatNR(LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters) :
37  LauAbsResonance(resInfo, resPairAmpInt, daughters)
38 {
39 }
40 
42 {
43 }
44 
46 {
47 }
48 
50 {
51  // return the uniform amplitude
52  return LauComplex(1.0, 0.0);
53 }
54 
55 LauComplex LauFlatNR::resAmp(Double_t mass, Double_t spinTerm)
56 {
57  std::cerr << "ERROR in LauFlatNR::resAmp : This method shouldn't get called." << std::endl;
58  std::cerr << " Returning zero amplitude for mass = " << mass << " and spinTerm = " << spinTerm << "." << std::endl;
59  return LauComplex(0.0, 0.0);
60 }
61 
virtual void initialise()
Initialise the model.
Definition: LauFlatNR.cc:45
ClassImp(LauAbsCoeffSet)
Class for defining the properties of a resonant particle.
virtual LauComplex amplitude(const LauKinematics *kinematics)
Complex resonant amplitude.
Definition: LauFlatNR.cc:49
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47
File containing declaration of LauKinematics class.
virtual ~LauFlatNR()
Destructor.
Definition: LauFlatNR.cc:41
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:55
Class for defining a complex number.
Definition: LauComplex.hh:61
Class for calculating 3-body kinematic quantities.
Class for defining a uniform nonresonant amplitude.
Definition: LauFlatNR.hh:44
File containing declaration of LauFlatNR class.