TPhotonEfficiencyCorrectionTool Class Reference

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>


Detailed Description

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.

Author:
Karsten Koeneke, Felix Buehrer, Michael Pitt
Date:
January 2014
Author:
Michael Pitt
Date:
April 2014

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1