#ifndef Hadrons_MScalar_FreeProp_hpp_ #define Hadrons_MScalar_FreeProp_hpp_ #include #include #include BEGIN_HADRONS_NAMESPACE /****************************************************************************** * FreeProp * ******************************************************************************/ BEGIN_MODULE_NAMESPACE(MScalar) class FreePropPar: Serializable { public: GRID_SERIALIZABLE_CLASS_MEMBERS(FreePropPar, std::string, source, double, mass, std::string, output); }; class TFreeProp: public Module { public: SCALAR_TYPE_ALIASES(SIMPL,); public: // constructor TFreeProp(const std::string name); // destructor virtual ~TFreeProp(void) = default; // dependency relation virtual std::vector getInput(void); virtual std::vector getOutput(void); protected: // setup virtual void setup(void); // execution virtual void execute(void); private: std::string freeMomPropName_; }; MODULE_REGISTER_NS(FreeProp, TFreeProp, MScalar); END_MODULE_NAMESPACE END_HADRONS_NAMESPACE #endif // Hadrons_MScalar_FreeProp_hpp_