6.2.3. Photon functions

Functions that work on photon lists.

Contributor(s): Torben Ferber

Sam Cunliffe Michael De Nuccio

photonFunctions.writeClosestParticleExtraClusterInfo(particleList, particleSelection='True', roe_path=None, deadend_path=None, path=None)[source]

Add various variables to the first particle that are related to their angular separation and kinematics.

Parameters
  • particleList – Particle list with particle candidates that will have the extra information in the end

  • particleSelection – Selection for the other particle

  • roe_path – a path for the rest of event to be executed

  • deadend_path – a path for skipping irrelevant RestOfEvent objects that may exist (if this was called twice, for instance)

  • path – modules are added to this path