ATLAS Offline Software
Public Member Functions | Static Private Member Functions | List of all members
LArSingleFloatUpdater Class Reference

#include <LArSingleFloatUpdater.h>

Collaboration diagram for LArSingleFloatUpdater:

Public Member Functions

template<class P >
void update (const LArConditionsSubset< P > *old, LArConditionsSubset< LArSingleFloatP > *newObj)
 

Static Private Member Functions

static float getPayload (const LArMphysOverMcalP &p)
 
static float getPayload (const LArDAC2uAP &p)
 
static float getPayload (const LAruA2MeVP &p)
 
static float getPayload (const LArfSamplP &p)
 

Detailed Description

Definition at line 19 of file LArSingleFloatUpdater.h.

Member Function Documentation

◆ getPayload() [1/4]

static float LArSingleFloatUpdater::getPayload ( const LArDAC2uAP p)
inlinestaticprivate

Definition at line 40 of file LArSingleFloatUpdater.h.

40  {
41  return p.m_DAC2uA;
42  }

◆ getPayload() [2/4]

static float LArSingleFloatUpdater::getPayload ( const LArfSamplP p)
inlinestaticprivate

Definition at line 47 of file LArSingleFloatUpdater.h.

47  {
48  return p.m_fSampl;
49  }

◆ getPayload() [3/4]

static float LArSingleFloatUpdater::getPayload ( const LArMphysOverMcalP p)
inlinestaticprivate

Definition at line 32 of file LArSingleFloatUpdater.h.

32  {
33  return p.m_MphysOverMcal;
34  }

◆ getPayload() [4/4]

static float LArSingleFloatUpdater::getPayload ( const LAruA2MeVP p)
inlinestaticprivate

Definition at line 43 of file LArSingleFloatUpdater.h.

43  {
44  return p.m_uA2MeV;
45  }

◆ update()

template<class P >
void LArSingleFloatUpdater::update ( const LArConditionsSubset< P > *  old,
LArConditionsSubset< LArSingleFloatP > *  newObj 
)
inline

Definition at line 22 of file LArSingleFloatUpdater.h.

24  {
25  newObj->assign (*old,
26  [] (const P& from,
28  { to.m_data = getPayload(from); });
29  }

The documentation for this class was generated from the following file:
DMTest::P
P_v1 P
Definition: P.h:23
LArSingleFloatP
Definition: LArSingleFloatP.h:11
LArSingleFloatUpdater::getPayload
static float getPayload(const LArMphysOverMcalP &p)
Definition: LArSingleFloatUpdater.h:32
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
CxxUtils::to
CONT to(RANGE &&r)
Definition: ranges.h:39
CSV_InDetExporter.old
old
Definition: CSV_InDetExporter.py:145
LArConditionsSubset::assign
void assign(const LArConditionsSubset< U > &other, COPIER copier)
Copy from another subset object.
Definition: LArConditionsSubset.h:339