#ifndef _DAnalysisActionEtaPrime_ #define _DAnalysisActionEtaPrime_ #include "TROOT.h" #include "TDirectoryFile.h" #include "TH1D.h" #include "TH2D.h" #include "JANA/JEventLoop.h" #include "DANA/DApplication.h" #include "ANALYSIS/DAnalysisAction.h" #include "ANALYSIS/DParticleCombo.h" using namespace std; using namespace jana; class DAnalysisActionEtaPrime : public DAnalysisAction { public: DAnalysisActionEtaPrime(const DReaction* locReaction, string locActionUniqueString = "EtaPrime") : DAnalysisAction(locReaction, "EtaPrime", false, locActionUniqueString){} private: bool Perform_Action(JEventLoop* locEventLoop, const DParticleCombo* locParticleCombo); void Initialize(JEventLoop* locEventLoop); unsigned int myevt; //define any histograms here TH1D *h_p_missing_mass; TH2D *h_theta_vs_p,*h_2gamma_2d; }; #endif // _DAnalysisActionEtaPrime_