Skip to content

Disable FastJet banner

FastJet seems to print the following banner, which would be rather annoying if it comes from all 1000s of HLT2 instances.

2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             #--------------------------------------------------------------------------
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             #                         FastJet release 3.4.0
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             #                 M. Cacciari, G.P. Salam and G. Soyez                  
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             #     A software package for jet finding and analysis at colliders      
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             #                           http://fastjet.fr                           
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             #                                                                             
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             # Please cite EPJC72(2012)1896 [arXiv:1111.6097] if you use this package
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             # for scientific work and optionally PLB641(2006)57 [hep-ph/0512210].   
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             #                                                                       
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             # FastJet is provided without warranty under the GNU GPL v2 or higher.  
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             # It uses T. Chan's closest pair algorithm, S. Fortune's Voronoi code
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             # and 3rd party plugin jet algorithms. See COPYING file for details.
2022-11-04 15:18:19 hlt20101   LHCb2  LHCb2_HLT20101_HLT2_0             #--------------------------------------------------------------------------

There is a way to disable it as one can see from include/fastjet/ClusterSequence.hh

  /// A call to this function modifies the stream used to print
  /// banners (by default cout). If a null pointer is passed, banner
  /// printout is suppressed. This affects all banners, including
  /// those from plugins.
  ///
  /// Please note that if you distribute 3rd party code
  /// that links with FastJet, that 3rd party code must not
  /// use this call turn off the printing of FastJet banners
  /// by default. This requirement reflects the spirit of
  /// clause 2c of the GNU Public License (v2), under which
  /// FastJet and its plugins are distributed.
  static void set_fastjet_banner_stream(std::ostream * ostr) {_fastjet_banner_ostr = ostr;}

We should see what exactly applies to LHCb. Worst case, we can only disable it online.

@clemenci @cattanem any opinions?