PandaRoot
PndSTETrackCreator.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 PndSTETrackCreator_H_
24 #define PndSTETrackCreator_H_
25 
26 #include "PndSTETrackBase.h"
27 
28 #include "TClonesArray.h"
29 
30 #include <vector>
31 
32 class TClonesArray;
33 
35  public:
38 
41 
42  };
43 
52  void AddHitsToMvdTrack(TClonesArray *inputTrackArray, TClonesArray *inputRiemannTrackArray, TClonesArray *inputTrackCandArray, TClonesArray *inputPixelArray,
53  TClonesArray *inputStripArray);
54 
61  void AddHitsToGemOrBtofTrack(TClonesArray *inputTrackArray, TClonesArray *inputTrackCandArray, TClonesArray *inputGemOrBtofArray);
62 
64  void CreateTracks();
65 
66  private:
67  TClonesArray *fInputPndTracks; // Array of input tracks
68  TClonesArray *fInputPndRiemannTracks; // Array of input Riemann tracks
69  TClonesArray *fInputPndTrackCands; // Array of track cands
70 
71  TClonesArray *fInputMvdHitsPixels; // Input pixel hit array
72  TClonesArray *fInputMvdHitsStrips; // Input strip hit array
73 
74  TClonesArray *fInputGemOrBtofHits; // Input Gem hit or Btof hit array
75 
76  ClassDef(PndSTETrackCreator, 1);
77 };
78 
79 #endif /* PndSTETrackCreator_H_ */
void CreateTracks()
The function that calls the correct algorithms according to user settings.
void AddHitsToGemOrBtofTrack(TClonesArray *inputTrackArray, TClonesArray *inputTrackCandArray, TClonesArray *inputGemOrBtofArray)
Function to call the chosen function to add Gem or Btof hits to a track.
void AddHitsToMvdTrack(TClonesArray *inputTrackArray, TClonesArray *inputRiemannTrackArray, TClonesArray *inputTrackCandArray, TClonesArray *inputPixelArray, TClonesArray *inputStripArray)
Function to call the chosen function to add Mvd hits to a track.