Skip to content

A few small improvements (mostly for skims)

Pieter David requested to merge piedavid/bamboo:skimmerimprovements into master

Skimmer improvements, based on feedback by @fbury :

  • the output tree name can be specified with a command-line argument
  • variables from the input tree can be copied (not renamed, yet, but this does give warning now)
  • c_int and c_float have an optional argument to specify the type
  • op.switch only gives a warning if different types in the two branches are detected (and it can be silenced), trusting the user and C++ compiler (if the latter does not understand it, it will raise an error, so this should be safe).

General optimisation:

  • deltaR uses only the eta and phi attributes, if the p4 is created on demand (this should some common code)

Merge request reports