 |
ATLAS Offline Software
|
Go to the documentation of this file.
17 return StatusCode::SUCCESS;
28 return StatusCode::FAILURE;
34 for(
auto mu : *muons){
35 if(
mu->author()==1) nCBmuons++;
37 if(nCBmuons==0) pass =
true;
42 return StatusCode::SUCCESS;
MuonFilterAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
const std::string & key() const
Return the StoreGate ID for the referenced object.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual StatusCode execute(const EventContext &ctx) const override
execute the filter alg
virtual void setFilterPassed(bool state, const EventContext &ctx) const
const_pointer_type ptr()
Dereference the pointer.
virtual StatusCode initialize() override
initialize