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

ReconstructedParticleDumper.h

Go to the documentation of this file.
00001 // ================================================
00002 // ReconstructedParticleDumper 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: ReconstructedParticleDumper
00014 //
00015 // Description: 
00016 //
00017 //  formatted output of collection of Reconstructed Particles from the TES
00018 //  for debugging purposes
00019 // ................................................................
00020 //
00021 
00022 #ifndef __ATLFAST_ReconstructedParticledumper__
00023 #define __ATLFAST_ReconstructedParticledumper__
00024 
00025 // STL
00026 #include <vector>
00027 #include <string>
00028 
00029 // Gaudi 
00030 #include "GaudiKernel/ISvcLocator.h"
00031 #include "GaudiKernel/IAlgorithm.h"
00032 #include "GaudiKernel/Algorithm.h"
00033 #include "GaudiKernel/MsgStream.h"
00034 #include "GaudiKernel/DataObject.h"
00035 
00036 // Other
00037 #include "CLHEP/Vector/LorentzVector.h"
00038 
00039 // Atlfast
00040 #include "AtlfastCode/ReconstructedParticle.h"
00041 #include "AtlfastCode/TesIO.h"
00042 
00043 
00044 
00045 //*****************************************
00046 // Default paths in the Transient event store to get/put entities
00047 //
00048 //[Note:  This will change as the current system is not considered acceptable.]
00049 //******************************************
00050 
00051 #define DEFAULT_inputLocation      "/Event/Atlfast/ReconstructedParticle" 
00052 
00053 #define DEFAULT_writePDG true
00054 #define DEFAULT_writeFourVector true
00055 #define DEFAULT_writeEta true
00056 #define DEFAULT_writePhi true
00057 #define DEFAULT_writePt  true
00058 #define DEFAULT_writeEt  false
00059 #define DEFAULT_writeMt  false
00060 #define DEFAULT_writeTruth  true
00061 
00062 
00063 namespace Atlfast {
00068   class ReconstructedParticleDumper : private virtual Algorithm, 
00069     public virtual IAlgorithm 
00070 {
00071 
00072  public:
00073 
00074   //-------------------------
00075   // Constructors/Destructors
00076   //
00077   // Gaudi requires that the constructor takes certain arguments
00078   // (and passes them directly to the constructor of the base class)
00079   //-------------------------
00080 
00081   ReconstructedParticleDumper( const std::string& name, ISvcLocator* pSvcLocator ) ; 
00082   virtual ~ReconstructedParticleDumper();
00083 
00084 
00085   //------------------------------------------------------
00086   // Methods used by Gaudi to run the algorithm
00087   //------------------------------------------------------
00088 
00089   virtual StatusCode initialize() ;
00090   virtual StatusCode execute() ;
00091   virtual StatusCode finalize() ;
00092 
00093  
00094 
00095  private:
00096   //------------------------------------
00097   // Types used internally by this class
00098   // for local collections 
00099   //------------------------------------
00100 
00101 
00102   TesIO* m_tesIO;
00103 
00104   //---------------------------------------------------
00105   // properties set by jobOptions
00106   //---------------------------------------------------
00107 
00108   bool m_writePDG;
00109   bool m_writeFourVector;
00110   bool m_writeEta;
00111   bool m_writePhi;
00112   bool m_writePt;
00113   bool m_writeEt;
00114   bool m_writeMt;
00115   bool m_writeTruth;
00116 
00117   //--------------------------------------------------
00118   // Paths in the Transient Event store to get/put things
00119   // These are currently set in member variables so that
00120   // they can be overwritten by the job options service
00121   //--------------------------------------------------
00122 
00123   std::string m_inputLocation ;
00124 
00125 
00126   //-------------------------------
00127   // Protected methods
00128   //-------------------------------
00129 
00130 
00131 };
00132 
00133 
00134 }  //end of namespace bracket
00135 
00136 #endif
00137 
00138 
00139 
00140 
00141 
00142 
00143 
00144 
00145 
00146 
00147 

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