Skip to content

Add selection stuff for calo layer objects

Description

This MR allows us to dump the information from CaloCalTopoClusters. To do this, we:

  • Create an alg which will read from the flows associated to the jet, and iterate all their otherObjects and add to a vector associated with the jet
  • While doing this, decorate each object with info of if its used for a neutral/charged flow, and also decorate all the calorimiter sampling layer variables
  • Dump these newly associated collections using the associations block

I originally looked into this in !927. There I found we were missing most of the info for the charged flows. So, we added them to FTAG1! Next, in that MR I assumed we could read these vars directly off the flow object. This works for neutral flows, as there is a 1-to-1 matching between neutral flows and CaloCalTopoClusters. However, charged flow objects are formed by associating tracks to some series of calo objects, and so you can have 0 associations (just a track) or many (a charged track has been linked to energy in the calo). As a result, I thought the easiest solution to this is to just dump these as a new output collection, where each item in this collection has

  • moment info
  • isUsedInCharged (was this flow used in a charged flow object reco 0/1)
  • Per-layer values for the esampl
Edited by Nikita Ivvan Pond

Merge request reports

Loading