ATLAS Offline Software
Loading...
Searching...
No Matches
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}
void assign(const LArConditionsSubset< U > &other, COPIER copier)
Copy from another subset object.
std::vector< std::vector< float > > m_vOFC_a
Definition LArOFCP.h:22
std::vector< std::vector< float > > m_vOFC_b
Definition LArOFCP.h:23
float m_timeOffset
Definition LArOFCP.h:21
CONT to(RANGE &&r)
Definition ranges.h:39

The documentation for this class was generated from the following files: