CHROMA
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Chroma::InlineBarSpecEnv::InlineMeas Class Reference

Inline measurement of hadron spectrum. More...

#include <inline_barspec_db_w.h>

Inheritance diagram for Chroma::InlineBarSpecEnv::InlineMeas:
Chroma::AbsInlineMeasurement

Public Member Functions

 ~InlineMeas ()
 
 InlineMeas (const Params &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...
 
- Public Member Functions inherited from Chroma::AbsInlineMeasurement
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

Params params
 

Detailed Description

Inline measurement of hadron spectrum.

Definition at line 259 of file inline_barspec_db_w.h.

Constructor & Destructor Documentation

◆ ~InlineMeas()

Chroma::InlineBarSpecEnv::InlineMeas::~InlineMeas ( )
inline

Definition at line 262 of file inline_barspec_db_w.h.

◆ InlineMeas()

Chroma::InlineBarSpecEnv::InlineMeas::InlineMeas ( const Params p)
inline

Definition at line 263 of file inline_barspec_db_w.h.

Member Function Documentation

◆ func()

void Chroma::InlineBarSpecEnv::InlineMeas::func ( const unsigned long  update_no,
XMLWriter &  xml_out 
)
protected

Do the measurement.

< Number of color vectors

Definition at line 669 of file inline_barspec_db_w.cc.

References Chroma::InlineBarSpecEnv::Params::Param_t::avg_equiv_mom, bc_spec, Chroma::InlineBarSpecEnv::BarSpec::contract(), Chroma::SerialDBData< D >::data(), Chroma::END_CODE(), Chroma::InlineBarSpecEnv::Params::Param_t::ensemble, Chroma::KeyHadron2PtCorr_t::ensemble, Chroma::InlineBarSpecEnv::Params::NamedObject_t::gauge_id, Chroma::SftMom::getSet(), Chroma::i, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), it, j_decay, K, Chroma::k, Chroma::KeyHadron2PtCorr_t::mass, Chroma::MesPlq(), Chroma::KeyHadron2PtCorr_t::mom, Chroma::InlineBarSpecEnv::Params::Param_t::mom2_max, Chroma::AsqtadFermActEnv::name, Chroma::InlineBarSpecEnv::Params::named_obj, Nd, Chroma::KeyHadron2PtCorr_t::num_vecs, Chroma::SftMom::numMom(), Chroma::SftMom::numToMom(), Chroma::p, Chroma::InlineBarSpecEnv::Params::param, params, Chroma::InlineBarSpecEnv::BarSpec::SpinWF_t::permutations(), Chroma::pop(), Chroma::proginfo(), Chroma::InlineBarSpecEnv::Params::NamedObject_t::props, Chroma::push(), Chroma::s(), Chroma::SftMom::sft(), Chroma::KeyHadron2PtCorr_t::snk_lorentz, Chroma::KeyHadron2PtCorr_t::snk_name, Chroma::KeyHadron2PtCorr_t::snk_smear, Chroma::KeyHadron2PtCorr_t::snk_spin, Chroma::KeyHadron2PtCorr_t::src_lorentz, Chroma::KeyHadron2PtCorr_t::src_name, Chroma::KeyHadron2PtCorr_t::src_smear, Chroma::KeyHadron2PtCorr_t::src_spin, Chroma::START_CODE(), Chroma::InlineBarSpecEnv::Params::Param_t::states, t, t0, t_srce, Chroma::u, Chroma::InlineBarSpecEnv::write(), and Chroma::InlineBarSpecEnv::Params::writeXML().

Referenced by operator()().

◆ getFrequency()

unsigned long Chroma::InlineBarSpecEnv::InlineMeas::getFrequency ( void  ) const
inlinevirtual

Tell me how often I should measure this beastie.

Implements Chroma::AbsInlineMeasurement.

Definition at line 265 of file inline_barspec_db_w.h.

References Chroma::InlineBarSpecEnv::Params::frequency, and params.

◆ operator()()

void Chroma::InlineBarSpecEnv::InlineMeas::operator() ( const unsigned long  update_no,
XMLWriter &  xml_out 
)
virtual

Member Data Documentation

◆ params

Params Chroma::InlineBarSpecEnv::InlineMeas::params
private

Definition at line 277 of file inline_barspec_db_w.h.

Referenced by func(), getFrequency(), and operator()().


The documentation for this class was generated from the following files: