Berkeley Nuclear Data Software
GenesisPhysEventAna.h
Go to the documentation of this file.
1 #ifndef _GENESIS_PHYS_EVENT_ANA_H_
2 #define _GENESIS_PHYS_EVENT_ANA_H_
3 
4 //project includes
5 #include "PostProcBase.h"
7 #include "TH2.h"
12 class GenesisPhysEventAna : public PostProcBase<GenesisCalibratedEvent>
13 {
14 public:
15  //default constructor puts the class into a working but rather boring state
17 
18  vector<TH1*> getCloverGammaSpectra();
20  vector<TH2*> getNeutronAngularDist();
24  vector<TH2*> getNeutronAngularDist(double a_gammaEnergy, double a_width=2);
28  vector<TH2*> getNeutronEnergyVsTimeSinceRF(double a_gammaEnergy,
29  double a_width);
30  vector<TH2*> getLightVsTimeSinceRF(double a_gammaEnergy,
31  double a_width);
36  vector<TH2*> getNeutronTOFvsInorgGammaEnergy(string a_configFile,
37  double a_enThreshold = .2);
47  void getScintScintPlots(std::string a_fileName = "scintScint_Fe56_eDepVsTof.root",
48  double a_EgamCut = .2);
49 
50  void buildOutEnOutEdep(std::string a_fileName = "outEnOutEdep_hists.root",
51  double a_gammaEnergy=-1);
52 
77  void scintScintCoinAna(std::string a_configFileName,
78  std::string a_outFileName = "scintScintCoins_hists.root");
79 
80  void scintHPGeCoinAna(std::string a_configFileName,
81  std::string a_outFileName = "scintHPGeCoins_hists.root");
82 
83  void makeGammaNeutronAnglePlots(string a_configFile);
84 protected:
85  //providing definitions to fill out the abstract base class
86  void setTreeName();
87  void setBranchName();
88 
89 };
90 
91 
92 #endif
Definition: GenesisPhysEventAna.h:13
vector< TH2 * > getNeutronAngularDist()
returns neutron angular distribution vs. LY, E_n from TOF, E_g
Definition: GenesisPhysEventAna.cpp:70
void getScintScintPlots(std::string a_fileName="scintScint_Fe56_eDepVsTof.root", double a_EgamCut=.2)
Definition: GenesisPhysEventAna.cpp:276
void scintScintCoinAna(std::string a_configFileName, std::string a_outFileName="scintScintCoins_hists.root")
Definition: GenesisPhysEventAna.cpp:491
GenesisPhysEventAna()
Definition: GenesisPhysEventAna.cpp:6
void makeGammaNeutronAnglePlots(string a_configFile)
Definition: GenesisPhysEventAna.cpp:1037
vector< TH2 * > getNeutronEnergyVsTimeSinceRF(double a_gammaEnergy, double a_width)
Definition: GenesisPhysEventAna.cpp:136
void setTreeName()
enforces that a tree name function can be set in a child class
Definition: GenesisPhysEventAna.cpp:11
vector< TH2 * > getLightVsTimeSinceRF(double a_gammaEnergy, double a_width)
Definition: GenesisPhysEventAna.cpp:181
void setBranchName()
enforces that a branch name function can be set in a child class
Definition: GenesisPhysEventAna.cpp:16
vector< TH2 * > getNeutronTOFvsInorgGammaEnergy(string a_configFile, double a_enThreshold=.2)
Definition: GenesisPhysEventAna.cpp:228
void scintHPGeCoinAna(std::string a_configFileName, std::string a_outFileName="scintHPGeCoins_hists.root")
Definition: GenesisPhysEventAna.cpp:765
void buildOutEnOutEdep(std::string a_fileName="outEnOutEdep_hists.root", double a_gammaEnergy=-1)
Definition: GenesisPhysEventAna.cpp:383
vector< TH1 * > getCloverGammaSpectra()
Definition: GenesisPhysEventAna.cpp:21
Definition: PostProcBase.h:21