ATLAS Offline Software
Loading...
Searching...
No Matches
SelectedTracksInJet.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6 SelectedTracksInJet.h - Description
7 -------------------
8
9 created: January 2008
10 authors: Giacinto Piacquadio (University of Freiburg),
11 Christian Weiser (University of Freiburg)
12 e-mail: giacinto.piacquadio@physik.uni-freiburg.de
13 changes:
14
15 (c) ATLAS Collaboration 2008
16
17 This class is intended to store
18 in different vectors the secondary and primary tracks, according to a first
19 selection done by the JetFitter.
20
21 Why is this class needed? Later on, to calculate the energy coming from tracks from
22 the primary vertex you need to know also which are the tracks that you didn't use in the
23 real fit. The secondaries are intended more for book keeping or to be used later
24 in an IP Tagger.
25
26
27 ***************************************************************************/
28
29#ifndef VXJETVERTEX_SelectedTracksInJet_H
30#define VXJETVERTEX_SelectedTracksInJet_H
31
32#include <vector>
33
35
36namespace Trk
37{
38
40 {
41 public:
42
43
49
50
55
59 SelectedTracksInJet(std::vector<const ITrackLink*> & primaryTrackLinks,
60 std::vector<const ITrackLink*> & secondaryTrackLinks);
61
67
71 void setPrimaryTrackLinks(std::vector<const ITrackLink*> & primaryTrackLinks);
72
73
77 void setSecondaryTrackLinks(std::vector<const ITrackLink*> & secondaryTracLinks);
78
82 const std::vector<const ITrackLink*> & getPrimaryTrackLinks() const ;
83
84
88 const std::vector<const ITrackLink*> & getSecondaryTrackLinks() const ;
89
90 private:
91 std::vector<const ITrackLink*> m_primaryTrackLinks;
92 std::vector<const ITrackLink*> m_secondaryTrackLinks;
93 };
94
95}//end namespace
96
97#endif
const std::vector< const ITrackLink * > & getSecondaryTrackLinks() const
Get the secondary tracks (please do not delete the pointers)
void setPrimaryTrackLinks(std::vector< const ITrackLink * > &primaryTrackLinks)
Set the primary tracks (takes ownership of pointers)
void setSecondaryTrackLinks(std::vector< const ITrackLink * > &secondaryTracLinks)
Set the secondary tracks (takes ownership of pointers)
const std::vector< const ITrackLink * > & getPrimaryTrackLinks() const
Get the priamry tracks (please do not delete the pointers)
std::vector< const ITrackLink * > m_primaryTrackLinks
SelectedTracksInJet & operator=(const SelectedTracksInJet &)
SelectedTracksInJet()
Default constructor, if called initializes a VxVertexOnJetAxis with all data members set to 0.
std::vector< const ITrackLink * > m_secondaryTrackLinks
Ensure that the ATLAS eigen extensions are properly loaded.