File indexing completed on 2026-08-06 09:20:03
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #ifndef EVTRELBREITWIGNERBARRIERFACT_HH
0022 #define EVTRELBREITWIGNERBARRIERFACT_HH
0023
0024 #include "EvtGenBase/EvtAbsLineShape.hh"
0025
0026 class EvtRelBreitWignerBarrierFact : public EvtAbsLineShape {
0027 public:
0028 EvtRelBreitWignerBarrierFact() = default;
0029 EvtRelBreitWignerBarrierFact( double mass, double width, double maxRange,
0030 EvtSpinType::spintype sp );
0031
0032
0033 EvtRelBreitWignerBarrierFact& operator=( const EvtRelBreitWignerBarrierFact& x );
0034 EvtRelBreitWignerBarrierFact( const EvtRelBreitWignerBarrierFact& x );
0035
0036 EvtAbsLineShape* clone() override;
0037
0038 double getMassProb( double mass, double massPar, int nDaug,
0039 double* massDau ) override;
0040
0041
0042 double getRandMass( EvtId* parId, int nDaug, EvtId* dauId, EvtId* othDaugId,
0043 double maxMass, double* dauMasses ) override;
0044
0045 void reSetBlatt( double blatt ) override { _blattDecay = blatt; }
0046 void reSetBlattBirth( double blatt ) override { _blattBirth = blatt; }
0047
0048 protected:
0049 double _blattDecay;
0050 double _blattBirth;
0051 bool _errorCond;
0052 };
0053
0054 #endif