Skip to content

Workaround for PID adaptive histos

Alessio Piucci requested to merge FixPIDadaptive into master

In execution time, the makePIDEff macro cannot store the <zmin,zmax,TH2A> tuple in the output ROOT file, because of the need of a specific dictionary. As workaround, the TH2A PID histos are now stored in the output file as simple histos, the z range values are saved in TVectorD objects, then everything is read and reassembled in the subsequent effLUT call.

Other fixes:

  • added an option to reduce the printouts of the FixNegativeBins method in commonLib;
  • various fixes to correctly retrieve and use the TH2A objects in the signal_yield macro.

Merge request reports