#ifndef _DCustomAction_BVsEta_hists_ #define _DCustomAction_BVsEta_hists_ #include #include #include "TH1.h" #include "TH2.h" #include "JANA/JEventLoop.h" #include "JANA/JApplication.h" #include "ANALYSIS/DAnalysisAction.h" #include "ANALYSIS/DReaction.h" #include "ANALYSIS/DParticleCombo.h" #include "ANALYSIS/DAnalysisUtilities.h" using namespace std; using namespace jana; class DCustomAction_BVsEta_hists : public DAnalysisAction { public: DCustomAction_BVsEta_hists(const DReaction* locReaction, bool locUseKinFitResultsFlag, string locActionUniqueString = "") : DAnalysisAction(locReaction, "Custom_BVsEta_hists", locUseKinFitResultsFlag, locActionUniqueString) {} void Initialize(JEventLoop* locEventLoop); private: bool Perform_Action(JEventLoop* locEventLoop, const DParticleCombo* locParticleCombo); // Optional: Useful utility functions. const DAnalysisUtilities* dAnalysisUtilities; TH2I * dM_BVsEta; }; #endif // _DCustomAction_BVsEta_hists_