ATLAS Offline Software
ToyNextPassFilterAlg.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // $Id: ToyNextPassFilterAlg.cxx,v 1.4 2008-09-23 22:00:47 binet Exp $
6 #include "ToyNextPassFilterAlg.h"
7 
9  ISvcLocator* pLoc ):
10 AthAlgorithm ( name, pLoc ), m_passesDone(0)
11 {
12  declareProperty( "NPasses", m_nPasses=2 );
13 }
14 
15 bool
17 
19 ToyNextPassFilterAlg::execute() { return StatusCode::SUCCESS; }
ToyNextPassFilterAlg::m_nPasses
unsigned int m_nPasses
property: no of pass to allow
Definition: ToyNextPassFilterAlg.h:50
ToyNextPassFilterAlg::execute
StatusCode execute()
IAlgorithm Initialize method.
Definition: ToyNextPassFilterAlg.cxx:19
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
ToyNextPassFilterAlg::ToyNextPassFilterAlg
ToyNextPassFilterAlg(const std::string &name, ISvcLocator *)
Standard constructor.
Definition: ToyNextPassFilterAlg.cxx:8
ToyNextPassFilterAlg::doNextPass
virtual bool doNextPass()
IAlgorithm Finalize method.
Definition: ToyNextPassFilterAlg.cxx:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ToyNextPassFilterAlg.h
an Algorithm providing a toy implementation of INextPassFilter
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ToyNextPassFilterAlg::m_passesDone
unsigned int m_passesDone
no of passes already done
Definition: ToyNextPassFilterAlg.h:49