Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

GlobalEventData_singleton.h

Go to the documentation of this file.
00001 // GlobalEventData.h sigleton version
00002 #ifndef _Atlfast_GlobalEventData_H
00003 #define _Atlfast_GlobalEventData_H
00004 
00005 // Normal STL and physical vectors
00006 
00007 // Gaudi
00008 
00009 namespace HepMC_helper{
00010   class IMCselector;
00011 }
00012 
00013 namespace Atlfast {
00025   class GlobalEventDataMaker;
00026   class GlobalEventData {
00027   public:
00028 
00029     friend GlobalEventDataMaker;
00031     int lumi()                                  {return m_lumi;}
00032     bool fieldOn()                              {return m_fieldOn;}
00033     double barrelForwardEta()                   {return m_barrelForwardEta;}
00034     int randSeed()                              {return m_randSeed;}
00035     HepMC_helper::IMCselector* visibleToCal()   {return m_visibleToCal;}
00036     HepMC_helper::IMCselector* visibleToAtlas() {return m_visibleToAtlas;}
00038     static GlobalEventData* Instance();
00039   private:
00041     void setValues(int,bool,double,int,std::vector<int>);
00043     GlobalEventData(){};
00045     int m_lumi;
00047     bool        m_fieldOn;
00049     double      m_barrelForwardEta;
00051     int         m_randSeed;
00053     HepMC_helper::IMCselector*  m_visibleToCal;
00055     HepMC_helper::IMCselector*  m_visibleToAtlas;
00057     std::vector<int> m_invisibles; 
00059     static GlobalEventData* m_instance;
00060 
00061   };
00062 } // end of namespace bracket
00063 #endif
00064 
00065 
00066 
00067 
00068 
00069 
00070 
00071 
00072 
00073 
00074 
00075 
00076 
00077 
00078 
00079 
00080 
00081 
00082 
00083 

Generated on Mon Feb 4 15:54:23 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001