PandaRoot
PndSttSkewStrawPzFinderData.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  * PndSttSkewStrawPzFinderData.h
15  *
16  * Created on: Jun 29, 2016
17  * Author: walan603
18  */
19 
20 #ifndef PNDSTTSKEWSTRAWPZFINDERDATA_H
21 #define PNDSTTSKEWSTRAWPZFINDERDATA_H
22 
23 // Base Class Headers
24 #include "TObject.h"
25 #include "TVector2.h"
26 #include "FairTimeStamp.h"
27 #include "PndSttHit.h"
28 
29 #include <iostream>
30 
31 using namespace std;
32 
33 class PndSttSkewStrawPzFinderData : public FairTimeStamp {
34  public:
36  virtual ~PndSttSkewStrawPzFinderData();
37 
38  unsigned int getMethod() const { return fMethod; }
39  void setMethod(unsigned int input) { fMethod = input; }
40 
41  vector<PndSttHit> getSttHits() { return skewHits; }
42  void setSttHits(const vector<PndSttHit> &input) { skewHits = input; }
43 
44  double getLineIntercept() const { return LineIntercept; }
45  void setLineIntercept(double input) { LineIntercept = input; }
46 
47  double getLineSlope() const { return LineSlope; }
48  void setLineSlope(double input) { LineSlope = input; }
49 
50  const TVector2 &getCenter() const { return center; }
51  void setCenter(const TVector2 &input) { center = input; }
52 
53  double getRadius() const { return radius; }
54  void setRadius(double input) { radius = input; }
55 
56  double getS0() const { return Snot; }
57  void setS0(double input) { Snot = input; }
58 
59  const vector<vector<TVector2>> &getSZPairVector() const { return SZPairVector; }
60  void setSZPairVector(const vector<vector<TVector2>> &input) { SZPairVector = input; }
61 
62  const vector<pair<unsigned int, unsigned int>> &getTrueSZindex() const { return TrueSZindex; }
63  void setTrueSZindex(const vector<pair<unsigned int, unsigned int>> &input) { TrueSZindex = input; }
64 
65  const vector<vector<TVector2>> &getTrueSZ() const { return TrueSZ; }
66  void setTrueSZ(const vector<vector<TVector2>> &input) { TrueSZ = input; }
67 
68  const vector<TVector2> &getSZPairVectorMvdPixel() const { return SZPairVectorMvdPixel; }
69  void setSZPairVectorMvdPixel(const vector<TVector2> &input) { SZPairVectorMvdPixel = input; }
70 
71  const vector<TVector2> &getTrueSZMvdPixel() const { return TrueSZMvdPixel; }
72  void setTrueSZMvdPixel(const vector<TVector2> &trueSZMvdPixel) { TrueSZMvdPixel = trueSZMvdPixel; }
73 
74  const vector<TVector2> &getSZPairVectorMvdStrip() const { return SZPairVectorMvdStrip; }
75  void setSZPairVectorMvdStrip(const vector<TVector2> &input) { SZPairVectorMvdStrip = input; }
76 
77  const vector<TVector2> &getTrueSZMvdStrip() const { return TrueSZMvdStrip; }
78  void setTrueSZMvdStrip(const vector<TVector2> &input) { TrueSZMvdStrip = input; }
79 
80  const vector<TVector2> &getSZPairVectorGem() const { return SZPairVectorGem; }
81  void setSZPairVectorGem(const vector<TVector2> &input) { SZPairVectorGem = input; }
82 
83  const vector<TVector2> &getTrueSZGem() const { return TrueSZGem; }
84  void setTrueSZGem(const vector<TVector2> &input) { TrueSZGem = input; }
85 
86  const vector<vector<PndSttHit>> &getAlignedSkewStt() const { return AlignedSkewStt; }
87  void setAlignedSkewStt(const vector<vector<PndSttHit>> &input) { AlignedSkewStt = input; }
88 
89  private:
90  unsigned int fMethod; // 0 = use all hits, 1 = Recursive Line Fit, 2 = Combi line Finder, 3 = Hough Transform
91  double LineSlope;
92  double LineIntercept;
93  TVector2 center;
94  double radius;
95  double Snot;
96  vector<PndSttHit> skewHits;
97 
98  vector<vector<TVector2>> SZPairVector;
99  vector<pair<unsigned int, unsigned int>> TrueSZindex; // indices of selected SZ positions in SZPairVector.
100  vector<vector<TVector2>> TrueSZ;
101  vector<TVector2> SZPairVectorMvdPixel;
102  vector<TVector2> TrueSZMvdPixel;
103  vector<TVector2> SZPairVectorMvdStrip;
104  vector<TVector2> TrueSZMvdStrip;
105  vector<TVector2> SZPairVectorGem;
106  vector<TVector2> TrueSZGem;
107 
108  vector<vector<PndSttHit>> AlignedSkewStt;
109 
110  ClassDef(PndSttSkewStrawPzFinderData, 1)
111 };
112 
113 #endif /* PNDTOOLS_STTCELLTRACKFINDER_PNDSTTSKEWSTRAWPZFINDERDATA_H_ */
void setTrueSZGem(const vector< TVector2 > &input)
const vector< TVector2 > & getTrueSZMvdStrip() const
void setTrueSZindex(const vector< pair< unsigned int, unsigned int >> &input)
const vector< TVector2 > & getSZPairVectorGem() const
STL namespace.
const vector< vector< PndSttHit > > & getAlignedSkewStt() const
void setSttHits(const vector< PndSttHit > &input)
const vector< TVector2 > & getSZPairVectorMvdPixel() const
const vector< vector< TVector2 > > & getSZPairVector() const
void setTrueSZMvdPixel(const vector< TVector2 > &trueSZMvdPixel)
const vector< TVector2 > & getTrueSZGem() const
void setSZPairVector(const vector< vector< TVector2 >> &input)
void setCenter(const TVector2 &input)
void setSZPairVectorGem(const vector< TVector2 > &input)
void setTrueSZ(const vector< vector< TVector2 >> &input)
const vector< TVector2 > & getTrueSZMvdPixel() const
void setSZPairVectorMvdPixel(const vector< TVector2 > &input)
void setSZPairVectorMvdStrip(const vector< TVector2 > &input)
void setTrueSZMvdStrip(const vector< TVector2 > &input)
const vector< vector< TVector2 > > & getTrueSZ() const
const vector< pair< unsigned int, unsigned int > > & getTrueSZindex() const
void setAlignedSkewStt(const vector< vector< PndSttHit >> &input)
const vector< TVector2 > & getSZPairVectorMvdStrip() const