25 class CDCTrigger3DHTrack :
public Helix {
28 CDCTrigger3DHTrack():
Helix() {}
43 void setQuadrant(
const short quadrant) { m_quadrant = quadrant; };
44 void setNNTClassification(
const double classification) { m_classificationNNT = classification; }
45 void setSTTClassification(
const double classification) { m_classificationSTT = classification; }
46 void setTotalMomentum(
const double totalMomentum) { m_totalMomentum = totalMomentum; }
47 void setTime(
const int time) { m_time = time; }
48 void setDriftThreshold(
const std::vector<bool>& driftThreshold) { m_driftThreshold = driftThreshold; }
49 void setTSVector(
const std::array<unsigned short, 9>& tsVector) { m_tsVector = tsVector; }
50 void setValidTrackBit(
const bool validTrackBit) { m_validTrackBit = validTrackBit; }
51 void setNNTBit(
const bool nntBit) { m_nntBit = nntBit; }
52 void setSTTBit(
const bool sttBit) { m_sttBit = sttBit; }
53 void setFloatInput(
const std::vector<float>& floatInput) { m_floatInput = floatInput; }
54 void setRawInput(
const std::vector<int>& rawInput) { m_rawInput = rawInput; }
55 void setRawOutput(
const std::vector<int>& rawOutput) { m_rawOutput = rawOutput; }
56 void setRaw3DHMaximum(
const std::array<int, 4>& raw3DHMaximum) { m_raw3DHMaximum = raw3DHMaximum; }
57 void setHoughSpace(
const std::vector<uint8_t>& houghSpace) { m_houghSpace = std::move(houghSpace); }
60 short getQuadrant()
const {
return m_quadrant; }
61 double getNNTClassification()
const {
return m_classificationNNT; }
62 double getSTTClassification()
const {
return m_classificationSTT; }
63 double getTotalMomentum()
const {
return m_totalMomentum; }
64 float getTime()
const {
return m_time; }
65 std::vector<bool> getDriftThreshold()
const {
return m_driftThreshold; }
66 std::array<unsigned short, 9> getTSVector()
const {
return m_tsVector; }
69 const double bField = 1.5;
70 return getTransverseMomentum(bField);
72 bool getValidTrackBit()
const {
return m_validTrackBit; }
73 bool getNNTBit()
const {
return m_nntBit; }
74 bool getSTTBit()
const {
return m_sttBit; }
75 std::vector<float> getFloatInput()
const {
return m_floatInput; }
76 std::vector<int> getRawInput()
const {
return m_rawInput; }
77 std::vector<int> getRawOutput()
const {
return m_rawOutput; }
78 std::array<int, 4> getRaw3DHMaximum()
const {
return m_raw3DHMaximum; }
79 std::vector<int> getHoughSpace()
const {
return std::vector<int>(m_houghSpace.begin(), m_houghSpace.end()); }
85 std::vector<bool> m_driftThreshold;
87 std::array<unsigned short, 9> m_tsVector{0};
91 double m_classificationNNT{-1.0};
93 double m_classificationSTT{-1.0};
95 double m_totalMomentum{-1.0};
97 bool m_validTrackBit{
false};
101 bool m_sttBit{
false};
103 std::vector<float> m_floatInput;
105 std::vector<int> m_rawInput;
107 std::vector<int> m_rawOutput;
109 std::array<int, 4> m_raw3DHMaximum;
111 std::vector<uint8_t> m_houghSpace;
113 ClassDef(CDCTrigger3DHTrack, 1);
Helix(const HepPoint3D &pivot, const HepVector &a, const HepSymMatrix &Ea)
Constructor with pivot, helix parameter a, and its error matrix.