|
ATLAS Offline Software
|
Go to the documentation of this file.
33 if (
m_jetKey.key() ==
"AntiKt4EMTopoJets") {
40 return StatusCode::SUCCESS;
48 const EventContext& ctx = Gaudi::Hive::currentContext();
51 if (!
jets.isValid()) {
53 return StatusCode::FAILURE;
61 if (!eventInfo.isValid()){
63 return StatusCode::FAILURE;
65 eventInfo(*eventInfo) =
result;
68 return StatusCode::SUCCESS;
ToolHandle< ECUtils::IEventCleaningTool > m_ecTool
const std::string & key() const
Return the StoreGate ID for the referenced object.
virtual StatusCode initialize() override
Initialize the algorithm.
SG::ReadHandleKey< xAOD::EventInfo > m_evtKey
virtual StatusCode execute() override
Execute the algorithm.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_prefix
Configuration.
Handle class for adding a decoration to an object.
Handle class for adding a decoration to an object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Gaudi::Property< std::string > m_cleaningLevel
Gaudi::Property< bool > m_doEvent
EventCleaningTestAlg(const std::string &name, ISvcLocator *svcLoc)
Standard algorithm constructor.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_evtInfoDecor
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey