StHbtFsiWeight.hh 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /***************************************************************************
  2. *
  3. * $Id:
  4. *
  5. * Author: Laurent Conin, Fabrice Retiere, Subatech, France
  6. ***************************************************************************
  7. *
  8. * Description : Base class for the Weight calculator
  9. *
  10. ***************************************************************************
  11. *
  12. * $Log:
  13. *
  14. ***************************************************************************/
  15. #ifndef StHbtFsiWeight_hh
  16. #define StHbtFsiWeight_hh
  17. #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
  18. class StHbtThPair;
  19. class StHbtFsiWeight {
  20. public:
  21. StHbtFsiWeight();
  22. virtual ~StHbtFsiWeight();
  23. // This function provide a standard input for the weight calculator
  24. // No matter the hidden info format
  25. virtual double GetWeight(const StHbtThPair* aThPair)=0;
  26. // Use when the 3 body calculation is switched on
  27. virtual double GetWeightDen();
  28. virtual StHbtString Report();
  29. protected:
  30. double mWeightDen;
  31. #ifdef __ROOT__
  32. ClassDef(StHbtFsiWeight,1)
  33. #endif
  34. };
  35. #endif