// $Id$ // // File: DCustomAction_dEdxCut_my.h // Created: Tue Jul 12 08:35:30 EDT 2016 // Creator: mpatsyuk (on Linux ifarm1101 2.6.32-431.el6.x86_64 x86_64) // #ifndef _DCustomAction_dEdxCut_my_ #define _DCustomAction_dEdxCut_my_ #include #include #include "TF1.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_dEdxCut_my : public DAnalysisAction { public: //user can call any of these three constructors DCustomAction_dEdxCut_my(const DReaction* locReaction, string locActionUniqueString = "") : DAnalysisAction(locReaction, "Custom_dEdxCut", false, locActionUniqueString) {} void Initialize(JEventLoop* locEventLoop); private: bool Perform_Action(JEventLoop* locEventLoop, const DParticleCombo* locParticleCombo = NULL); //Store any histograms as member variables here // TF1* dFunc_dEdxCut_SelectHeavy; TF1* dFunc_dEdxCut_SelectLight; }; #endif // _DCustomAction_dEdxCut_my_