00001 // this file is -*- c++ -*- 00002 #ifndef JET_VERTEXINDEXEDCONSTITUENTUSERINFO_H 00003 #define JET_VERTEXINDEXEDCONSTITUENTUSERINFO_H 00004 00005 #include "JetEDM/IndexedConstituentUserInfo.h" 00006 00007 #include "xAODTracking/TrackParticle.h" // Necessary ! other wise next line do not compile ! 00008 #include "xAODTracking/Vertex.h" 00009 00010 namespace jet { 00011 00012 class VertexIndexedConstituentUserInfo : public IndexedConstituentUserInfo { 00013 00014 public: 00015 // Default ctor. 00016 // Sets the particle null. 00017 VertexIndexedConstituentUserInfo(); 00018 00020 VertexIndexedConstituentUserInfo(const xAOD::IParticle& par, Index idx, const LabelIndex* pli, const xAOD::Vertex* vtx); 00021 00022 00024 const xAOD::Vertex* vertex() const {return m_vertex;} 00025 protected: 00026 const xAOD::Vertex* m_vertex; 00027 00028 }; 00029 } 00030 00031 #endif