// $Id$ // // File: DCustomAction_KsHunt_hists.h // Created: Wed Jan 21 16:53:41 EST 2015 // Creator: jrsteven (on Linux ifarm1401 2.6.32-431.el6.x86_64 x86_64) // #ifndef _DCustomAction_KsHunt_hists_ #define _DCustomAction_KsHunt_hists_ #include #include #include "TH1.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_KsHunt_hists : public DAnalysisAction { public: DCustomAction_KsHunt_hists(const DReaction* locReaction, bool locUseKinFitResultsFlag, string locActionUniqueString = "") : DAnalysisAction(locReaction, "Custom_KsHunt_hists", locUseKinFitResultsFlag, locActionUniqueString) {} void Initialize(JEventLoop* locEventLoop); private: bool Perform_Action(JEventLoop* locEventLoop, const DParticleCombo* locParticleCombo); // Optional: Useful utility functions. const DAnalysisUtilities* dAnalysisUtilities; // need PID algos for SC matching const DParticleID* dParticleID; //Store any histograms as member variables here TH1D *dM2pi, *dEgamma2pi; TH2D *dMM_M2pi, *dDeltaT2pi, *dMissingDeltaPT_DeltaPhi; TH2D *dMM_M2pi_2SC, *dMM_M2pi_Emeson; }; #endif // _DCustomAction_KsHunt_hists_