Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Utilities/exclusivepi0skim/DCustomAction_p2gamma_cuts.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DCustomAction_p2gamma_cuts.h
4 // Created: Wed Jan 21 16:53:41 EST 2015
5 // Creator: jrsteven (on Linux ifarm1401 2.6.32-431.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _DCustomAction_p2gamma_cuts_
9 #define _DCustomAction_p2gamma_cuts_
10 
11 #include <string>
12 #include <iostream>
13 
14 #include "TH1.h"
15 
16 #include "JANA/JEventLoop.h"
17 #include "JANA/JApplication.h"
18 
20 #include "ANALYSIS/DReaction.h"
23 
24 using namespace std;
25 using namespace jana;
26 
28 {
29  public:
30 
31  DCustomAction_p2gamma_cuts(const DReaction* locReaction, bool locUseKinFitResultsFlag, string locActionUniqueString = "") :
32  DAnalysisAction(locReaction, "Custom_p2gamma_cuts", locUseKinFitResultsFlag, locActionUniqueString) {}
33 
34  void Initialize(JEventLoop* locEventLoop);
35 
36  private:
37 
38  bool Perform_Action(JEventLoop* locEventLoop, const DParticleCombo* locParticleCombo);
39 
40  // Optional: Useful utility functions.
41 // const DAnalysisUtilities* dAnalysisUtilities;
42 
43  //Store any histograms as member variables here
44 // TH1I *dEgamma;
45 
46 // TH2I *dMM2_M2g, *dProton_dEdx_P, *dProton_P_Theta, *dProtonPhi_Egamma, *dProtonPhi_Theta, *dProtonPhi_t;
47 // TH2I *dPi0Phi_Egamma, *dPi0Phi_Theta, *dDeltaE_M2g, *dPi0EgammaCorr;
48 // TH2I *dMM2_M2g_ProtonTag, *dDeltaE_M2g_ProtonTag, *dMM2_DeltaE_ProtonTag;
49 // TH2I *dMM2_M2g_CoplanarTag, *dDeltaE_M2g_CoplanarTag, *dMM2_DeltaE_CoplanarTag;
50 // TH2I *dDeltaPhi_M2g, *dPhi2g_PhiP;
51 // TH2I *dEgamma_M2g_ProtonTag;
52 };
53 
54 #endif // _DCustomAction_p2gamma_cuts_
55 
DCustomAction_p2gamma_cuts(const DReaction *locReaction, bool locUseKinFitResultsFlag, string locActionUniqueString="")