//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Tpc Digitization // Implementation of a concrete pulse shape analyzer // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCSIMPLEPSASTRATEGY_HH #define TPCSIMPLEPSASTRATEGY_HH // Base Class Headers ---------------- #include "TpcAbsPSAStrategy.h" // Collaborating Class Headers ------- #include // remove if you do not need streaming op #include #include "McIdCollection.h" // Collaborating Class Declarations -- class TpcSimplePSAStrategy : public TpcAbsPSAStrategy { public: // Constructors/Destructors --------- TpcSimplePSAStrategy(const unsigned int threshold); virtual ~TpcSimplePSAStrategy(){;} // Accessors ----------------------- // Modifiers ----------------------- // Operations ---------------------- virtual TpcDigi* ProcessNext(const TpcSample* sample); virtual void Process(const std::vector & samples, std::vector& digis); private: // Private Data Members ------------ unsigned int _currentPadID; bool _inprogress; unsigned int _amp; unsigned int _t; unsigned int _threshold; McIdCollection _mcid; // Private Methods ----------------- }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------