BmdPoint.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //-----------------------------------------------------------
  2. // File and Version Information:
  3. // $Id$
  4. //
  5. // Description:
  6. // Monte Carlo Point in the BMD
  7. //
  8. //
  9. // Environment:
  10. // Software developed for the PANDA Detector at FAIR.
  11. //
  12. // Author List:
  13. // Pedro González TUM (original author)
  14. //
  15. //
  16. //-----------------------------------------------------------
  17. #ifndef BMDPOINT_HH
  18. #define BMDPOINT_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 BmdPoint : public FairMCPoint {
  25. public:
  26. // Constructors/Destructors ---------
  27. BmdPoint();
  28. BmdPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom,
  29. Double_t tof, Double_t length, Double_t eLoss);
  30. virtual ~BmdPoint(){;}
  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. Double_t pT;
  42. Double_t eta;
  43. //Int_t pdgCode;
  44. // Private Methods -----------------
  45. public:
  46. ClassDef(BmdPoint,1)
  47. };
  48. #endif
  49. //--------------------------------------------------------------
  50. // $Log$
  51. //--------------------------------------------------------------