PandaRoot
PndTrkClean.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 
18 #ifndef PNDTRKCLEAN_H
19 #define PNDTRKCLEAN_H 1
20 
21 #include "PndGeoHandling.h"
22 #include "PndTrkCluster.h"
23 #include "PndTrkClusterList.h"
24 #include "PndTrkHit.h"
25 #include "TClonesArray.h"
26 
27 class PndTrkClean : public TObject {
28  public:
29  PndTrkClean();
30  PndTrkClean(TClonesArray *tubearray);
31  ~PndTrkClean();
32 
33  int FindMvdLayer(int sensorID);
35  Bool_t CheckPairOfHits(PndTrkHit *hit1, PndTrkHit *hit2);
37  PndTrkCluster CleanSectors(PndTrkCluster *cluster, int sector);
39  PndTrkClusterList Split(PndTrkCluster *cluster, std::vector<int> breakpoints);
40  Bool_t SplitAtHit(PndTrkCluster *hitlist, PndTrkHit *athit, PndTrkCluster &cluster1, PndTrkCluster &cluster2);
41 
42  protected:
44  TClonesArray *fTubeArray;
46 };
47 
48 #endif
int FindMvdLayer(int sensorID)
ClassDef(PndTrkClean, 1)
PndTrkClusterList MergeClusters(PndTrkClusterList *clusterlist)
TClonesArray * fTubeArray
Definition: PndTrkClean.h:44
Bool_t CheckPairOfHits(PndTrkHit *hit1, PndTrkHit *hit2)
Class to access the naming information of the MVD.
Bool_t SplitAtHit(PndTrkCluster *hitlist, PndTrkHit *athit, PndTrkCluster &cluster1, PndTrkCluster &cluster2)
int CheckSectorDistribution(PndTrkCluster *cluster)
PndTrkClusterList Split(PndTrkCluster *cluster, std::vector< int > breakpoints)
PndTrkCluster CleanSectors(PndTrkCluster *cluster, int sector)
PndGeoHandling * fGeoH
Definition: PndTrkClean.h:43
PndTrkClusterList Cleanup2(PndTrkCluster *cluster)