/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtFlatLineShape.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 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     //figure the m1 and l on the fly
00034     //                         double mDaug1, double mDaug2, int l); 
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   // 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 
00047 protected:
00048 }; 
00049 
00050 #endif
00051 

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