41 =
"genEventBasicQuantities.root");
57 =
"rfCalibrationResults.root",
58 double a_dsFraction = 0.1
73 bool a_requireScint=
false,
76 bool a_integralCal =
false,
99 string a_outFileNameRoot =
"gammaTimeOffset.root",
100 string a_outFileNameTxt =
"gammaTimeOffset.txt",
104 std::array<double,3> a_offset = {0,0,0}
119 int a_detOption = 0);
122 string a_outFileName=
"",
123 double a_enThreshold=.2);
127 double a_enThreshold=.2,
128 bool a_gammaGamma=
false,
131 std::array<double,3> a_offset = {0,0,0});
134 double a_enThreshold=.2);
140 virtual std::ostream&
printEvent( std::ostream& a_stream = std::cout,
141 int a_eventToPrint = -1
149 void setBranchName();
150 vector<MDPPScintEvent> m_scintEvents;
151 map<int, MDPPCloverEvent> m_cloverEvents;
152 vector<TH1*> m_coinTreeTestHists;
153 map<int, map<int ,vector<TH1*>>> m_ch_hist;
155 map<DetType, map<int, vector<TH1*>>> m_basicHists;
160 int timeDiff(
string a_outFile);
163 int m_lastPrintedEvent;
170 bool sortTrig(vector<double>& v1, vector<double>& v2);
Definition: GenesisAnalysis.h:30
void buildTOFHists(string a_outFileName="tofHists.root")
Definition: GenesisAnalysis.cpp:738
virtual std::ostream & printEvent(std::ostream &a_stream=std::cout, int a_eventToPrint=-1)
this is used for testing the internal state of events stored in the tree
Definition: GenesisAnalysis.cpp:3013
void buildGammaGammaCoins(string a_fileName="gammaGammaCoinHists.root")
Definition: GenesisAnalysis.cpp:2728
void buildPSDFHists(string a_outFileName="psdHists.root")
get psd histo, apply cuts isNeutron, isGamma
Definition: GenesisAnalysis.cpp:1108
void buildNeutronSinglesTree(string a_fileName="neutronSinglesTree.root")
Definition: GenesisAnalysis.cpp:2794
void findGammaGammaTimeOffset(string a_outFileNameRoot="gammaTimeOffset.root", string a_outFileNameTxt="gammaTimeOffset.txt", int a_doFit=1, std::array< double, 3 > a_offset={0, 0, 0})
Definition: GenesisAnalysis.cpp:1252
void readConfigFile(string a_configFileName)
Definition: GenesisAnalysis.cpp:31
void buildRFCalibrationTree(string a_outFileName="rfCalibrationResults.root", double a_dsFraction=0.1)
Definition: GenesisAnalysis.cpp:337
void buildEfficiencyAnaTreeScintScint(string a_outFileName, double a_enThreshold=.2, bool a_gammaGamma=false, std::array< double, 3 > a_offset={0, 0, 0})
Definition: GenesisAnalysis.cpp:2358
void accumulateBasicQuantities(string a_outFileName="genEventBasicQuantities.root")
Definition: GenesisAnalysis.cpp:41
void buildOutgoingTOFHist(string a_outFileName="outgoingTOF.root")
Definition: GenesisAnalysis.cpp:1824
void buildGammaSpectra(string a_outFileName="spec1.root", bool a_requireScint=false, bool a_integralCal=false, int a_maxE=8192)
Definition: GenesisAnalysis.cpp:425
void makeRandomTOFHists(string a_outFileName="", double a_enThreshold=.2)
build random n/g coincidences between EJ-309 detectors
Definition: GenesisAnalysis.cpp:2559
void buildEfficiencyAnaTree(bool a_buildForNeutrons, string a_outFileName="", double a_enThreshold=.2)
builds tree of PH, TOF, gamma energy for PSD-neutrons
Definition: GenesisAnalysis.cpp:2283
void reduceToCalibratedTrees(string a_outFileName="calibrateEvents.root", int a_detOption=0)
Definition: GenesisAnalysis.cpp:2124
void reduceToCloverTree(string a_outFileName="calibratedGamma.root")
Definition: GenesisAnalysis.cpp:2171
Definition: GENESISConfig.h:15
Definition: PostProcBase.h:21