PandaRoot
PndSdsIdealPixelClusterFinder.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 #ifndef PNDSDSIDEALPIXELCLUSTERFINDER_H
14 #define PNDSDSIDEALPIXELCLUSTERFINDER_H
15 
17 #include "PndSdsDigiPixel.h"
18 #include "TClonesArray.h"
19 #include <vector>
22 
24  public:
26  // PndSdsIdealPixelClusterFinder(std::vector<PndSdsDigiPixel> hits):
27  // PndSdsPixelClusterFinder(hits){
28  // if(fVerbose>0) std::cout << "Hits in array: " << fHits.size() << std::endl;
29  // };
31  std::vector<std::vector<Int_t>> GetClusters(std::vector<PndSdsDigiPixel> hits);
32  Int_t MoveHit(std::vector<Int_t> *hitVector, Int_t index) const;
33  bool IsInRange(PndSdsDigiPixel hit1, PndSdsDigiPixel hit2) const;
34 };
35 #endif
Int_t MoveHit(std::vector< Int_t > *hitVector, Int_t index) const
bool IsInRange(PndSdsDigiPixel hit1, PndSdsDigiPixel hit2) const
Base class for cluster finding algorithms.
std::vector< std::vector< Int_t > > GetClusters(std::vector< PndSdsDigiPixel > hits)
Data class to store the digi output of a pixel module.