//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Tpc PSA: Pulse shape analysis // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCCLUSTERFINDERTASK_HH #define TPCCLUSTERFINDERTASK_HH // Base Class Headers ---------------- #include "CbmTask.h" // Collaborating Class Headers ------- #include "TpcCluster.h" // Collaborating Class Declarations -- class TClonesArray; class TpcFrontend; class TpcClusterFinder; class TpcClusterFinderTask : public CbmTask { public: // Constructors/Destructors --------- TpcClusterFinderTask(); ~TpcClusterFinderTask(); // Operators // Accessors ----------------------- // Modifiers ----------------------- void SetDigiBranchName(const TString& name) {_digiBranchName=name;} void SetPersistence(Bool_t opt=kTRUE) {_persistence=opt;} void timeslice(unsigned int t){_timeslice=t;} // Operations ---------------------- virtual InitStatus Init(); virtual void Exec(Option_t* opt); private: // Private Data Members ------------ TString _digiBranchName; TClonesArray* _clusterArray; TClonesArray* _digiArray; Bool_t _persistence; unsigned int _timeslice; TpcFrontend* _frontend; TpcClusterFinder* _finder; std::vector* _cluster_buffer; // Private Methods ----------------- public: ClassDef(TpcClusterFinderTask,1) }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------