ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_ElectronPidToolRun2.cxx File Reference

Go to the source code of this file.

Functions

template<typename T>
void storeNNVariable (std::map< std::string, T > &theMap, const std::string &name, const T &value)

Function Documentation

◆ storeNNVariable()

template<typename T>
void storeNNVariable ( std::map< std::string, T > & theMap,
const std::string & name,
const T & value )

Definition at line 52 of file TRT_ElectronPidToolRun2.cxx.

52 {
53 auto it = theMap.find(name);
54 if (it != theMap.end()) {
55 it->second = value;
56 }
57}