18 #ifndef _CASCADE_REWEIGHT_H_
19 #define _CASCADE_REWEIGHT_H_
47 static const std::map<INukeFateHN_t,string> map_keys { {
kIHNFtNoInteraction,
"NoInteraction"},{
kIHNFtCEx,
"CEx"}, {
kIHNFtElas,
"Elastic"}, {
kIHNFtInelas,
"Inelastic"},{
kIHNFtAbs,
"Abs"}, {
kIHNFtCmp,
"Cmp"} } ;
58 #endif // _CASCADE_REWEIGHT_H_
void ProcessEventRecord(GHepRecord *event_rec) const
Defines the EventRecordVisitorI interface. Concrete implementations of this interface use the 'Visito...
std::map< INukeFateHN_t, map< int, double > > fFateWeightsMap
void Configure(const Registry &config)
static const std::map< INukeFateHN_t, string > & GetEINukeFateKeysMap(void)
double GetEventWeight(const GHepRecord &ev) const
get weight from fate and configuration
A registry. Provides the container for algorithm configuration parameters.
In this module, the event weight is set depending on the FSI fate. The weights are set depending on t...
void LoadConfig(void)
read configuration from xml file
std::map< INukeFateHN_t, double > fDefaultMap
GENIE's GHEP MC event record.