StHbtCutMonitor.hh 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #ifndef StHbtCutMonitor_hh
  2. #define StHbtCutMonitor_hh
  3. class StHbtEvent;
  4. class StHbtTrack;
  5. class StHbtV0;
  6. class StHbtKink;
  7. class StHbtPair; // Gael 12/04/02
  8. #include "StHbtMaker/Infrastructure/StHbtString.hh"
  9. #include "StHbtMaker/Infrastructure/StHbtParticleCollection.hh" // Gael 19/06/02
  10. class StHbtCutMonitor{
  11. private:
  12. public:
  13. StHbtCutMonitor(){/* no-op */};
  14. virtual ~StHbtCutMonitor(){/* no-op */};
  15. virtual StHbtString Report(){
  16. string Stemp = "*** no user defined Fill(const StHbtEvent*), take from base class";
  17. StHbtString returnThis = Stemp;
  18. return returnThis;
  19. }
  20. virtual void EventBegin(const StHbtEvent*) { /* no-op */ }
  21. virtual void EventEnd(const StHbtEvent*) { /* no-op */ }
  22. virtual void Fill(const StHbtEvent*) {
  23. #ifdef STHBTDEBUG
  24. cout << " *** no user defined Fill(const StHbtEvent*), take from base class" << endl;
  25. #endif
  26. }
  27. virtual void Fill(const StHbtTrack*) {
  28. #ifdef STHBTDEBUG
  29. cout << " *** no user defined Fill(const StHbtTrack*), take from base class" << endl;
  30. #endif
  31. }
  32. virtual void Fill(const StHbtV0*) {
  33. #ifdef STHBTDEBUG
  34. cout << " *** no user defined Fill(const StHbtV0Track*), take from base class" << endl;
  35. #endif
  36. }
  37. virtual void Fill(const StHbtKink*) {
  38. #ifdef STHBTDEBUG
  39. cout << " *** no user defined Fill(const StHbtKink*), take from base class" << endl;
  40. #endif
  41. }
  42. //-----------------------------------Gael 12/04/02------------------------------------
  43. virtual void Fill(const StHbtPair*) {
  44. #ifdef STHBTDEBUG
  45. cout << " *** no user defined Fill(const StHbtPair*), take from base class" << endl;
  46. #endif
  47. }
  48. //-----------------------------------Gael 19/06/02------------------------------------
  49. virtual void Fill(const StHbtParticleCollection*) {
  50. #ifdef STHBTDEBUG
  51. cout << " *** no user defined Fill(const StHbtParticleCollection*), take from base class" << endl;
  52. #endif
  53. }
  54. //-----------------------------------Gael 19/06/02------------------------------------
  55. virtual void Fill(const StHbtEvent*,const StHbtParticleCollection*) {
  56. #ifdef STHBTDEBUG
  57. cout << " *** no user defined Fill(const StHbtEvent*,const StHbtParticleCollection*), take from base class" << endl;
  58. #endif
  59. }
  60. // -------------------------------------------------------------------------------------
  61. virtual void Finish() {
  62. #ifdef STHBTDEBUG
  63. cout << " *** no user defined Finish(), take from base class" << endl;
  64. #endif
  65. }
  66. virtual void Init() {
  67. #ifdef STHBTDEBUG
  68. cout << " *** no user defined Init(), take from base class" << endl;
  69. #endif
  70. }
  71. };
  72. #endif