TpcPoint.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. //-----------------------------------------------------------
  2. // File and Version Information:
  3. // $Id$
  4. //
  5. // Description:
  6. // Monte Carlo Point in the TPC
  7. //
  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. #ifndef TPCPOINT_HH
  18. #define TPCPOINT_HH
  19. // Base Class Headers ----------------
  20. #include "FairMCPoint.h"
  21. // Collaborating Class Headers -------
  22. #include <ostream> // remove if you do not need streaming op
  23. // Collaborating Class Declarations --
  24. class TpcPoint : public FairMCPoint {
  25. public:
  26. // Constructors/Destructors ---------
  27. TpcPoint();
  28. TpcPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom,
  29. Double_t tof, Double_t length, Double_t eLoss);
  30. virtual ~TpcPoint(){;}
  31. // Operators
  32. // Accessors -----------------------
  33. // Modifiers -----------------------
  34. // Operations ----------------------
  35. virtual void Print(const Option_t* opt=0) const ;
  36. Double_t GetStep() const { return fStep; } ///> return step length
  37. void SetStep(Double_t step) { fStep = step; } ///> set step length
  38. private:
  39. // Private Data Members ------------
  40. Double32_t fStep; // step length
  41. // Private Methods -----------------
  42. public:
  43. ClassDef(TpcPoint,2)
  44. };
  45. #endif
  46. //--------------------------------------------------------------
  47. // $Log$
  48. //--------------------------------------------------------------