ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
TriggerAnalysisAlgorithms
TriggerAnalysisAlgorithms
TrigChainNameHelpers.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGGER_ANALYSIS_ALGORITHMS__TRIG_CHAIN_NAME_HELPERS_H
6
#define TRIGGER_ANALYSIS_ALGORITHMS__TRIG_CHAIN_NAME_HELPERS_H
7
8
#include <algorithm>
9
#include <string>
10
11
namespace
CP
12
{
18
inline
std::string
sanitizeTriggerChainName
(std::string chain)
19
{
20
std::replace (chain.begin(), chain.end(),
'.'
,
'p'
);
21
std::replace (chain.begin(), chain.end(),
'-'
,
'_'
);
22
return
chain;
23
}
24
}
25
26
#endif
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
CP::sanitizeTriggerChainName
std::string sanitizeTriggerChainName(std::string chain)
convert a trigger chain name into a string usable in decoration/branch names (.
Definition
TrigChainNameHelpers.h:18
Generated on
for ATLAS Offline Software by
1.17.0