• 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 »


  • Add bin index to the members of the method so that in case that the bin is contained in an event cube we known the index of the bin. This is used to extract the corresponding DRG and DRB values.
    Jürgen Knödlseder authored
     
    Browse File »

  • Implemented the GCOMEventBin, GCOMEventCube and GCOMInstDir classes. An extensive unit test has been written to verify the functionnality of the classes. The event cube class successfully loads COMPTEL event data, the event bin class allows access to event information.
    
    Note that a particularily clever implementation of GCOMEventBin has been made. This class does not hold members but pointers to members. There are two modes of operations: either the class allocates the members itself, and then also takes care about the deallocation, or it just holds the pointers from someone else, and thus does not deallocate the memory on destruction. This allows GCOMEventCube to use a single GCOMEventBin object for the manipulation of event data, while at the same time, GCOMEventBin can be used standalone for event manipulation.
    Jürgen Knödlseder authored
     
    Browse File »