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::TResult & | calculate (const xAOD::IParticle *part) const |
The main calculate method: the actual correction factors are determined here. | |
const Root::TResult & | calculate (const xAOD::Egamma *egam) const |
const Root::TResult & | calculate (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::SystematicSet & | appliedSystematics () 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. |
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.