nugen/NuReweight/GENIEReweight.cxx
///<Configure the DIS (Bodek-Yang) weight calculator
<Configure the DIS (Bodek-Yang) weight calculator
<Configure the DIS ( Bodek - Yang ) weight calculator
void GENIEReweight::ConfigureDIS() {
    LOG_INFO("GENIEReweight") << "Adding DIS (Bodek-Yang) weight calculator";
    fWcalc->AdoptWghtCalc( "xsec_dis",        new GReWeightNuXSecDIS       );
    if(!fDISshape) {
      LOG_INFO("GENIEReweight") << "in shape+rate mode";
      GReWeightNuXSecDIS * rwdis = dynamic_cast<GReWeightNuXSecDIS *> (fWcalc->WghtCalc("xsec_dis"));
      rwdis->SetMode(GReWeightNuXSecDIS::kModeABCV12u);
    }
    else {
      LOG_INFO("GENIEReweight") << "in shape only mode";
    }
  }
void GENIEReweight :: ConfigureDIS ( ) { LOG_INFO ( " " ) << " " ; fWcalc -> AdoptWghtCalc ( " " , new GReWeightNuXSecDIS ) ; if ( ! fDISshape ) { LOG_INFO ( " " ) << " " ; GReWeightNuXSecDIS * rwdis = dynamic_cast < GReWeightNuXSecDIS * > ( fWcalc -> WghtCalc ( " " ) ) ; rwdis -> SetMode ( GReWeightNuXSecDIS :: kModeABCV12u ) ; } else { LOG_INFO ( " " ) << " " ; } }
<Configure the DIS (Bodek-Yang) weight calculator
<Configure the DIS ( Bodek - Yang ) weight calculator