TpcPoint.cxx 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //-----------------------------------------------------------
  2. // File and Version Information:
  3. // $Id$
  4. //
  5. // Description:
  6. // Implementation of class TpcPoint
  7. // see TpcPoint.hh for details
  8. //
  9. // Environment:
  10. // Software developed for the PANDA Detector at FAIR.
  11. //
  12. // Author List:
  13. // Sebastian Neubert TUM (original author)
  14. //
  15. //
  16. //-----------------------------------------------------------
  17. // Panda Headers ----------------------
  18. // This Class' Header ------------------
  19. #include "TpcPoint.h"
  20. // C/C++ Headers ----------------------
  21. #include <iostream>
  22. // Collaborating Class Headers --------
  23. // Class Member definitions -----------
  24. TpcPoint::TpcPoint()
  25. : FairMCPoint()
  26. {}
  27. TpcPoint::TpcPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom,
  28. Double_t tof, Double_t length, Double_t eLoss)
  29. : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss)
  30. {}
  31. void
  32. TpcPoint::Print(const Option_t*) const {
  33. std::cout<<"TpcPoint\n"
  34. <<" Pos("<<fX<<","<<fY<<","<<fZ<<")\n"
  35. <<" dE="<< fELoss << fTrackID
  36. <<std::endl;
  37. }
  38. ClassImp(TpcPoint)