CHROMA
|
Inline measurement of heavy-light quark spectroscopy. More...
#include <inline_heavy_light_cont_w.h>
Public Member Functions | |
~InlineHeavyLightCont () | |
InlineHeavyLightCont (const InlineHeavyLightContParams &p) | |
InlineHeavyLightCont (const InlineHeavyLightCont &p) | |
unsigned long | getFrequency (void) const |
Tell me how often I should measure this beastie. More... | |
void | operator() (const unsigned long update_no, XMLWriter &xml_out) |
Do the measurement. More... | |
![]() | |
virtual | ~AbsInlineMeasurement (void) |
Virtual Destructor. More... | |
Protected Member Functions | |
void | func (const unsigned long update_no, XMLWriter &xml_out) |
Do the measurement. More... | |
Private Attributes | |
InlineHeavyLightContParams | params |
Inline measurement of heavy-light quark spectroscopy.
Definition at line 65 of file inline_heavy_light_cont_w.h.
|
inline |
Definition at line 68 of file inline_heavy_light_cont_w.h.
|
inline |
Definition at line 69 of file inline_heavy_light_cont_w.h.
|
inline |
Definition at line 70 of file inline_heavy_light_cont_w.h.
|
protected |
Do the measurement.
if (named_obj.heavy_id1 != "Static"){ if ((all_sinks.heavy_prop_1.prop_header.source_header.t_source != t01) || (all_sinks.heavy_prop_1.prop_header.source_header.t_source != t02)) { QDPIO::cerr << "Error!! Heavy quark 1 must have same t_source as one of the light propagators " << std::endl; QDP_abort(1); } if (all_sinks.heavy_prop_1.prop_header.source_header.j_decay != j_decay) { QDPIO::cerr << "Error!! j_decay must be the same for all propagators " << std::endl; QDP_abort(1); } } if (named_obj.heavy_id2 != "Static"){ if ((all_sinks.heavy_prop_2.prop_header.source_header.t_source != t01) || (all_sinks.heavy_prop_2.prop_header.source_header.t_source != t02)) { QDPIO::cerr << "Error!! Heavy quark 2 must have same t_source as one of the light propagators " << std::endl; QDP_abort(1); } if (all_sinks.heavy_prop_2.prop_header.source_header.j_decay != j_decay) { QDPIO::cerr << "Error!! j_decay must be the same for all propagators " << std::endl; QDP_abort(1); } }
if (all_sinks.sink_prop_2.bc[j_decay] != bc_spec) { QDPIO::cerr << "Error!! bc must be the same for all propagators " << std::endl; QDP_abort(1); } if (params.param.FourPt){ if (all_sinks.sink_prop_3.prop_header.source_header.j_decay != j_decay) { QDPIO::cerr << "Error!! j_decay must be the same for all propagators " << std::endl; QDP_abort(1); } if (all_sinks.sink_prop_3.bc[j_decay] != bc_spec) { QDPIO::cerr << "Error!! bc must be the same for all propagators " << std::endl; QDP_abort(1); } }
Here we want to define the bc's for everything...in principle this should be read in from everything, but whatever.
Definition at line 360 of file inline_heavy_light_cont_w.cc.
References bc_spec, Chroma::END_CODE(), Chroma::InlineHeavyLightContParams::Param_t::FourPt, Chroma::InlineHeavyLightContParams::NamedObject_t::gauge_id, Chroma::SftMom::getSet(), Chroma::InlineHeavyLightContParams::NamedObject_t::Props_t::heavy_id1, Chroma::InlineHeavyLightContParams::NamedObject_t::Props_t::heavy_id2, heavy_prop_1, heavy_prop_2, Chroma::i, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), j_decay, Chroma::InlineHeavyLightContParams::Param_t::MesonP, Chroma::MesPlq(), Chroma::InlineHeavyLightContEnv::name, Chroma::InlineHeavyLightContParams::named_obj, Nd, Chroma::InlineHeavyLightContParams::param, params, Chroma::pop(), Chroma::proginfo(), Chroma::push(), Chroma::Qlbar(), Chroma::QlbarBACK(), Chroma::QlQl(), Chroma::InlineHeavyLightContParams::NamedObject_t::sink_pairs, sink_prop_1, sink_prop_2, sink_prop_3, Chroma::START_CODE(), Chroma::u, Chroma::write(), and Chroma::InlineHeavyLightContParams::write().
Referenced by operator()().
|
inlinevirtual |
Tell me how often I should measure this beastie.
Implements Chroma::AbsInlineMeasurement.
Definition at line 72 of file inline_heavy_light_cont_w.h.
References Chroma::InlineHeavyLightContParams::frequency, and params.
|
virtual |
Do the measurement.
Implements Chroma::AbsInlineMeasurement.
Definition at line 336 of file inline_heavy_light_cont_w.cc.
References func(), Chroma::makeXMLFileName(), params, Chroma::pop(), Chroma::push(), Chroma::write(), and Chroma::InlineHeavyLightContParams::xml_file.
|
private |
Definition at line 84 of file inline_heavy_light_cont_w.h.
Referenced by func(), getFrequency(), and operator()().