Calculate the egamma scale factors in pure ROOT, inherit the structure from TElectronEfficiencyCorrection tool For each photon type declare a tool and use addFileName to add root files containing scale factors for this specific type. After adding root files call initialize() In the event loop use calculate(const PATCore::ParticleDataType::DataType dataType, const unsigned int runnumber, const double cluster_eta, const double et) This returns a TResult. The scale factor and its uncertainty are obtained by calling getScaleFactor() or getTotalUncertainty (See header file of TResult in package PATCore) For a short documentation see the included README file. More...
#include <TPhotonEfficiencyCorrectionTool.h>
Calculate the egamma scale factors in pure ROOT, inherit the structure from TElectronEfficiencyCorrection tool For each photon type declare a tool and use addFileName to add root files containing scale factors for this specific type. After adding root files call initialize() In the event loop use calculate(const PATCore::ParticleDataType::DataType dataType, const unsigned int runnumber, const double cluster_eta, const double et) This returns a TResult. The scale factor and its uncertainty are obtained by calling getScaleFactor() or getTotalUncertainty (See header file of TResult in package PATCore) For a short documentation see the included README file.
Calculate the photon scale factors and assosiated errors in pure ROOT.