MpdEmcPoint.h 993 B

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