eventCutMonitor_ReactionPlane.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #ifndef eventCutMonitor_ReactionPlane_hh
  2. #define eventCutMonitor_ReactionPlane_hh
  3. #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
  4. #include "StHbtMaker/Infrastructure/StHbtEvent.hh"
  5. #include "StHbtMaker/Base/StHbtCutMonitor.hh"
  6. class eventCutMonitor_ReactionPlane : public StHbtCutMonitor{
  7. private:
  8. StHbt1DHisto* mScaler;
  9. StHbt1DHisto* mVertexX;
  10. StHbt1DHisto* mVertexY;
  11. StHbt1DHisto* mVertexZ;
  12. StHbt1DHisto* mReactionPlane;
  13. StHbt1DHisto* mReactionPlaneError;
  14. StHbt2DHisto* mMultReactionPlaneError;
  15. public:
  16. eventCutMonitor_ReactionPlane();
  17. eventCutMonitor_ReactionPlane(const char* TitCutMoni, const char* title, int nbins=24 ,double min=-360., double max=+360);
  18. virtual ~eventCutMonitor_ReactionPlane();
  19. virtual StHbtString Report();
  20. virtual void Fill(const StHbtEvent* event);
  21. virtual void Finish();
  22. // These dummy Fill() functions were introduced to remove a compiler
  23. // warning related to overloaded base-class Fill() functions being
  24. // hidden by a single version of Fill() in this derived class
  25. void Fill(const StHbtParticleCollection* d) {;}
  26. void Fill(const StHbtEvent *d1, const StHbtParticleCollection* d2) {;}
  27. void Fill(const StHbtPair* d) {;}
  28. void Fill(const StHbtKink* d) {;}
  29. void Fill(const StHbtV0* d) {;}
  30. void Fill(const StHbtTrack* d) {;}
  31. StHbt1DHisto* Scaler() {return mScaler;}
  32. StHbt1DHisto* VertexX() {return mVertexX;}
  33. StHbt1DHisto* VertexY() {return mVertexY;}
  34. StHbt1DHisto* VertexZ() {return mVertexZ;}
  35. StHbt1DHisto* ReactionPlane() {return mReactionPlane;}
  36. StHbt1DHisto* ReactionPlaneError() {return mReactionPlaneError;}
  37. StHbt2DHisto* MultReactionPlaneError() {return mMultReactionPlaneError;}
  38. #ifdef __ROOT__
  39. ClassDef(eventCutMonitor_ReactionPlane, 1)
  40. #endif
  41. };
  42. #endif