ATLAS Offline Software
Loading...
Searching...
No Matches
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}