/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenModels/EvtJetSet.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/EvtJetSet.hh
00012 //
00013 // Description:
00014 //
00015 // Modification history:
00016 //
00017 //    DJL/RYD     August 11, 1998         Module created
00018 //
00019 //------------------------------------------------------------------------
00020 
00021 #ifndef EVTJETSET_HH
00022 #define EVTJETSET_HH
00023 
00024 #include "EvtGenBase/EvtDecayIncoherent.hh"
00025 
00026 class EvtParticle;
00027 
00028 typedef EvtDecayBase* EvtDecayBasePtr;
00029 
00030 #include <iosfwd>
00031 
00032 class EvtJetSet:public  EvtDecayIncoherent  {
00033 
00034 public:
00035 
00036   EvtJetSet();
00037   virtual ~EvtJetSet();
00038 
00039   void getName(std::string& name);
00040   EvtDecayBase* clone();
00041   void decay(EvtParticle *p); 
00042 
00043   std::string commandName();
00044   void command(std::string cmd);
00045 
00046   void init();
00047 
00048   void initProbMax();
00049 
00050   //initialize jetset; sets up decay table and
00051   //paramters. Static so it can be invoked from
00052   //from EvtJscont.
00053   static void jetSetInit();
00054 
00055 private:
00056 
00057   void store(EvtDecayBase* jsdecay);
00058   void fixPolarizations(EvtParticle* p);
00059   static void MakeJetSetFile(char* fname);
00060   static void WriteJetSetParticle(std::ofstream &outdec,EvtId ipar,EvtId iparname,int &first);
00061   static void WriteJetSetEntryHeader(std::ofstream &outdec, int lundkc,
00062                                EvtId evtnum,std::string name,
00063                                int chg, int cchg, int spin2,double mass,
00064                                double width, double maxwidth,double ctau,
00065                                int stable,double rawbrfrsum);
00066 
00067   static int njetsetdecays;
00068   static EvtDecayBasePtr* jetsetdecays;
00069   static int ntable;
00070 
00071   static int ncommand;
00072   static int lcommand;
00073   static std::string* commands;
00074 
00075 };
00076 
00077 #endif
00078 
00079 
00080 
00081 

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