ATLAS Offline Software
TrigInDetTracklet.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGINDETPATTRECOEVENT_TRIGINDETTRACKLET_H
6 #define TRIGINDETPATTRECOEVENT_TRIGINDETTRACKLET_H
7 
8 #include <vector>
9 
11 
17 
18  public:
19 
20  TrigInDetTracklet(float Q) : m_Q(Q) {};
21 
22  const std::vector<const Trk::SpacePoint*>& seed() const {
23  return m_vSP;
24  }
25 
26  float quality() const {
27  return m_Q;
28  }
29 
30  void addSpacePoint(const Trk::SpacePoint* pSP) {
31  m_vSP.push_back(pSP);
32  }
33 
34  protected:
35 
36  std::vector<const Trk::SpacePoint*> m_vSP;
37  float m_Q;
38 
39 };
40 
41 
42 #endif
Trk::SpacePoint
Definition: Tracking/TrkEvent/TrkSpacePoint/TrkSpacePoint/SpacePoint.h:35
TrigInDetTracklet::addSpacePoint
void addSpacePoint(const Trk::SpacePoint *pSP)
Definition: TrigInDetTracklet.h:30
TrigInDetTracklet::m_vSP
std::vector< const Trk::SpacePoint * > m_vSP
Definition: TrigInDetTracklet.h:36
TrigInDetTracklet
Definition: TrigInDetTracklet.h:16
TrigInDetTracklet::seed
const std::vector< const Trk::SpacePoint * > & seed() const
Definition: TrigInDetTracklet.h:22
SpacePoint.h
TrigInDetTracklet::m_Q
float m_Q
Definition: TrigInDetTracklet.h:37
TrigInDetTracklet::quality
float quality() const
Definition: TrigInDetTracklet.h:26
TrigInDetTracklet::TrigInDetTracklet
TrigInDetTracklet(float Q)
Definition: TrigInDetTracklet.h:20