00001 #include "EventKinematics/FlavorMod_None.h" 00002 #include "EventKinematics/EvtKinFactory.h" 00003 #include "EventKinematics/MsgServiceWrapper.h" 00004 #include "TRandom3.h" 00005 00006 CVSID("$Id: FlavorMod_None.cxx,v 1.3 2008/06/12 19:55:24 rhatcher Exp $"); 00007 00008 REGISTERFLAVOR(FlavorMod_None) 00009 00010 //...................................................................... 00011 FlavorMod_None::FlavorMod_None() 00012 { 00013 MSG("EvtKin",Msg::kDebug) << "FlavorMod_None ctor" << endl; 00014 } 00015 00016 //...................................................................... 00017 FlavorMod_None::~FlavorMod_None() 00018 { 00019 MSG("EvtKin",Msg::kDebug) << "FlavorMod_None dtor" << endl; 00020 } 00021 00022 //...................................................................... 00023 void FlavorMod_None::Configure(const char* option) 00024 { 00025 MSG("EvtKin",Msg::kDebug) 00026 << "FlavorMod_None::Configure()" << endl 00027 <<" '" << option << "'" << endl; 00028 MSG("EvtKin",Msg::kWarning) 00029 << "no configuration method implemented" << endl; 00030 } 00031 00032 //...................................................................... 00033 TParticle FlavorMod_None::ModifyFlavor(const TParticle& nu, 00034 double /* distance */) const 00035 { 00036 return nu; 00037 } 00038 00039 //...................................................................... 00040 std::vector<int> FlavorMod_None::FlavorList(const std::vector<int>& flvin) 00041 { 00042 return flvin; 00043 } 00044 00045 //......................................................................