PandaRoot
PndCAPreselectSttHits.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 
24 
26  public:
28  // PndPreselectSttHits(){ }
30  {
31  if (fCADataMap != nullptr)
32  delete(fCADataMap);
33  };
34 
35  std::vector<std::vector<PndSttHit *>> PreselectSttHits();
36 
37  void Init(TClonesArray* sttHits, TClonesArray* tubeArray = nullptr);
38 
39  private:
40  PndSttCAData* fCADataMap = nullptr;
41 
42 };
void Init(TClonesArray *sttHits, TClonesArray *tubeArray=nullptr)
std::vector< std::vector< PndSttHit * > > PreselectSttHits()