//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Implementation of class PndTpcSample // see PndTpcSample.hh for details // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // Xiaodong Zhang TUM (modify it on Oct. 06, 2009) // Maxence Vandenbroucke TUM (modify for crosstalk tagging 26 01 2010) //----------------------------------------------------------- // This Class' Header ------------------ #include "PndTpcSample.h" // C/C++ Headers ---------------------- // Collaborating Class Headers -------- // Class Member definitions ----------- ClassImp(PndTpcSample) PndTpcSample::PndTpcSample() : famp(0),ft(0),fpadId(0) {;} PndTpcSample::PndTpcSample( const int T, const int Amp, const unsigned int PadID, const McIdCollection& mcid) : famp(Amp),ft(T),fpadId(PadID),fmcId(mcid) {;} PndTpcSample::PndTpcSample( const int T, const int Amp, const unsigned int PadID) : famp(Amp),ft(T),fpadId(PadID) {;} PndTpcSample::~PndTpcSample() {;} bool operator== (const PndTpcSample& lhs, const PndTpcSample& rhs){ return lhs.ft==rhs.ft && lhs.famp==rhs.famp && lhs.fpadId==rhs.fpadId; } bool operator< (const PndTpcSample& lhs, const PndTpcSample& rhs){ return lhs.ft