MpdFsaPoint.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //------------------------------------------------------------------------------------------------------------------------
  2. // -------------------------------------------------------------------------
  3. // ----- MpdBbcPoint header file -----
  4. // -------------------------------------------------------------------------
  5. #ifndef MPDBBCPOINT_H
  6. #define MPDBBCPOINT_H
  7. #include "TObject.h"
  8. #include "TVector3.h"
  9. #include "FairMCPoint.h"
  10. using namespace std;
  11. //------------------------------------------------------------------------------------------------------------------------
  12. class MpdFsaPoint : public FairMCPoint
  13. {
  14. public:
  15. /** Constructor with arguments
  16. *@param trackID Index of MCTrack
  17. *@param detID Detector ID
  18. *@param pos Ccoordinates at entrance to active volume [cm]
  19. *@param mom Momentum of track at entrance [GeV]
  20. *@param tof Time since event start [ns]
  21. *@param length Track length since creation [cm]
  22. *@param eLoss Energy deposit [GeV]
  23. **/
  24. MpdFsaPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss);
  25. MpdFsaPoint(const MpdFsaPoint& point) { *this = point; };
  26. MpdFsaPoint();
  27. virtual ~MpdFsaPoint();
  28. // Output to screen
  29. virtual void Print(const Option_t* opt) const;
  30. ClassDef(MpdFsaPoint,1)
  31. };
  32. //------------------------------------------------------------------------------------------------------------------------
  33. #endif