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