Skip to content
Snippets Groups Projects
  1. Nov 14, 2022
  2. Nov 08, 2022
  3. Nov 01, 2022
  4. Oct 23, 2022
  5. Oct 20, 2022
  6. Oct 12, 2022
  7. Oct 11, 2022
  8. Oct 10, 2022
  9. Oct 09, 2022
  10. Oct 08, 2022
  11. Oct 07, 2022
  12. Sep 21, 2022
  13. Sep 20, 2022
  14. Sep 09, 2022
  15. Sep 07, 2022
  16. Sep 06, 2022
    • Sebastien Ponce's avatar
      Implemented HistogramArray class to ease the use of arrays of histograms · 0634c596
      Sebastien Ponce authored
      This allows to instantiate arrays of histos in a single line, and still define custom names and titles :
        HistogramArray<Gaudi::Accumulators::Histogram<2>,10> m_tae_crate
            {this, "crate{}", "Crate {}", {3600, 0, 3600}, {3600, 0, 3600}};
      will create 10 2D histograms with names/titles "crate1/Crate 1", "crate2/Crate 2", ...
      While :
        HistogramArray<Gaudi::Accumulators::WeightedHistogram<1>,5> m_tae_window
            {this,
             [](int n) { return ...; }, // build histo name from index
             [](int n) { return ...; }, //build histo title from index
             {11, -5, 6}};
      creates 5 1D weighted histograms with custom names and titles
      0634c596
Loading