CHROMA
|
Construct hadron correlators. More...
#include <hadron_contract.h>
Public Member Functions | |
virtual | ~HadronContract () |
Virtual destructor to help with cleanup;. More... | |
virtual std::list< Handle< HadronContractResult_t > > | operator() (const multi1d< LatticeColorMatrix > &u, const std::string &xml_group, const std::string &id_tag)=0 |
Construct the correlators. More... | |
Protected Member Functions | |
virtual ForwardProp_t | readForwardPropHeader (const std::string &prop_id) const |
Convenience function to read propagator. More... | |
virtual multi1d< int > | getTSrce (const multi1d< ForwardProp_t > &forward_headers) const |
Convenience function to get t_srce from headers. More... | |
virtual int | getDecayDir (const multi1d< ForwardProp_t > &forward_headers) const |
Convenience function to get decay_dir from headers. More... | |
Construct hadron correlators.
Supports creation of hadron correlators
Definition at line 32 of file hadron_contract.h.
|
inlinevirtual |
Virtual destructor to help with cleanup;.
Definition at line 36 of file hadron_contract.h.
|
protectedvirtual |
Convenience function to get decay_dir from headers.
Definition at line 40 of file hadron_contract.cc.
References Chroma::SimpleBaryonSeqSourceEnv::forward_headers, and j_decay.
Referenced by Chroma::Delta2PtEnv::DeltaCorrs::operator()(), and Chroma::SimpleMeson2PtEnv::DiagGammaMesonCorrs::operator()().
|
protectedvirtual |
Convenience function to get t_srce from headers.
Definition at line 16 of file hadron_contract.cc.
References Chroma::SimpleBaryonSeqSourceEnv::forward_headers, and t_srce.
Referenced by Chroma::Delta2PtEnv::DeltaCorrs::operator()(), and Chroma::SimpleMeson2PtEnv::DiagGammaMesonCorrs::operator()().
|
pure virtual |
Construct the correlators.
Implemented in Chroma::Hadron2PtCorr, Chroma::StochCondContEnv::StochCondCont, Chroma::SimpleMeson2PtEnv::DiagGammaMesonCorrs, Chroma::MesonSpec2PtEnv::MesonSpecCorrs, and Chroma::Delta2PtEnv::DeltaCorrs.
|
protectedvirtual |
Convenience function to read propagator.
Definition at line 65 of file hadron_contract.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), and Chroma::read().
Referenced by Chroma::Delta2PtEnv::DeltaCorrs::operator()(), and Chroma::SimpleMeson2PtEnv::DiagGammaMesonCorrs::operator()().