Skip to content
Snippets Groups Projects
Commit 0d7cf453 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Merge branch 'dev/isSeq' into 'master'

Add flag to Algorithm to identify a Sequence

See merge request !317
parents a9d90326 d229a358
No related branches found
No related tags found
1 merge request!317Add flag to Algorithm to identify a Sequence
Pipeline #
......@@ -38,6 +38,8 @@ public:
StatusCode beginRun() override; ///< Algorithm beginRun
StatusCode endRun() override; ///< Algorithm endRun
bool isSequence() const override final { return true; }
/** for asynchronous changes in the list of algorithms */
void membershipHandler( Gaudi::Details::PropertyBase& theProp );
......
......@@ -92,6 +92,11 @@ public:
** additional interface methods
**/
/**
** Identify as a Sequence
**/
bool isSequence() const override final { return true; }
/**
** Was the branch filter passed for the last event?
**/
......
......@@ -213,6 +213,9 @@ public:
/// Is this algorithm enabled or disabled?
bool isEnabled() const override;
/// Are we a Sequence?
bool isSequence() const override { return false; }
/// Did this algorithm pass or fail its filter criterion for the last event?
bool filterPassed() const override;
......
......@@ -152,6 +152,9 @@ public:
/// Is this algorithm enabled or disabled?
virtual bool isEnabled( ) const = 0;
/// Are we a Sequence?
virtual bool isSequence() const = 0;
/// Did this algorithm pass or fail its filter criterion for the last event?
virtual bool filterPassed( ) const = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment