Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DCustomAction_p2pi0_hists.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DCustomAction_p2pi0_hists.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_p2pi0_hists_
9 #define _DCustomAction_p2pi0_hists_
10 
11 #include <string>
12 #include <iostream>
13 
14 #include "TH1.h"
15 #include "TMath.h"
16 #include "Math/Point3D.h"
17 #include "Math/Vector3D.h"
18 #include "Math/Plane3D.h"
19 
20 #include "JANA/JEventLoop.h"
21 #include "JANA/JApplication.h"
22 
24 #include "ANALYSIS/DReaction.h"
27 
28 using namespace std;
29 using namespace jana;
30 using namespace ROOT::Math;
31 
33 {
34  public:
35 
36  DCustomAction_p2pi0_hists(const DReaction* locReaction, bool locUseKinFitResultsFlag, string locActionUniqueString = "") :
37  DAnalysisAction(locReaction, "Custom_p2pi0_hists", locUseKinFitResultsFlag, locActionUniqueString) {}
38 
39  void Initialize(JEventLoop* locEventLoop);
40 
41  private:
42 
43  bool Perform_Action(JEventLoop* locEventLoop, const DParticleCombo* locParticleCombo);
44 
45  // Optional: Useful utility functions.
47 
48  //Store any histograms as member variables here
49  TH1I *dEgamma;
50 
51  TH2I *dMM2_M2pi0, *dDeltaE_M2pi0, *dMpi0_corr;
52  TH2I *dDeltaPhi_M2pi0, *dPhi2pi0_PhiP;
53  TH2I *dMM2_M2pi0_CoplanarTag, *dDeltaE_M2pi0_CoplanarTag, *dMpi0_corr_CoplanarTag;
54  TH2I *dMM2_M2pi0_ProtonTag, *dDeltaE_M2pi0_ProtonTag, *dMpi0_corr_ProtonTag;
56  TH2I *dMM2_M2pi0_Pi0Tag, *dDeltaE_M2pi0_Pi0Tag, *dMM2_DeltaE_Pi0Tag, *dEgamma_M2pi0_Pi0Tag;
57  TH2I *dDalitz1_Pi0Tag, *dDalitz2_Pi0Tag, *dDalitz3_Pi0Tag, *dDalitz4_Pi0Tag;
58 
59  TH2I *dProton_dEdx_P, *dProton_P_Theta;
60 
61 };
62 
63 #endif // _DCustomAction_p2pi0_hists_
64 
DCustomAction_p2pi0_hists(const DReaction *locReaction, bool locUseKinFitResultsFlag, string locActionUniqueString="")
const DAnalysisUtilities * dAnalysisUtilities