/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtStatus.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 //
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 //    Lange   April 18, 2002 - split "status" info into own class
00027 
00028 //------------------------------------------------------------------------
00029 
00030 #ifndef EVTSTATUS_HH
00031 #define EVTSTATUS_HH
00032 
00033 
00034 class EvtStatus{
00035 
00036 public:
00037 
00038 
00039   static void setRejectFlag() {int *temp=rejectFlag();  *temp=1; return;}
00040   static void initRejectFlag() {int *temp=rejectFlag();  *temp=0; return;}
00041   static int* rejectFlag() {static int rejectEvent=0; return &rejectEvent;}
00042   static int getRejectFlag() {int *temp=rejectFlag(); return *temp;}
00043   
00044 };
00045 
00046 
00047 
00048 #endif
00049 

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