PandaRoot
PndSegmentationPreselectSttHits.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 #pragma once
14 
15 #include "TClonesArray.h"
16 #include "TVector3.h"
17 #include <vector>
18 #include <iostream>
19 
20 #include "PndSttHit.h"
21 #include "PndPreselectSttHits.h"
22 #include "PndSttCAData.h"
23 #include "PndSttStrawMap.h"
24 
26  public:
28 
30 
31  std::vector<std::vector<PndSttHit *>> PreselectSttHits();
32 
33  void Init(TClonesArray *sttHits, TClonesArray *tubeArray = nullptr);
34  void SetCombinedSkewed(TClonesArray *combinedskewed) { fCombinedSkewedHitArray = combinedskewed; }
35 
36  private:
37  TClonesArray *fCombinedSkewedHitArray = nullptr;
38  PndSttStrawMap *fStrawMap;
39 };
void Init(TClonesArray *sttHits, TClonesArray *tubeArray=nullptr)
std::vector< std::vector< PndSttHit * > > PreselectSttHits()
void SetCombinedSkewed(TClonesArray *combinedskewed)