PandaRoot
PndSttTrackFinder.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 // ----- PndSttTraer. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substickFinder header file -----
15 // ----- Created 28/03/06 by R. Castelijns -----
16 // -------------------------------------------------------------------------
17 
27 #ifndef PNDSTTTRACKFINDER
28 #define PNDSTTTRACKFINDER 1
29 
30 #include "TObject.h"
31 #include "TList.h"
32 #include <iostream>
33 
34 class TClonesArray;
35 
36 class PndSttTrackFinder : public TObject {
37  public:
40 
42  virtual ~PndSttTrackFinder(){};
43 
47  virtual void Init(){};
48 
54  virtual Int_t DoFind(TClonesArray *trackArray, TClonesArray *helixHitArray) = 0;
55  virtual Int_t DoFind(TClonesArray *trackArray, TClonesArray *trackCandArray, TClonesArray *helixHitArray) = 0; // CHECK
56 
60  virtual void Finish() = 0;
61 
62  virtual void AddHitCollection(TClonesArray *mHitArray, TClonesArray *mPointArray) = 0;
63 
67  void SetVerbose(Int_t verbose) { fVerbose = verbose; };
68 
70  void SetHelixHitProduction(Bool_t hhprod) { fHelixHitProduction = hhprod; };
71 
73  virtual void SetTubeArray(TClonesArray *tubeArray) = 0;
74 
75  virtual void SetInputBranchName(char *string1) = 0;
76 
77  private:
78  protected:
79  Int_t fVerbose; // Verbosity level
82 
84 };
85 
86 #endif
virtual Int_t DoFind(TClonesArray *trackArray, TClonesArray *helixHitArray)=0
virtual void SetTubeArray(TClonesArray *tubeArray)=0
ClassDef(PndSttTrackFinder, 1)
virtual void SetInputBranchName(char *string1)=0
void SetVerbose(Int_t verbose)
virtual void AddHitCollection(TClonesArray *mHitArray, TClonesArray *mPointArray)=0
virtual ~PndSttTrackFinder()
virtual void Init()
virtual void Finish()=0
void SetHelixHitProduction(Bool_t hhprod)