ATLAS Offline Software
Functions
RecTPCnv/RecTPCnv/VectorUtils.h File Reference
#include <vector>
#include <algorithm>
Include dependency graph for RecTPCnv/RecTPCnv/VectorUtils.h:

Go to the source code of this file.

Functions

template<typename cl1 , typename cl2 >
void AssignVector (std ::vector< cl1 > &target, const std ::vector< cl2 > &source)
 

Function Documentation

◆ AssignVector()

template<typename cl1 , typename cl2 >
void AssignVector ( std ::vector< cl1 > &  target,
const std ::vector< cl2 > &  source 
)

Definition at line 18 of file RecTPCnv/RecTPCnv/VectorUtils.h.

19 {
20  target.resize( source.size() );
21  std :: copy( source.begin(), source.end(), target.begin() );
22 }
copySelective.target
string target
Definition: copySelective.py:37
copySelective.source
string source
Definition: copySelective.py:32
calibdata.copy
bool copy
Definition: calibdata.py:27