-
…s only used for Monte Carlo simulation and has a quite specific behaviour.
-
…or the observation Python module. The classname() method returns in a human readable format the class name. This method is needed for full automatic typecasting in Python. Full automatic typecasting has for the moment been implemented for the observation module.
-
…s without using dynamic_cast constructs.
-
The norm() method has been added to the abstract GModelSpatial interface that returns the model normalization within a circular region. This is used in the GModelSky::mc method to correctly reflect the normalization specified in the XML file. The method is also used to flag sources outside the simulation cone (applies so for the point sources, radial source and elliptical sources).
-
Add GChatter argument to print() method. The print() method now takes an argument of type GChatter to control the chattiness of the output in a homogenous manner. Pass NORMAL chatter level in __str__ method. Add chatter argument to print() methods. Use GLog::chatter() method to control the chattiness of the log stream operator. Add chatter() methods and provide member access through const references. Add chatter() methods, provide member access through const references, and declare one liners as inline methods. The chatter() methods control the new m_chatter attribute that is used to control the chattiness of the object's print() methods. name() and version() methods return const references. logFileOpen() method now sets the chattiness from the applications's chatter parameter, and name() and version() methods now return a const reference.
-
The eval() and eval_gradients() methods now take a GPhoton object as argument to allow the implementation of energy and time dependent source morphologies. GEnergy and GTime objects have been added to the mc() method interface to support equally the implementation of energy and time dependent source morphologies. So far, no class really implements energy and time dependent source morphologies, but now we have the infrastructure to do so.
-
The GModelPar interface has been revisited and the code has been adapted to satisfy the new interface.