/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGen.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/EvtGen.hh
00012 //
00013 // Description:Main class to provide user interface to EvtGen.
00014 //
00015 // Modification history:
00016 //r
00017 //    RYD     March 24, 1998     Module created
00018 //
00019 //    DJL     August 10, 1998    Additional Event member function added
00020 //
00021 //    RYD     December 25, 1999  Any application using EvtGen will need
00022 //                               to instantiate an instance of this class
00023 //                               and hold on to it untill done generating
00024 //                               events. This class will now hold data used
00025 //                               for the lifetime of the generator.
00026 //------------------------------------------------------------------------
00027 
00028 #ifndef EVTGEN_HH
00029 #define EVTGEN_HH
00030 
00031 
00032 #include "EvtGenBase/EvtPDL.hh"
00033 
00034 #include <CLHEP/Vector/LorentzVector.h>  //maqm add
00035 
00036 class EvtParticle;
00037 class EvtRandomEngine;
00038 //class HepLorentzVector;  //maqm comment
00039 class EvtVector4R;
00040 class EvtStdHep;
00041 class EvtSpinDensity;
00042 class EvtAbsRadCorr;
00043 
00044 using CLHEP::HepLorentzVector;  //maqm add
00045 
00046 class EvtGen{
00047 
00048 public:
00049 
00050 
00051   EvtGen(const char* const decayName,const char* const pdtTableName,
00052          EvtRandomEngine* randomEngine=0, EvtAbsRadCorr *isrEngine=0);
00053   ~EvtGen();
00054 
00055   void readUDecay(const char* const udecay_name);
00056 
00057   void generateDecay(int stdhepid, EvtVector4R P, EvtVector4R D,
00058                      EvtStdHep *evtStdHep,EvtSpinDensity *spinDensity=0);
00059 
00060   void generateDecay(EvtParticle *p);
00061 
00062   //These two methods are obsolete
00063   void generateEvent(int stdhepid, HepLorentzVector P, HepLorentzVector D);
00064   void generateEvent(EvtParticle *p,HepLorentzVector D);
00065 
00066   
00067 private:
00068 
00069   EvtPDL _pdl;
00070 };
00071 
00072 
00073 
00074 #endif
00075 

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