ATLAS Offline Software
Reconstruction
RecTPCnv
RecTPCnv
RecTPCnv/RecTPCnv/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/RecTPCnv
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:
RecTPCnv/RecTPCnv/VectorUtils.h:18
calibdata.copy
bool copy
Definition:
calibdata.py:27
COOLRates.target
target
Definition:
COOLRates.py:1106
Generated on Thu Jul 4 2024 21:32:25 for ATLAS Offline Software by
1.8.18