TpcLhePoint.cxx 884 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #include "TpcLhePoint.h"
  2. ClassImp(TpcLhePoint)
  3. //________________________________________________________________________
  4. TpcLhePoint::TpcLhePoint() {
  5. // Default constructor.
  6. SetX(0.);
  7. SetY(0.);
  8. SetZ(0.);
  9. SetXerr(0.);
  10. SetYerr(0.);
  11. SetZerr(0.);
  12. }
  13. //________________________________________________________________________
  14. TpcLhePoint::TpcLhePoint(Double_t pos[3], Double_t err[3]) {
  15. SetX((Double_t) pos[0]);
  16. SetY((Double_t) pos[1]);
  17. SetZ((Double_t) pos[2]);
  18. SetXerr((Double_t) err[0]);
  19. SetYerr((Double_t) err[1]);
  20. SetZerr((Double_t) err[2]);
  21. }
  22. //________________________________________________________________________
  23. TpcLhePoint::TpcLhePoint(Double_t x, Double_t y, Double_t z) {
  24. SetX(x);
  25. SetY(y);
  26. SetZ(z);
  27. }
  28. //________________________________________________________________________
  29. TpcLhePoint::~TpcLhePoint() {
  30. //---
  31. }