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

CommonDataMaker.h

Go to the documentation of this file.
00001 // ================================================
00002 // CommonDataMaker class description
00003 // ================================================
00004 //
00005 // THIS TEXT TO BE REPLACED BY ATLAS STANDARD FORMAT
00006 //
00007 //
00008 // This version....
00009 //
00010 //
00011 // Namespace Atlfast::
00012 //
00013 // class: CommonDataMaker
00014 //
00015 // Description: 
00016 //
00017 // ................................................................
00018 //
00019 
00020 #ifndef __ATLFAST_CommonDataMaker__
00021 #define __ATLFAST_CommonDataMaker__
00022 
00023 
00024 // *********************************************************************
00025 // Default Parameter of this algorithm
00026 // (see main class for description)
00027 #define DEFAULT_lumi          1  
00028 #define DEFAULT_fieldOn       true
00029 //htp random number generator should eventually be removed
00030 #define DEFAULT_randSeed            12345 // Random number seed
00031 #define DEFAULT_barrelForwardEta    3.2   
00032 #define DEFAULT_outputLocation    "/Event/AtlfastCommonData" 
00033 //********************************************************************
00034 
00035 
00036 // STL
00037 #include <vector>
00038 #include <string>
00039 
00040 // Gaudi 
00041 #include "GaudiKernel/ISvcLocator.h"
00042 #include "GaudiKernel/IAlgorithm.h"
00043 #include "GaudiKernel/Algorithm.h"
00044 #include "GaudiKernel/MsgStream.h"
00045 #include "GaudiKernel/DataObject.h"
00046 
00047 // Other
00048 #include "AtlfastCode/HepMC_helper.h"
00049 
00050 // Atlfast
00051 #include "AtlfastCode/CommonData.h"
00052 #include "AtlfastCode/TesIO.h"
00053 
00054 namespace Atlfast {
00055 
00056   class CommonDataMaker : 
00057     public virtual Algorithm 
00058     {
00059       
00060     public:
00061       
00062       //-------------------------
00063       // Constructors/Destructors
00064       //-------------------------
00065       
00066       CommonDataMaker( 
00067                       const std::string& name, 
00068                       ISvcLocator* pSvcLocator 
00069                       );
00070       
00071       virtual ~CommonDataMaker();
00072       
00073       
00074       //------------------------------------------------------
00075   // Mandatory Athena methods
00076       //------------------------------------------------------
00077       
00078       virtual StatusCode initialize() ;
00079       virtual StatusCode execute() ;
00080       virtual StatusCode finalize() ;
00081   
00082       
00083     private:
00084 
00085       int           m_lumi;             // Luminosity option (1=low,2-high)
00086       bool          m_fieldOn;          // Mag field on/off
00087       std::vector<int> m_invisibles;    // List of ids of invisible ptcles
00088       bool m_notInit;
00089       // Paths in the TES to put CommonData
00090       
00091       std::string m_outputLocation ;
00092       TesIO* m_tesIO;      
00093       int           m_randSeed;
00094       double        m_barrelForwardEta;
00095     };
00096 
00097 
00098 }  //end of namespace bracket
00099 
00100 #endif
00101 
00102 
00103 
00104 
00105 
00106 
00107 
00108 
00109 
00110 
00111 
00112 

Generated on Wed Jan 23 12:58:31 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001