ATLAS Offline Software
removePrefix.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2 #ifndef XAODTRUTHCNV_REMOVEPREFIX_H
3 #define XAODTRUTHCNV_REMOVEPREFIX_H
4 
5 // System include(s).
6 #include <string>
7 #include <string_view>
8 
9 namespace xAODMaker::Details {
10 
18 std::string removePrefix(std::string_view str, std::string_view prefix);
19 
20 } // namespace xAODMaker::Details
21 
22 #endif // XAODTRUTHCNV_REMOVEPREFIX_H
xAODMaker::Details::removePrefix
std::string removePrefix(std::string_view str, std::string_view prefix)
Remove a prefix from a string, if it exists.
Definition: removePrefix.cxx:8
checkCorrelInHIST.prefix
dictionary prefix
Definition: checkCorrelInHIST.py:391
xAODMaker::Details
Definition: removePrefix.cxx:6
str
Definition: BTagTrackIpAccessor.cxx:11