AsgPhotonEfficiencyCorrectionTool Class Reference

Inheritance diagram for AsgPhotonEfficiencyCorrectionTool:
IAsgPhotonEfficiencyCorrectionTool CP::ISystematicsTool asg::AsgTool asg::IAsgTool CP::ISystematicsTool asg::IAsgTool asg::IAsgTool asg::IAsgTool

List of all members.

Public Member Functions

 AsgPhotonEfficiencyCorrectionTool (const std::string myname)
 Standard constructor.
virtual ~AsgPhotonEfficiencyCorrectionTool ()
 Standard destructor.
virtual StatusCode initialize ()
 Gaudi Service Interface method implementations.
virtual StatusCode finalize ()
 Gaudi Service Interface method implementations.
const Root::TResultcalculate (const xAOD::IParticle *part) const
 The main calculate method: the actual correction factors are determined here.
const Root::TResultcalculate (const xAOD::Egamma *egam) const
const Root::TResultcalculate (const xAOD::Egamma &egam) const
virtual CP::CorrectionCode getEfficiencyScaleFactor (const xAOD::Egamma &inputObject, double &efficiencyScaleFactor) const
 Add some method for now as a first step to move the tool to then new interface.
virtual CP::CorrectionCode getEfficiencyScaleFactorError (const xAOD::Egamma &inputObject, double &efficiencyScaleFactorError) const
 Get the "photon scale factor error" as a return value.
virtual CP::CorrectionCode applyEfficiencyScaleFactor (xAOD::Egamma &inputObject) const
 Decorate the photon with its scale factor.
virtual bool isAffectedBySystematic (const CP::SystematicVariation &systematic) const
 The methods below should notify the user of what is actually in the list , without him having to go in the wiki.
virtual CP::SystematicSet affectingSystematics () const
 returns: the list of all systematics this tool can be affected by
virtual CP::SystematicSet recommendedSystematics () const
 returns: the list of all systematics this tool recommends to use
const CP::SystematicSetappliedSystematics () const
 returns: the currently applied systematics
virtual CP::SystematicCode applySystematicVariation (const CP::SystematicSet &systConfig)
 Configure this tool for the given systematics.
CP::SystematicCode registerSystematics ()
 Register the systematics with the registry and add them to the recommended list.

Member Function Documentation

CP::SystematicSet AsgPhotonEfficiencyCorrectionTool::affectingSystematics (  )  const [virtual]

returns: the list of all systematics this tool can be affected by

returns: the list of all systematics this tool can be affected by (for now keep +-1 sigma variation, but ignore it later in applySystematicVariation() )

Implements CP::ISystematicsTool.

const Root::TResult & AsgPhotonEfficiencyCorrectionTool::calculate ( const xAOD::Egamma egam  )  const

PATCore::ParticleDataType::DataType dataType = (PATCore::ParticleDataType::DataType) (egam->dataType()); ATH_MSG_VERBOSE( "The egamma object with author=" << egam->author() << " has PATCore::ParticleDataType::DataType=" << dataType << " and EventKernel::ParticleDataType::DataType=" << egam->dataType() );

bool AsgPhotonEfficiencyCorrectionTool::isAffectedBySystematic ( const CP::SystematicVariation systematic  )  const [virtual]

The methods below should notify the user of what is actually in the list , without him having to go in the wiki.

returns: whether this tool is affected by the given systematic

Implements CP::ISystematicsTool.


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

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1