ATLAS Offline Software
Public Member Functions | List of all members
LArRampCopy Class Reference

#include <LArRampCompleteCnv.h>

Collaboration diagram for LArRampCopy:

Public Member Functions

void copyOldtoNew (const LArConditionsSubset< LArRampP > *oldRamp, LArConditionsSubset< LArRampP1 > *newRamp)
 

Detailed Description

Definition at line 36 of file LArRampCompleteCnv.h.

Member Function Documentation

◆ copyOldtoNew()

void LArRampCopy::copyOldtoNew ( const LArConditionsSubset< LArRampP > *  oldRamp,
LArConditionsSubset< LArRampP1 > *  newRamp 
)

Definition at line 73 of file LArRampCompleteCnv.cxx.

75 {
76  newRamp->assign (*oldRamp,
77  [] (const LArRampP& from,
78  LArRampP1& to)
79  {
80  to.m_vRamp = from.m_vRamp;
81  });
82 }

The documentation for this class was generated from the following files:
LArRampP1
Persistent data for LArRamp Copied from LAr.
Definition: LArRampP1.h:24
LArRampP
Persistent data for LArRamp Copied from LAr.
Definition: LArRampP.h:24
LArRampP::m_vRamp
std::vector< float > m_vRamp
Definition: LArRampP.h:29
CxxUtils::to
CONT to(RANGE &&r)
Definition: ranges.h:32
LArConditionsSubset::assign
void assign(const LArConditionsSubset< U > &other, COPIER copier)
Copy from another subset object.
Definition: LArConditionsSubset.h:339