#include <EGSelectionToolWrapper.h>
|
ToolHandle< IAsgEGammaIsEMSelector > | m_tool |
|
ToolHandle< IElectronPhotonShowerShapeFudgeTool > | m_fudgeMCTool { this, "EGammaFudgeMCTool", "", "Fudging tool" } |
|
SG::ReadHandleKey< xAOD::EgammaContainer > | m_ContainerName |
|
SG::WriteDecorHandleKey< xAOD::EgammaContainer > | m_decoratorPass { this, "decoratorPass", "", "" } |
|
SG::WriteDecorHandleKey< xAOD::EgammaContainer > | m_decoratorIsEM { this, "decoratorIsEM", "", "" } |
|
Gaudi::Property< std::string > | m_cut { this, "CutType", "", "cut type" } |
|
Gaudi::Property< std::string > | m_sgName |
|
Definition at line 30 of file EGSelectionToolWrapper.h.
◆ EGSelectionToolWrapper()
DerivationFramework::EGSelectionToolWrapper::EGSelectionToolWrapper |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ addBranches()
StatusCode DerivationFramework::EGSelectionToolWrapper::addBranches |
( |
| ) |
const |
|
finaloverridevirtual |
Definition at line 54 of file EGSelectionToolWrapper.cxx.
57 const EventContext& ctx = Gaudi::Hive::currentContext();
100 "Current photon has no valid fudge factors due to out-of-range");
104 "Unknown correction code %d from ElectronPhotonShowerShapeFudgeTool",
105 (
int)correctionCode);
107 pCopies.push_back (pCopy);
117 if (!pCopy) pCopy =
par;
121 unsigned int isEM = (
unsigned int)theAccept.getCutResultInvertedBitSet()
127 bool pass_selection = (
bool)theAccept;
128 if (pass_selection) {
129 decoratorPass(*
par) = 1;
131 decoratorPass(*
par) = 0;
133 decoratorIsEM(*
par) = isEM;
135 if (theAccept.getCutResult(
m_cut)) {
136 decoratorPass(*
par) = 1;
138 decoratorPass(*
par) = 0;
140 decoratorIsEM(*
par) = isEM;
144 return StatusCode::SUCCESS;
◆ initialize()
StatusCode DerivationFramework::EGSelectionToolWrapper::initialize |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 28 of file EGSelectionToolWrapper.cxx.
32 "No SG name provided for the output of EGElectronLikelihoodToolWrapper!");
33 return StatusCode::FAILURE;
50 return StatusCode::SUCCESS;
◆ m_ContainerName
◆ m_cut
Gaudi::Property<std::string> DerivationFramework::EGSelectionToolWrapper::m_cut { this, "CutType", "", "cut type" } |
|
private |
◆ m_decoratorIsEM
◆ m_decoratorPass
◆ m_fudgeMCTool
◆ m_sgName
Gaudi::Property<std::string> DerivationFramework::EGSelectionToolWrapper::m_sgName |
|
private |
◆ m_tool
The documentation for this class was generated from the following files: