ATLAS Offline Software
Functions
LArTemperatureCorrectionTool.cxx File Reference
#include <ElectronPhotonFourMomentumCorrection/LArTemperatureCorrectionTool.h>
#include <TParameter.h>
#include <exception>
Include dependency graph for LArTemperatureCorrectionTool.cxx:

Go to the source code of this file.

Functions

template<typename T >
get_value_parameter (TFile &f, const std::string &name)
 

Function Documentation

◆ get_value_parameter()

template<typename T >
T get_value_parameter ( TFile &  f,
const std::string &  name 
)

Definition at line 11 of file LArTemperatureCorrectionTool.cxx.

11  {
12  TParameter<T>* p = dynamic_cast<TParameter<T>*>(f.Get(name.c_str()));
13  if (not p) {
14  return 0;
15  }
16  return p->GetVal();
17 }
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
hist_file_dump.f
f
Definition: hist_file_dump.py:135
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228