The Gaudi Framework  master (37c0b60a)
precedence::CFDecision Struct Reference

#include </builds/gaudi/Gaudi/GaudiHive/src/PRGraph/PrecedenceRulesGraph.h>

Collaboration diagram for precedence::CFDecision:

Public Member Functions

 CFDecision (const EventSlot &slot)
 
std::string operator() (const AlgoProps &props) const
 
std::string operator() (const DecisionHubProps &props) const
 
std::string operator() (const DataProps &) const
 

Public Attributes

const EventSlotm_slot
 

Detailed Description

Definition at line 179 of file PrecedenceRulesGraph.h.

Constructor & Destructor Documentation

◆ CFDecision()

precedence::CFDecision::CFDecision ( const EventSlot slot)
inline

Definition at line 180 of file PrecedenceRulesGraph.h.

180 : m_slot( slot ) {}

Member Function Documentation

◆ operator()() [1/3]

std::string precedence::CFDecision::operator() ( const AlgoProps props) const
inline

Definition at line 182 of file PrecedenceRulesGraph.h.

182  {
183  return std::to_string( m_slot.controlFlowState.at( props.m_nodeIndex ) );
184  }

◆ operator()() [2/3]

std::string precedence::CFDecision::operator() ( const DataProps ) const
inline

Definition at line 190 of file PrecedenceRulesGraph.h.

190 { return ""; }

◆ operator()() [3/3]

std::string precedence::CFDecision::operator() ( const DecisionHubProps props) const
inline

Definition at line 186 of file PrecedenceRulesGraph.h.

186  {
187  return std::to_string( m_slot.controlFlowState.at( props.m_nodeIndex ) );
188  }

Member Data Documentation

◆ m_slot

const EventSlot& precedence::CFDecision::m_slot

Definition at line 192 of file PrecedenceRulesGraph.h.


The documentation for this struct was generated from the following file:
check_ParticleID.props
props
Definition: check_ParticleID.py:21
std::vector::at
T at(T... args)
std::to_string
T to_string(T... args)
EventSlot::controlFlowState
std::vector< int > controlFlowState
State of the control flow.
Definition: EventSlot.h:87
precedence::CFDecision::m_slot
const EventSlot & m_slot
Definition: PrecedenceRulesGraph.h:192