PandaRoot
PndFtsExpandedTrackCand.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 /*
14  * PndFtsExpandedTrackCand.h
15  *
16  * Created on: Jun 2, 2016
17  * Author: kibellus
18  */
19 
20 #ifndef PNDTOOLS_PNDFORWARDTRACKFINDER_PNDFTSEXPANDEDTRACKCAND_H_
21 #define PNDTOOLS_PNDFORWARDTRACKFINDER_PNDFTSEXPANDEDTRACKCAND_H_
22 
23 #include "PndLine.h"
24 #include <vector>
25 #include "PndTrackCand.h"
26 #include "PndFtsHit.h"
27 #include "PndLineApproximation.h"
28 
29 using namespace std;
30 
32  public:
33  PndFtsExpandedTrackCand(PndTrackCand pndTrackCand, vector<PndFtsHit *> sourceHits, vector<PndLineApproximation> approximations)
34  : fPndTrackCand(pndTrackCand), fSourceHits(sourceHits), fApproximations(approximations)
35  {
36  }
37  PndFtsExpandedTrackCand(vector<PndFtsHit *> h1, vector<PndFtsHit *> h2, vector<PndLineApproximation> l);
38  virtual ~PndFtsExpandedTrackCand();
39  vector<PndLineApproximation> getLineApproximations() { return fApproximations; }
40  vector<PndFtsHit *> getSourceHits() { return fSourceHits; }
41  PndTrackCand getTrackCand() { return fPndTrackCand; }
42 
43  private:
44  PndTrackCand fPndTrackCand;
45  vector<PndFtsHit *> fSourceHits;
46  vector<PndLineApproximation> fApproximations;
47 };
48 
49 #endif /* PNDTOOLS_PNDFORWARDTRACKFINDER_PNDFTSEXPANDEDTRACKCAND_H_ */
PndFtsExpandedTrackCand(PndTrackCand pndTrackCand, vector< PndFtsHit *> sourceHits, vector< PndLineApproximation > approximations)
STL namespace.
vector< PndFtsHit * > getSourceHits()
vector< PndLineApproximation > getLineApproximations()