00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef EVTFLATLINESHAPE_HH
00023 #define EVTFLATLINESHAPE_HH
00024
00025 #include "EvtGenBase/EvtAbsLineShape.hh"
00026
00027 class EvtFlatLineShape :public EvtAbsLineShape {
00028
00029 public:
00030
00031 EvtFlatLineShape();
00032 EvtFlatLineShape(double mass, double width, double maxRange, EvtSpinType::spintype sp);
00033
00034
00035 ~EvtFlatLineShape();
00036 EvtFlatLineShape& operator=(const EvtFlatLineShape& x);
00037 EvtFlatLineShape(const EvtFlatLineShape& x);
00038
00039 EvtAbsLineShape* clone();
00040
00041 double getMassProb(double mass, double massPar, int nDaug, double *massDau);
00042
00043
00044 double getRandMass(EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId,double maxMass, double *dauMasses);
00045
00046
00047 protected:
00048 };
00049
00050 #endif
00051