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
Copy file name to clipboardExpand all lines: sbncode/SBNEventWeight/Calculators/Geant4/Geant4WeightCalc.cxx
+14-12Lines changed: 14 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -59,14 +59,15 @@ class Geant4WeightCalc : public WeightCalc {
59
59
std::string fMCParticleProducer; //!< Label for the MCParticle producer
60
60
std::string fMCTruthProducer; //!< Label for the MCTruth producer
61
61
CLHEP::RandGaussQ* fGaussRandom; //!< Random number generator
62
+
fhicl::ParameterSet fMaterial; //!< Detector material, i.e. LAr
62
63
// std::map<int, ParticleDef> fParticles; //!< Particles to reweight
63
64
unsignedfNsims; //!< Number of multisims
64
65
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.
G4ReweightManager *RWManager; //!< "holds the run manager and creates the detector" according to the commit message (?)
67
-
G4ReweighterFactory RWFactory; //!< Base class to handle all Geant4Reweighters
68
-
G4Reweighter *theReweighter; //!< Geant4Reweighter -- this is what provides the weights
69
-
G4ReweightParameterMaker *ParMaker;
67
+
G4ReweightManager *fRWManager; //!< "holds the run manager and creates the detector" according to the commit message (?)
68
+
G4ReweighterFactory fRWFactory; //!< Base class to handle all Geant4Reweighters
69
+
G4Reweighter *fReweighter; //!< Geant4Reweighter -- this is what provides the weights
70
+
G4ReweightParameterMaker *fParMaker;
70
71
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
// 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