/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtRelBreitWignerBarrierFact.hh

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 //
00003 // Environment:
00004 //      This software is part of the EvtGen package developed jointly
00005 //      for the BaBar and CLEO collaborations.  If you use all or part
00006 //      of it, please give an appropriate acknowledgement.
00007 //
00008 // Copyright Information: See EvtGen/COPYRIGHT
00009 //      Copyright (C) 1998      Caltech, UCSB
00010 //
00011 // Module: EvtGen/EvtAbsLineShape.hh
00012 //
00013 // Description: Class to keep the particle properties for
00014 //              one particle
00015 //
00016 // Modification history:
00017 //
00018 //    Lange     March 10, 2001         Module created
00019 //
00020 //------------------------------------------------------------------------
00021 
00022 #ifndef EVTRELBREITWIGNERBARRIERFACT_HH
00023 #define EVTRELBREITWIGNERBARRIERFACT_HH
00024 
00025 #include "EvtGenBase/EvtAbsLineShape.hh"
00026 
00027 class EvtRelBreitWignerBarrierFact :public EvtAbsLineShape {
00028 
00029 public:
00030 
00031   EvtRelBreitWignerBarrierFact(); 
00032   EvtRelBreitWignerBarrierFact(double mass, double width, double maxRange, EvtSpinType::spintype sp);
00033     //figure the m1 and l on the fly
00034     //                         double mDaug1, double mDaug2, int l); 
00035   ~EvtRelBreitWignerBarrierFact();
00036   EvtRelBreitWignerBarrierFact& operator=(const EvtRelBreitWignerBarrierFact& x);
00037   EvtRelBreitWignerBarrierFact(const EvtRelBreitWignerBarrierFact& x); 
00038 
00039   EvtAbsLineShape* clone();
00040 
00041   double getMassProb(double mass, double massPar, int nDaug, double *massDau);
00042   // othDaugId is the other daughter of the parent in the case of a two body decay (only!)
00043   // ie B->rho K rho->pipi, othDaugId = K
00044    double getRandMass(EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId, double maxMass, double *dauMasses);
00045 
00046   virtual void reSetBlatt(double blatt) { _blatt = blatt; }
00047 
00048 protected:
00049 
00050   double _blatt;
00051   bool _errorCond;
00052 
00053 };
00054 
00055 #endif
00056 

Generated on Tue Nov 29 23:12:15 2016 for BOSS_7.0.2 by  doxygen 1.4.7