00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __ATLFAST_Associator__
00021 #define __ATLFAST_Associator__
00022
00023
00024
00025
00026
00027 #define DEFAULT_electronLocation "/Event/AtlfastElectrons"
00028 #define DEFAULT_photonLocation "/Event/AtlfastPhotons"
00029 #define DEFAULT_muonLocation "/Event/AtlfastMuons"
00030 #define DEFAULT_jetLocation "/Event/AtlfastJets"
00031 #define DEFAULT_clusterLocation "/Event/AtlfastClusters"
00032 #define DEFAULT_assocElectronLocation "/Event/AtlfastAssocElectrons"
00033 #define DEFAULT_assocPhotonLocation "/Event/AtlfastAssocPhotons"
00034 #define DEFAULT_assocMuonLocation "/Event/AtlfastAssocMuons"
00035
00036
00037
00038
00039 #include <vector>
00040 #include <string>
00041
00042
00043 #include "GaudiKernel/ISvcLocator.h"
00044 #include "GaudiKernel/IAlgorithm.h"
00045 #include "GaudiKernel/Algorithm.h"
00046 #include "GaudiKernel/MsgStream.h"
00047 #include "GaudiKernel/DataObject.h"
00048
00049
00050
00051
00052
00053
00054
00055
00056 #include "AtlfastCode/ReconstructedParticle.h"
00057 #include "AtlfastCode/ReconstructedParticleCollection.h"
00058 #include "AtlfastCode/Cluster.h"
00059 #include "AtlfastCode/ClusterCollection.h"
00060 #include "AtlfastCode/Jet.h"
00061 #include "AtlfastCode/JetCollection.h"
00062 #include "AtlfastCode/TesIO.h"
00063
00064
00065
00066 namespace Atlfast {
00067
00073 class Associator :
00074 public virtual Algorithm {
00075
00076 public:
00077
00078
00079
00080
00082 Associator(
00083 const std::string& name,
00084 ISvcLocator* pSvcLocator
00085 );
00087 virtual ~Associator();
00088
00089
00090
00091
00092
00094 virtual StatusCode initialize() ;
00096 virtual StatusCode execute() ;
00098 virtual StatusCode finalize() ;
00099
00100
00101 private:
00102 std::string m_electronLocation;
00103 std::string m_photonLocation;
00104 std::string m_muonLocation;
00105 std::string m_clusterLocation;
00106 std::string m_jetLocation;
00107 std::string m_assocElectronLocation;
00108 std::string m_assocPhotonLocation;
00109 std::string m_assocMuonLocation;
00110 TesIO* m_tesIO;
00111
00112
00113 };
00114
00115
00116 }
00117
00118 #endif
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130