#include "CbmSttHoughHitNew.h" #include void CbmSttHoughHitNew::Copy(CbmSttHoughHitNew const &other) { //cout << "in copy" << endl; fElement1 = other.GetElement1(); //cout << "done1" << endl; fElement2 = other.GetElement2(); //cout << "done2" << endl; fElement3 = other.GetElement3(); //cout << "done3" << endl; } void CbmSttHoughHitNew::Destroy() { } CbmSttHoughHitNew::CbmSttHoughHitNew(Int_t element1, Int_t element2, Int_t element3) { fElement1 = element1; fElement2 = element2; fElement3 = element3; } CbmSttHoughHitNew::CbmSttHoughHitNew() { fElement1 = -1; fElement2 = -1; fElement3 = -1; } CbmSttHoughHitNew::~CbmSttHoughHitNew() { Destroy(); } CbmSttHoughHitNew::CbmSttHoughHitNew(CbmSttHoughHitNew const &other) { //cout << "in copy constr" << endl; if (this != &other) { Destroy(); Copy(other); } } void CbmSttHoughHitNew::operator=(CbmSttHoughHitNew const &other) { Copy(other); } ClassImp(CbmSttHoughHitNew)