PandaRoot
PndSTEMvdHitFinder.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 
25 #ifndef PndSTEMvdHitFinder_H_
26 #define PndSTEMvdHitFinder_H_
27 
28 #include "PndSTETrackBase.h"
29 #include "PndTrackCand.h"
30 #include "PndRiemannTrack.h"
31 #include "TClonesArray.h"
32 #include "PndTrack.h"
33 #include "PndSdsHit.h"
34 #include "FairLink.h"
35 #include "FairMultiLinkedData.h"
36 
37 #include <vector>
38 
39 class TClonesArray;
40 
41 class PndGemDigiPar;
42 
44  public:
47 
50 
51  };
52 
59  std::vector<PndSdsHit *> FindBestHits3D(PndRiemannTrack mvdRiemannTrack, TClonesArray *mvdPixelHitsArray, TClonesArray *mvdStripHitsArray);
60 
68  std::vector<PndSdsHit *> FindBestHitsFromRiemannTrack(PndRiemannTrack riemannTrack, TClonesArray *mvdPixelHitsArray, TClonesArray *mvdStripHitsArray);
69 
77  std::vector<PndSdsHit *> FindBestHitsWithHelix(PndTrack *mvdTrack, TClonesArray *mvdPixelHitsArray, TClonesArray *mvdStripHitsArray);
78 
84  void SetXYPosTrack(double x, double y)
85  {
86  fXposTrack = x;
87  fYposTrack = y;
88  }
89 
90  private:
91  double fXposTrack = 0.0; // X-position of the first hit in the track
92  double fYposTrack = 0.0; // Y-position of the first hit in the track
93 
94  ClassDef(PndSTEMvdHitFinder, 1);
95 };
96 
97 #endif /* PndSTEMvdHitFinder_H_ */
Digitization Parameter Class for GEM part.
Definition: PndGemDigiPar.h:42
void SetXYPosTrack(double x, double y)
Funtion to set the x and y psition of the first hit of the track.
std::vector< PndSdsHit * > FindBestHitsWithHelix(PndTrack *mvdTrack, TClonesArray *mvdPixelHitsArray, TClonesArray *mvdStripHitsArray)
Function for finding the best fitting MVD hits to the track in 3D.
std::vector< PndSdsHit * > FindBestHits3D(PndRiemannTrack mvdRiemannTrack, TClonesArray *mvdPixelHitsArray, TClonesArray *mvdStripHitsArray)
Function for finding the best fitting MVD hits to the track in 3D.
std::vector< PndSdsHit * > FindBestHitsFromRiemannTrack(PndRiemannTrack riemannTrack, TClonesArray *mvdPixelHitsArray, TClonesArray *mvdStripHitsArray)
Function to find the hits fitting the best with one Riemann track.