Skip to content
Snippets Groups Projects

THistSvc: cache TObject types

Merged Frank Winklmeier requested to merge fwinkl/Gaudi:thistsvc_types into master
  1. Dec 08, 2021
    • Frank Winklmeier's avatar
      THistSvc: cache TObject types · d9ddd8c9
      Frank Winklmeier authored
      The `TObject::InheritsFrom` call can be quite slow. Since we already
      deduce the object type (`TH1`, `TTree`, etc.) during registration, save
      this information and use it instead of re-deriving it every time.
      Also avoid calling `updateFiles` if no TTrees are registered.
      
      Both these changes significantly speed up the `EndEvent` incident
      handling for jobs with large (>10k) number of histograms.
      
      Also re-organize `struct THistID` to avoid padding and delete unused
      `reset` method.
      d9ddd8c9
    • Stewart Martin-Haugh's avatar
      Protect DEBUG/VERBOSE messages · 4e698e4e
      Stewart Martin-Haugh authored and Frank Winklmeier's avatar Frank Winklmeier committed
      4e698e4e
Loading