#ifndef PNDMVDPIXELCLUSTERFINDER_H #define PNDMVDPIXELCLUSTERFINDER_H #include #include "PndMvdDigiPixel.h" //! Base class for cluster finding algorithms /** @author Tobias Stockmanns * As input it gets all digis to be analyzed and a set of parameters vector * The output is a vector< vector > which contains the position of the hits in the TClonesArray containing the Digis */ class PndMvdPixelClusterFinder { public : PndMvdPixelClusterFinder(){}; PndMvdPixelClusterFinder(std::vector params, std::vector hits){ fParams = params; fHits = hits; fVerbose = 0; }; virtual std::vector< std::vector < Int_t > > GetClusters() = 0; void Print(); void Print(std::vector hits); void PrintResult(std::vector > clusters); void SetVerbose(Int_t level){fVerbose = level;}; std::vector fParams; std::vector fHits; Int_t fVerbose; ClassDef(PndMvdPixelClusterFinder, 2); }; #endif