Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DCustomAction_ppi0gamma_Pi0Cuts.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DCustomAction_ppi0gamma_Pi0Cuts.h
4 // Created: Thu Jan 22 11:19:46 EST 2015
5 // Creator: jrsteven (on Linux ifarm1401 2.6.32-431.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _DCustomAction_ppi0gamma_Pi0Cuts_
9 #define _DCustomAction_ppi0gamma_Pi0Cuts_
10 
11 #include <string>
12 #include <iostream>
13 
14 #include "JANA/JEventLoop.h"
15 #include "JANA/JApplication.h"
16 
18 #include "ANALYSIS/DReaction.h"
21 
22 using namespace std;
23 using namespace jana;
24 
26 {
27  public:
28 
29  DCustomAction_ppi0gamma_Pi0Cuts(const DReaction* locReaction, bool locUseKinFitResultsFlag, double locMinFCAL, string locActionUniqueString = "") :
30  DAnalysisAction(locReaction, "Custom_ppi0gamma_Pi0Cuts", locUseKinFitResultsFlag, locActionUniqueString), dMinFCAL(locMinFCAL){}
31 
32  void Initialize(JEventLoop* locEventLoop);
33 
34  private:
35 
36  bool Perform_Action(JEventLoop* locEventLoop, const DParticleCombo* locParticleCombo);
37 
38  //Store any histograms as member variables here
39  double dMinFCAL;
40 
41 };
42 
43 #endif // _DCustomAction_ppi0gamma_Pi0Cuts_
44 
DCustomAction_ppi0gamma_Pi0Cuts(const DReaction *locReaction, bool locUseKinFitResultsFlag, double locMinFCAL, string locActionUniqueString="")