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_H
00023 #define ATLFAST_RECONSTRUCTEDPARTICLEDUMPER_H
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 "AtlfastEvent/ReconstructedParticle.h"
00041 #include "AtlfastUtils/TesIO.h"
00042 namespace Atlfast {
00047   using std::string;
00048   class ReconstructedParticleDumper : 
00049     private virtual Algorithm, 
00050     public virtual IAlgorithm {
00051 
00052     public:
00053 
00054   //-------------------------
00055   // Constructors/Destructors
00056   //
00057   // Gaudi requires that the constructor takes certain arguments
00058   // (and passes them directly to the constructor of the base class)
00059   //-------------------------
00060 
00061   ReconstructedParticleDumper( const std::string& name, ISvcLocator* pSvcLocator ) ; 
00062   virtual ~ReconstructedParticleDumper();
00063 
00064 
00065   //------------------------------------------------------
00066   // Methods used by Gaudi to run the algorithm
00067   //------------------------------------------------------
00068 
00069   virtual StatusCode initialize() ;
00070   virtual StatusCode execute() ;
00071   virtual StatusCode finalize() ;
00072 
00073  
00074 
00075  private:
00076   //------------------------------------
00077   // Types used internally by this class
00078   // for local collections 
00079   //------------------------------------
00080 
00081 
00082   TesIO* m_tesIO;
00083 
00084   //---------------------------------------------------
00085   // properties set by jobOptions
00086   //---------------------------------------------------
00087 
00088   bool m_writePDG;
00089   bool m_writeFourVector;
00090   bool m_writeEta;
00091   bool m_writePhi;
00092   bool m_writePt;
00093   bool m_writeEt;
00094   bool m_writeMt;
00095   bool m_writeTruth;
00096 
00097   //--------------------------------------------------
00098   // Paths in the Transient Event store to get/put things
00099   // These are currently set in member variables so that
00100   // they can be overwritten by the job options service
00101   //--------------------------------------------------
00102 
00103   std::string m_inputLocation ;
00104 };
00105 
00106 
00107 }  //end of namespace bracket
00108 
00109 #endif
00110 
00111 
00112 
00113 
00114 
00115 
00116 
00117 
00118 
00119 
00120 

Generated on Wed May 1 14:11:32 2002 for AtlfastAlgs by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001