nugen/NuReweight/GENIEReweight.cxx
///<configure the weight parameters being used
<configure the weight parameters being used
<configure the weight parameters being used
void GENIEReweight::ConfigureParameters() {
    GSystSet & syst = fWcalc->Systematics();
    for(unsigned int i = 0; i < fReWgtParameterName.size(); i++) {
      LOG_INFO("GENIEReweight") << "Configuring GENIEReweight parameter: " << genie::rew::GSyst::AsString(genie::rew::EGSyst(fReWgtParameterName[i])) << " with value: " << fReWgtParameterValue[i];
      if(fUseSigmaDef) {
        syst.Set( (GSyst_t)fReWgtParameterName[i], fReWgtParameterValue[i]);
      }
      else {
        double parameter = this->CalculateSigma((ReweightLabel_t)fReWgtParameterName[i], fReWgtParameterValue[i]);
        syst.Set( (GSyst_t)fReWgtParameterName[i], parameter);
      }
    }
    fWcalc->Reconfigure();
  }
void GENIEReweight :: ConfigureParameters ( ) { GSystSet & syst = fWcalc -> Systematics ( ) ; for ( unsigned int i = 0 ; i < fReWgtParameterName . size ( ) ; i ++ ) { LOG_INFO ( " " ) << " " << genie :: rew :: GSyst :: AsString ( genie :: rew :: EGSyst ( fReWgtParameterName [ i ] ) ) << " " << fReWgtParameterValue [ i ] ; if ( fUseSigmaDef ) { syst . Set ( ( GSyst_t ) fReWgtParameterName [ i ] , fReWgtParameterValue [ i ] ) ; } else { double parameter = this -> CalculateSigma ( ( ReweightLabel_t ) fReWgtParameterName [ i ] , fReWgtParameterValue [ i ] ) ; syst . Set ( ( GSyst_t ) fReWgtParameterName [ i ] , parameter ) ; } } fWcalc -> Reconfigure ( ) ; }
<configure the weight parameters being used
<configure the weight parameters being used