#ifndef _DAnalysisActionEta_ #define _DAnalysisActionEta_ #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 DAnalysisActionEta : public DAnalysisAction { public: DAnalysisActionEta(const DReaction* locReaction, string locActionUniqueString = "4gamma") : DAnalysisAction(locReaction, "Eta", false, locActionUniqueString){} private: bool Perform_Action(JEventLoop* locEventLoop, const DParticleCombo* locParticleCombo); void Initialize(JEventLoop* locEventLoop); unsigned int myevt; //define any histograms here TH1D *Htwo_gamma_mass,*Heta_pi0_mass,*Hpi0_pi0_mass; TH2D *Hpi0g_dalitz; TH1D *Hpi0_two_gamma_mass; }; #endif // _DAnalysisActionEta_