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

#include <LArOFCCompleteCnv.h>

Collaboration diagram for LArOFCCopy:

Public Member Functions

void copyOldtoNew (const LArConditionsSubset< LArOFCP > *oldOFC, LArConditionsSubset< LArOFCP1 > *newOFC)
 

Detailed Description

Definition at line 36 of file LArOFCCompleteCnv.h.

Member Function Documentation

◆ copyOldtoNew()

void LArOFCCopy::copyOldtoNew ( const LArConditionsSubset< LArOFCP > *  oldOFC,
LArConditionsSubset< LArOFCP1 > *  newOFC 
)

Definition at line 73 of file LArOFCCompleteCnv.cxx.

75 {
76  newOFC->assign (*oldOFC,
77  [] (const LArOFCP& from,
78  LArOFCP1& to)
79  {
80  to = LArOFCP1 (from.m_timeOffset,
81  25./24,
82  from.m_vOFC_a,
83  from.m_vOFC_b);
84  });
85 }

The documentation for this class was generated from the following files:
LArOFCP1
c-struct reproducing the structure of the persistent data
Definition: LArOFCP1.h:22
LArOFCP::m_vOFC_a
std::vector< std::vector< float > > m_vOFC_a
Definition: LArOFCP.h:22
LArOFCP::m_vOFC_b
std::vector< std::vector< float > > m_vOFC_b
Definition: LArOFCP.h:23
LArOFCP::m_timeOffset
float m_timeOffset
Definition: LArOFCP.h:20
CxxUtils::to
CONT to(RANGE &&r)
Definition: ranges.h:39
LArOFCP
c-struct reproducing the structure of the persistent data
Definition: LArOFCP.h:15
LArConditionsSubset::assign
void assign(const LArConditionsSubset< U > &other, COPIER copier)
Copy from another subset object.
Definition: LArConditionsSubset.h:339