//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // PndTpc 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 "FairTask.h" // Collaborating Class Headers ------- #include "PndTpcCluster.h" // Collaborating Class Declarations -- class TClonesArray; class PndTpcFrontend; class PndTpcAbsClusterFinder; class PndTpcDigiPar; class PndTpcPadPlane; class PndTpcGem; class PndTpcFrontend; class PndTpcGas; class PndTpcClusterFinderTask : public FairTask { public: // Constructors/Destructors --------- PndTpcClusterFinderTask(); ~PndTpcClusterFinderTask(); // Operators // Accessors ----------------------- // Modifiers ----------------------- void SetDigiBranchName(const TString& name) {fdigiBranchName=name;} void SetPersistence(Bool_t opt=kTRUE) {fpersistence=opt;} void SetTrivialClustering(Bool_t opt=kTRUE) {ftrivial=opt;} void SetMode(int mode){fmode=mode;} void timeslice(unsigned int t){ftimeslice=t;} // Operations ---------------------- virtual InitStatus Init(); virtual void Exec(Option_t* opt); virtual void SetParContainers(); private: // Private Data Members ------------ TString fdigiBranchName; TClonesArray* fclusterArray; TClonesArray* fdigiArray; Bool_t fpersistence; Bool_t ftrivial; int fmode; unsigned int ftimeslice; const PndTpcFrontend* ffrontend; PndTpcPadPlane* fpadplane; const PndTpcGem* fgem; const PndTpcGas* fgas; double fzGem; PndTpcAbsClusterFinder* ffinder; PndTpcDigiPar* fpar; std::vector* fcluster_buffer; // Private Methods ----------------- public: ClassDef(PndTpcClusterFinderTask,1) }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------