baryon_2pt_w.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // $Id: baryon_2pt_w.h,v 1.1 2007/05/09 17:19:44 edwards Exp $
00003 /*! \file
00004  *  \brief Construct baryon 2pt correlators.
00005  */
00006 
00007 #ifndef __baryon_2pt_w_h__
00008 #define __baryon_2pt_w_h__
00009 
00010 #include "meas/hadron/hadron_2pt.h"
00011 
00012 namespace Chroma 
00013 {
00014 
00015   //! Baryon-Baryon seqsources have a time order phase
00016   /*! @ingroup hadron */
00017   class Baryon2PtBase : public HadronCorrelator
00018   {
00019   public:
00020     //! Virtual destructor to help with cleanup;
00021     virtual ~Baryon2PtBase() {}
00022 
00023     //! Construct the correlators
00024     virtual multi1d<Hadron2PtContraction_t> operator()(const multi1d<LatticeColorMatrix>& u) = 0;
00025     
00026   protected:
00027     //! Convenience function to yank the boundary condition from the forward prop headers
00028     virtual void setBC(const multi1d<ForwardProp_t>& forward_headers);
00029 
00030     //! Set bc
00031     virtual multi1d<int>& getBC() = 0;
00032 
00033     //! Get bc
00034     virtual const multi1d<int>& getBC() const = 0;
00035   };
00036 
00037 }  // end namespace Chroma
00038 
00039 
00040 #endif

Generated on Sun Mar 14 04:28:57 2010 for CHROMA by  doxygen 1.4.7