#ifndef PNDSDSPIXELCLUSTERFINDER_H #define PNDSDSPIXELCLUSTERFINDER_H #include #include "PndSdsDigiPixel.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 PndSdsPixelClusterFinder { public : PndSdsPixelClusterFinder(){}; PndSdsPixelClusterFinder(std::vector params, std::vector hits) { fParams = params; fHits = hits; fVerbose = 0; }; // virtual ~PndSdsPixelClusterFinder(); 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 fHits; Int_t fVerbose; std::vector fParams; ClassDef(PndSdsPixelClusterFinder, 2); }; #endif