00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef ATLFAST_RECONSTRUCTEDPARTICLEDUMPER_H
00023 #define ATLFAST_RECONSTRUCTEDPARTICLEDUMPER_H
00024
00025
00026 #include <vector>
00027 #include <string>
00028
00029
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
00037 #include "CLHEP/Vector/LorentzVector.h"
00038
00039
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
00056
00057
00058
00059
00060
00061 ReconstructedParticleDumper( const std::string& name, ISvcLocator* pSvcLocator ) ;
00062 virtual ~ReconstructedParticleDumper();
00063
00064
00065
00066
00067
00068
00069 virtual StatusCode initialize() ;
00070 virtual StatusCode execute() ;
00071 virtual StatusCode finalize() ;
00072
00073
00074
00075 private:
00076
00077
00078
00079
00080
00081
00082 TesIO* m_tesIO;
00083
00084
00085
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
00099
00100
00101
00102
00103 std::string m_inputLocation ;
00104 };
00105
00106
00107 }
00108
00109 #endif
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120