BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
StepSequencer.cxx File Reference
#include "HltSteering/StepSequencer.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/Property.h"
#include "HltAlgorithms/IEFAlgorithm.h"

Go to the source code of this file.

Functions

void findAlgTypeName (const std::string &property, std::string &SubAlg_type, std::string &SubAlg_NameParam)
void findParamSet (const std::string &property, std::string &SubAlg_name, std::string &SubAlg_param)

Function Documentation

◆ findAlgTypeName()

void findAlgTypeName ( const std::string & property,
std::string & SubAlg_type,
std::string & SubAlg_NameParam )
inline

Definition at line 13 of file StepSequencer.cxx.

14 {
15 int slash_pos = property.find_first_of( "/" );
16 SubAlg_type = property.substr( 0, slash_pos );
17 SubAlg_NameParam = ( slash_pos > 0 ) ? property.substr( slash_pos + 1 ) : SubAlg_type;
18}

Referenced by StepSequencer::initSequencer(), and StepSequencer::searchAlgForEachTE_o().

◆ findParamSet()

void findParamSet ( const std::string & property,
std::string & SubAlg_name,
std::string & SubAlg_param )
inline

Definition at line 20 of file StepSequencer.cxx.

21 {
22 int slash_pos = property.find_first_of( "/" );
23 SubAlg_name = property.substr( 0, slash_pos );
24 SubAlg_param = ( slash_pos > 0 ) ? property.substr( slash_pos + 1 ) : SubAlg_name;
25}

Referenced by StepSequencer::initSequencer(), and StepSequencer::searchAlgForEachTE_o().