00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __ATLFAST_IKinematicDumper__
00023 #define __ATLFAST_IKinematicDumper__
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 "AtlfastCode/Cell.h"
00041 #include "AtlfastCode/HepMC_helper.h"
00042 #include "AtlfastCode/TesIO.h"
00043
00044
00045
00046
00047
00048
00049
00050
00051 #define DEFAULT_imuonLocation "/Event/AtlfastIsolatedMuons"
00052 #define DEFAULT_nimuonLocation "/Event/AtlfastNonIsolatedMuons"
00053 #define DEFAULT_clusterLocation "/Event/AtlfastClusters"
00054 #define DEFAULT_jetLocation "/Event/AtlfastJets"
00055
00056 namespace Atlfast {
00059 class IKinematicDumper : public Algorithm {
00060
00061 public:
00062
00063
00064
00065
00066
00067
00068
00070 IKinematicDumper( const std::string& name, ISvcLocator* pSvcLocator ) ;
00072 virtual ~IKinematicDumper();
00073
00074
00075
00076
00077
00079 virtual StatusCode initialize() ;
00081 virtual StatusCode execute() ;
00083 virtual StatusCode finalize() ;
00084
00085
00086
00087 private:
00089 std::string m_clusterLocation ;
00090 std::string m_jetLocation ;
00091 std::string m_imuonLocation ;
00092 std::string m_nimuonLocation ;
00093 TesIO* m_tesIO;
00095 void dump(const IKinematic*) const;
00096 void header() const;
00098
00099
00100
00101
00102
00103 };
00104
00105
00106 }
00107
00108 #endif
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121