49 int err = input->
getInput(
"source name",sname);
51 egsWarning(
"EGS_TransformedSource: missing/wrong inline source "
52 "definition and missing wrong 'source name' input\n");
66 otype =
"EGS_TransformedSource";
82 createSourceTemplate<EGS_TransformedSource>(input,f,
"transformed source");
static EGS_BaseSource * createSource(EGS_Input *)
Create sources from the information pointed to by input.
const char * getSourceDescription() const
Get a short description of this source.
int ref()
Increase the reference count to this object.
static EGS_BaseSource * getSource(const string &Name)
Get a pointer to the source named Name.
string otype
The object type.
Base source class. All particle sources must be derived from this class.
string description
A short source description.
EGS_InfoFunction EGS_EXPORT egsWarning
Always use this function for reporting warnings.