• The likelihood computation has been removed from GObservations::likelihood and has been put in the virtual GObservation::likelihood method. This method implements standard likelihood computations for binned and unbinned analysis. It may be overloaded to implement observation specific likelihood computations.
    Jürgen Knödlseder authored
     
    Browse File »


  • 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.
    Jürgen Knödlseder authored
     
    Browse File »

  • …ness of observation identifiers for a given instrument.
    
    The contains() method has been added that checks whether an observation for a given instrument and a given identifier exists.
    
    The operator [] does not check the index range anymore (the operators are now declared inline). For index check, the at() methods have been added.
    
    Methods that were implemented in the header file are now declared inline.
    
    The set(), append(), insert() and extend() methods now verify that the observation that should be added has an identifier that does not yet exist for the same instrument in the container. In other words, observation identifiers need to be unique for a given instrument.
    Jürgen Knödlseder authored
     
    Browse File »




  • GObservations now derives from the GContainer interface class. Methods have been implemented to manipulate observations, which can now be inserted and removed as needed.
    
    Two interface changes have been made: the observation is now passed as const in the append() method, and the reference returned by the models() method is declared const.
    
    A instance of GObservations::optimizer has now been added as member m_fct to the class, so each GObservations class has a permanent optimizer function instantiated. This allows direct access of optimizer function information, which has been implemented by the function() method.
    Jürgen Knödlseder authored
     
    Browse File »