![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
25 declareInterface<DerivationFramework::IAugmentationTool>(
this);
33 "No SG name provided for the output of EGElectronLikelihoodToolWrapper!");
34 return StatusCode::FAILURE;
51 return StatusCode::SUCCESS;
58 const EventContext& ctx = Gaudi::Hive::currentContext();
90 Error(
"addBranches()",
91 "Error applying fudge factors to current photon");
95 "Current photon has no valid fudge factors due to out-of-range");
99 "Unknown correction code %d from ElectronPhotonShowerShapeFudgeTool",
100 (
int)correctionCode);
111 bool pass_selection = (
bool)theAccept;
112 if (pass_selection) {
113 decoratorPass(*
par) = 1;
115 decoratorPass(*
par) = 0;
117 decoratorIsEM(*
par) = isEM;
120 decoratorPass(*
par) = 1;
122 decoratorPass(*
par) = 0;
124 decoratorIsEM(*
par) = isEM;
133 return StatusCode::SUCCESS;
std::bitset< NBITS > getCutResultInvertedBitSet() const
Get an inverted bitset of the cut result.
Electron_v1 Electron
Definition of the current "egamma version".
@ OutOfValidityRange
Input object is out of validity range.
@ Error
Some error happened during the object correction.
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
@ Ok
The correction was done successfully.
bool getCutResult(const std::string &cutName) const
Get the result of a cut, based on the cut name (safer)
Return value from object correction CP tools.
setBGCode setTAP setLVL2ErrorBits bool