ATLAS Offline Software
VertexIndexedConstituentUserInfo.h
Go to the documentation of this file.
1 // this file is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef JET_VERTEXINDEXEDCONSTITUENTUSERINFO_H
8 #define JET_VERTEXINDEXEDCONSTITUENTUSERINFO_H
9 
10 #include "xAODTracking/TrackParticle.h" // Necessary ! other wise next line do not compile !
11 #include "xAODTracking/Vertex.h"
12 #include "fastjet/PseudoJet.hh"
13 
14 namespace jet {
15 
16  class VertexIndexedConstituentUserInfo : public fastjet::PseudoJet::UserInfoBase {
17 
18  public:
19  // Default ctor.
20  // Sets the particle null.
22 
25 
26 
28  const xAOD::Vertex* vertex() const {return m_vertex;}
29  protected:
31 
32  };
33 }
34 
35 #endif
jet::VertexIndexedConstituentUserInfo::VertexIndexedConstituentUserInfo
VertexIndexedConstituentUserInfo()
Definition: VertexIndexedConstituentUserInfo.cxx:9
jet::VertexIndexedConstituentUserInfo::vertex
const xAOD::Vertex * vertex() const
Returns the associated vertex if this constit is a track. Else returns null. *‍/.
Definition: VertexIndexedConstituentUserInfo.h:28
jet::VertexIndexedConstituentUserInfo::m_vertex
const xAOD::Vertex * m_vertex
Definition: VertexIndexedConstituentUserInfo.h:30
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
jet::VertexIndexedConstituentUserInfo
Definition: VertexIndexedConstituentUserInfo.h:16
Vertex.h
TrackParticle.h
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42