PandaRoot
PndSTEBTof.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 
23 #ifndef PndSTEBTof_H_
24 #define PndSTEBTof_H_
25 
26 #include "PndSTETrackBase.h"
27 #include "PndSciTHit.h"
28 #include "TClonesArray.h"
29 
30 #include <vector>
31 
32 class TClonesArray;
33 
34 class PndSTEBTof : public PndSTETrackBase {
35  public:
38 
40  virtual ~PndSTEBTof(){
41 
42  };
43 
44  // TODO: THis funcction might need to be changed since one do not want PID detector hits in a track
51  void AddHit(TClonesArray *initialTrackArray, TClonesArray *initialTrackCandArray, TClonesArray *initialHitArray);
52 
53  private:
62  PndSciTHit *FindBestHitWithHelix(PndTrack btofTrack, TClonesArray *inputHitArray);
63 
64  ClassDef(PndSTEBTof, 1);
65 };
66 
67 #endif /* PndSTEBTof_H_ */
void AddHit(TClonesArray *initialTrackArray, TClonesArray *initialTrackCandArray, TClonesArray *initialHitArray)
Function to add the chosen hit to a track candidate.
virtual ~PndSTEBTof()
Definition: PndSTEBTof.h:40