//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Implementation of class TpcSample // see TpcSample.hh for details // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- // This Class' Header ------------------ #include "TpcSample.h" // C/C++ Headers ---------------------- // Collaborating Class Headers -------- // Class Member definitions ----------- ClassImp(TpcSample) TpcSample::TpcSample() : _amp(0),_t(0),_padId(0) {;} TpcSample::TpcSample( const int t, const int Amp, const unsigned int PadID, const McId& mcid) : _amp(Amp),_t(t),_padId(PadID),_mcId(mcid) {;} TpcSample::~TpcSample() { } bool operator== (const TpcSample& lhs, const TpcSample& rhs){ return lhs._t==rhs._t && lhs._amp==rhs._amp && lhs._padId==rhs._padId; } bool operator< (const TpcSample& lhs, const TpcSample& rhs){ return lhs._t