elegent is hosted by Hepforge, IPPP Durham
Elegent
ExpModel.h
1 /********************************************************************************
2 
3  Copyright 2013 Jan Kašpar
4 
5  This file is part of Elegent (http://elegent.hepforge.org/).
6 
7  Elegent is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  Elegent is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with Elegent. If not, see <http://www.gnu.org/licenses/>.
19 
20 ********************************************************************************/
21 
22 #ifndef _elegent_exp_model_
23 #define _elegent_exp_model_
24 
25 #include "Model.h"
26 
27 namespace Elegent
28 {
29 
36 class ExpModel : public Model
37 {
38  public:
39  ExpModel();
40 
41  void Configure();
42  virtual void Init();
43  virtual void Print() const;
44  virtual TComplex Amp(double t) const;
45  virtual TComplex Prf(double b) const;
46 
47  public:
48  double a, b1, b2, p0, p1;
49 };
50 
51 } // namespace
52 
53 #endif
Definition: BHModel.h:28
virtual void Print() const
prints model info
Definition: ExpModel.cc:56
virtual TComplex Prf(double b) const
Profile function (amplitude in b-space).
Definition: ExpModel.cc:66
Exponential model of p-p and p-anti p elastic scattering.
Definition: ExpModel.h:36
virtual void Init()
sets up model parameters and data members
Definition: ExpModel.cc:45
The base class for hadronic models of (anti)proton-proton elastic scattering.
Definition: Model.h:35
virtual TComplex Amp(double t) const
Amplitude in t-space.
Definition: ExpModel.cc:75