//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Module: EvtBtoXsgammaKagan.cc // // Description: // Routine to perform two-body B->Xs,gamma decays with a fixed hadronic // mass. For spectrum measurements. // The input parameters are 1: the hadronic mass // Modification history: // // Jim Libby October 11 2002 //------------------------------------------------------------------------ // #include "EvtGenBase/EvtPatches.hh" #include #include "EvtGenModels/EvtBtoXsgamma.hh" #include "EvtGenModels/EvtBtoXsgammaFixedMass.hh" #include "EvtGenBase/EvtReport.hh" #include using std::endl; using std::fstream; EvtBtoXsgammaFixedMass::~EvtBtoXsgammaFixedMass(){ } void EvtBtoXsgammaFixedMass::init(int nArg, double* args){ if ((nArg) > 2 || (nArg > 1 && nArg <2)){ report(ERROR,"EvtGen") << "EvtBtoXsgamma generator model " << "EvtBtoXsgammaFixedMass expected " << "either 1(default config) or two arguments but found: "<