//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Implementation of class TpcAbsPadShape // see TpcAbsPadShape.h for details // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Cristoforo Simonetto TUM (original author) // // //----------------------------------------------------------- // This Class' Header ------------------ #include "TpcAbsPadShape.h" // C/C++ Headers ---------------------- // Collaborating Class Headers -------- #include "TpcPRLookupTable.h" // Class Member definitions ----------- TpcAbsPadShape::TpcAbsPadShape(const unsigned int _ID) :lookupTable(0), ID(_ID) {;} TpcAbsPadShape::~TpcAbsPadShape() { if (lookupTable != 0) delete lookupTable; } double TpcAbsPadShape::GetValue(const double x, const double y) const { return(lookupTable->GetValue(x,y)); } bool operator== (const TpcAbsPadShape& lhs, const TpcAbsPadShape& rhs) { return(lhs.ID==rhs.ID); } std::ostream& operator<< (std::ostream& s, const TpcAbsPadShape& me) { return s << "TpcAbsPadShape\n" << "ID="<