ATLAS Offline Software
Tracking
TrkExtrapolation
TrkExTools
src
TrkExToolsStringUtility.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
11
#include <vector>
12
#include <string>
13
14
namespace
TrkExTools
{
16
std::string
17
getToolSuffix
(
const
std::string & fullToolName);
18
20
std::vector<std::string>
21
extractToolNames
(
const
std::vector<std::string> & toolNameVector);
22
24
bool
25
validToolName
(
const
std::string & toolName);
26
28
std::string
29
possibleToolNameError
(
const
std::vector<std::string> & toolNameVector);
30
32
unsigned
int
33
numberOfUniqueEntries
(
const
std::vector<std::string> & nameVector);
34
}
TrkExTools::getToolSuffix
std::string getToolSuffix(const std::string &fullToolName)
Return the name suffix, e.g. return 'myNiceTool' from 'ToolSvc.myNiceTool'.
Definition:
TrkExToolsStringUtility.cxx:14
TrkExTools
Definition:
TrkExToolsStringUtility.cxx:12
TrkExTools::numberOfUniqueEntries
unsigned int numberOfUniqueEntries(const std::vector< std::string > &nameVector)
Give the number of unique entries in a vector.
Definition:
TrkExToolsStringUtility.cxx:45
TrkExTools::possibleToolNameError
std::string possibleToolNameError(const std::vector< std::string > &toolNameVector)
Give an error message if tool names are invalid; empty string if good.
Definition:
TrkExToolsStringUtility.cxx:34
TrkExTools::extractToolNames
std::vector< std::string > extractToolNames(const std::vector< std::string > &toolNameVector)
return a vector of extracted names
Definition:
TrkExToolsStringUtility.cxx:19
TrkExTools::validToolName
bool validToolName(const std::string &toolName)
indicate whether a string is a valid Tool variable name
Definition:
TrkExToolsStringUtility.cxx:26
Generated on Thu Nov 7 2024 21:30:20 for ATLAS Offline Software by
1.8.18