Chroma::InlineMesonMatElemColorVecEnv::InlineMeas Class Reference
[Hadron measurements]

Inline measurement of meson operators via colorvector matrix elements. More...

#include <inline_meson_matelem_colorvec_w.h>

Inheritance diagram for Chroma::InlineMesonMatElemColorVecEnv::InlineMeas:

Chroma::AbsInlineMeasurement List of all members.

Public Member Functions

 ~InlineMeas ()
 InlineMeas (const Params &p)
 InlineMeas (const InlineMeas &p)
unsigned long getFrequency (void) const
 Tell me how often I should measure this beastie.
void operator() (const unsigned long update_no, XMLWriter &xml_out)
 Do the measurement.

Protected Member Functions

void func (const unsigned long update_no, XMLWriter &xml_out)
 Do the measurement.

Private Attributes

Params params

Detailed Description

Inline measurement of meson operators via colorvector matrix elements.

Definition at line 59 of file inline_meson_matelem_colorvec_w.h.


Constructor & Destructor Documentation

Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::~InlineMeas (  )  [inline]

Definition at line 62 of file inline_meson_matelem_colorvec_w.h.

Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::InlineMeas ( const Params p  )  [inline]

Definition at line 63 of file inline_meson_matelem_colorvec_w.h.

Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::InlineMeas ( const InlineMeas p  )  [inline]

Definition at line 64 of file inline_meson_matelem_colorvec_w.h.


Member Function Documentation

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

Do the measurement.

Definition at line 382 of file inline_meson_matelem_colorvec_w.cc.

References COLORVEC_MATELEM_TYPE_GENERIC, COLORVEC_MATELEM_TYPE_ONE, Param_t::decay_dir, Chroma::displace(), END_CODE, Chroma::SftMom::getSet(), Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), l, Chroma::MesPlq(), Param_t::mom2_max, Chroma::InlineMesonMatElemColorVecEnv::name, Chroma::InlineMesonMatElemColorVecEnv::Params::named_obj, Chroma::InlineMesonMatElemColorVecEnv::normDisp(), Chroma::SftMom::numMom(), Chroma::SftMom::numSubsets(), Chroma::SftMom::numToMom(), Chroma::InlineMesonMatElemColorVecEnv::Params::param, params, Chroma::proginfo(), START_CODE, u, Chroma::InlineMesonMatElemColorVecEnv::write(), and Chroma::InlineMesonMatElemColorVecEnv::Params::writeXML().

Referenced by operator()().

unsigned long Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::getFrequency ( void   )  const [inline, virtual]

Tell me how often I should measure this beastie.

Implements Chroma::AbsInlineMeasurement.

Definition at line 66 of file inline_meson_matelem_colorvec_w.h.

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

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

Do the measurement.

Implements Chroma::AbsInlineMeasurement.

Definition at line 357 of file inline_meson_matelem_colorvec_w.cc.

References func(), Chroma::makeXMLFileName(), params, Chroma::InlineMesonMatElemColorVecEnv::write(), and Chroma::InlineMesonMatElemColorVecEnv::Params::xml_file.


Member Data Documentation

Params Chroma::InlineMesonMatElemColorVecEnv::InlineMeas::params [private]

Definition at line 78 of file inline_meson_matelem_colorvec_w.h.

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


The documentation for this class was generated from the following files:
Generated on Sun Nov 22 04:41:07 2009 for CHROMA by  doxygen 1.4.7