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.CaloRecoConfig.f
f
Definition: CaloRecoConfig.py:127
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195