ATLAS Offline Software
Functions
TRT_ElectronPidToolRun2.cxx File Reference
#include "TRT_ElectronPidTools/BaseTRTPIDCalculator.h"
#include "TRT_ElectronPidTools/TRT_ElectronPidToolRun2.h"
#include "Identifier/Identifier.h"
#include "AthenaPoolUtilities/CondAttrListCollection.h"
#include "AthenaPoolUtilities/AthenaAttributeList.h"
#include "CoralBase/AttributeListSpecification.h"
#include "CoralBase/Blob.h"
#include "AthenaPoolUtilities/CondAttrListVec.h"
#include "StoreGate/ReadCondHandle.h"
#include "TrkTrack/Track.h"
#include "TrkTrackSummary/TrackSummary.h"
#include "TrkTrack/TrackStateOnSurface.h"
#include "TrkMeasurementBase/MeasurementBase.h"
#include "TrkRIO_OnTrack/RIO_OnTrack.h"
#include "TrkParameters/TrackParameters.h"
#include "TrkSurfaces/Surface.h"
#include "TrkTrack/TrackInfo.h"
#include "InDetRIO_OnTrack/TRT_DriftCircleOnTrack.h"
#include "InDetIdentifier/TRT_ID.h"
#include "TRT_ElectronPidTools/ITRT_ToT_dEdx.h"
#include "TRT_ToT_dEdx.h"
#include <cmath>
#include <sstream>

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 }
skel.it
it
Definition: skel.GENtoEVGEN.py:396
athena.value
value
Definition: athena.py:124
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221