ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction
tauEventTPCnv
tauEventTPCnv
tauEventTPCnv/tauEventTPCnv/VectorUtils.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//-----------------------------------------------------------------------------
6
// file: VectorUtils.h
7
// package: Reconstruction/tauEventTPCnv
8
// authors: Lukasz Janyst
9
// date: 2008-04-22
10
// description: Helpers for converting vectors
11
//-----------------------------------------------------------------------------
12
13
14
#include <vector>
15
#include <algorithm>
16
17
template
<
typename
cl1,
typename
cl2>
18
void
AssignVector
( std :: vector<cl1> &target,
const
std :: vector<cl2> &source )
19
{
20
target.resize( source.size() );
21
std :: copy( source.begin(), source.end(), target.begin() );
22
}
AssignVector
void AssignVector(std ::vector< cl1 > &target, const std ::vector< cl2 > &source)
Definition
tauEventTPCnv/tauEventTPCnv/VectorUtils.h:18
Generated on
for ATLAS Offline Software by
1.14.0