00001 //-------------------------------------------------------------------------- 00002 // 00003 // Environment: 00004 // This software is part of the EvtGen package developed jointly 00005 // for the BaBar and CEO collaborations. If you use all or part 00006 // of it, please give an appropriate acknowledgement. 00007 // 00008 // Copyright Information: 00009 // Copyright (C) 2001 Brunel University, University of Wisconsin 00010 // 00011 // Module: EvtGen/EvtBtoXsgammaFlatEnergy.hh 00012 // 00013 // Description: 00014 // Implimentation of a fixed hadronic mass to measure spectrum 00015 // 00016 // Modification history: 00017 // 00018 // Jim Libby October 11, 2002 Module created 00019 // 00020 //------------------------------------------------------------------------ 00021 00022 #ifndef EVTBTOXSGAMMAFLATENERGY_HH 00023 #define EVTBTOXSGAMMAFLATENERGY_HH 00024 00025 #include "EvtGenModels/EvtBtoXsgammaAbsModel.hh" 00026 00027 class EvtBtoXsgammaFlatEnergy : public EvtBtoXsgammaAbsModel { 00028 00029 public: 00030 00031 EvtBtoXsgammaFlatEnergy() {} 00032 00033 virtual ~EvtBtoXsgammaFlatEnergy(); 00034 00035 void init(int, double*); 00036 00037 double GetMass(int code); 00038 00039 private: 00040 //Input parameters 00041 double _eMin; 00042 double _eMax; 00043 // 00044 double _mB0; 00045 double _eRange; 00046 }; 00047 00048 #endif 00049 00050 00051