//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Cluster Finding in the TPC: // ClusterFinder administrating SectorProcessors // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCCLUSTERFINDER_HH #define TPCCLUSTERFINDER_HH // Base Class Headers ---------------- // Collaborating Class Headers ------- #include #include //#include "TpcDigi.h" //#include "TpcCluster.h" // Collaborating Class Declarations -- class TpcPadPlane; class padprocessor; class TpcSectorProcessor; class TpcDigi; class TpcCluster; class TpcClusterFinder { public: // Constructors/Destructors --------- TpcClusterFinder(TpcPadPlane* p, std::vector* output_buffer, unsigned int timeslice); ~TpcClusterFinder(); // Operators // Accessors ----------------------- // Modifiers ----------------------- // Operations ---------------------- void process(std::vector& digis); void reset(); void putDigi(TpcDigi* digi); void setTrivialClustering(bool flag=true){_trcl=flag;} void checkConsistency(); private: // Private Data Members ------------ std::map _sproc; TpcPadPlane* _padplane; std::vector* _output_buffer; bool _trcl; // trivial clustering flag; unsigned int _dt; // time slice in units of sample time // Private Methods ----------------- }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------