You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -62,7 +63,8 @@ class Geant4WeightCalc : public WeightCalc {
62
63
unsignedfNsims; //!< Number of multisims
63
64
intfPdg; //!< PDG value for particles that a given weight calculator should apply to. Note that for now this module can only handle weights for one particle species at a time.
G4ReweighterFactory RWFactory; //!< Base class to handle all Geant4Reweighters (right now "all" means pi+, pi-, p)
66
+
G4ReweightManager *RWManager; //!< "holds the run manager and creates the detector" according to the commit message (?)
67
+
G4ReweighterFactory RWFactory; //!< Base class to handle all Geant4Reweighters
66
68
G4Reweighter *theReweighter; //!< Geant4Reweighter -- this is what provides the weights
67
69
G4ReweightParameterMaker *ParMaker;
68
70
std::vector<std::map<std::string, double>> UniverseVals; //!< Vector of maps relating parameter name to value (defines parameter values that will be evaluated in universes). Each map should have one entry per parameter we are considering
@@ -85,8 +87,12 @@ class Geant4WeightCalc : public WeightCalc {
85
87
std::vector< double > p_energies_inel; //!< Variables for by-particle output tree
86
88
std::vector< int > p_sliceInts_inel; //!< Variables for by-particle output tree
87
89
int p_nElasticScatters; //!< Variables for by-particle output tree
88
-
std::vector<double> p_inel_weight; //!< Variables for by-particle output tree
89
-
std::vector<double> p_elastic_weight; //!< Variables for by-particle output
90
+
std::vector<double> p_weight; //!< Variables for by-particle output tree
91
+
92
+
93
+
// **IF** I understand correctly, then after commit 11077f2 (el_weight*inel_weight) is returned by GetWeight()
94
+
//std::vector<double> p_inel_weight; //!< Variables for by-particle output tree
95
+
//std::vector<double> p_elastic_weight; //!< Variables for by-particle output
// I think this is the only bit that needs to change for different universes -- all the above is jut about the track, which doesn't change based on universe
0 commit comments