]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TEvtGen/EvtGenModels/EvtBtoXsgammaFlatEnergy.hh
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenModels / EvtBtoXsgammaFlatEnergy.hh
1 //--------------------------------------------------------------------------
2 //
3 // Environment:
4 //      This software is part of the EvtGen package developed jointly
5 //      for the BaBar and CEO collaborations.  If you use all or part
6 //      of it, please give an appropriate acknowledgement.
7 //
8 // Copyright Information:
9 //      Copyright (C) 2001      Brunel University, University of Wisconsin
10 //
11 // Module: EvtGen/EvtBtoXsgammaFlatEnergy.hh
12 //
13 // Description:
14 //       Implimentation of a fixed hadronic mass to measure spectrum
15 //
16 // Modification history:
17 //
18 //       Jim Libby     October 11, 2002  Module created
19 //
20 //------------------------------------------------------------------------
21
22 #ifndef EVTBTOXSGAMMAFLATENERGY_HH
23 #define EVTBTOXSGAMMAFLATENERGY_HH
24
25 #include "EvtGenModels/EvtBtoXsgammaAbsModel.hh"
26
27 class EvtBtoXsgammaFlatEnergy : public EvtBtoXsgammaAbsModel {
28
29 public:
30   
31   EvtBtoXsgammaFlatEnergy() {}
32
33   virtual ~EvtBtoXsgammaFlatEnergy();
34
35   void init(int, double*);
36
37   double GetMass(int code);
38
39 private:
40   //Input parameters
41   double _eMin;
42   double _eMax;
43   //
44   double _mB0;
45   double _eRange;
46 };
47
48 #endif
49
50
51