ATLAS Offline Software
NeutralParametersCnv_p1.cxx
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 //
7 // file: NeutralParametersCnv_p1.h
8 // author: Lukasz Janyst <ljanyst@cern.ch>
9 //
10 //-----------------------------------------------------------------------------
11 
14 
15 void NeutralParametersCnv_p1::persToTrans( const Trk :: TrackParameters_p1 *persObj,
16  Trk :: NeutralParameters *transObj,
17  MsgStream& )
18 {
19  unsigned int size=persObj->m_parameters.size();
20  assert (transObj->dim==size);
22  for (unsigned int i=0; i<size; ++i) pars(i)=persObj->m_parameters[i];
23  transObj->updateParameters(pars);
24 }
25 
26 
28  Trk :: TrackParameters_p1 * ,
29  MsgStream& )
30 {
31  throw std::runtime_error("NeutralParametersCnv_p1::transToPers is deprecated!");
32 
33 }
34 
35 
36 
37 
38 
39 
40 
41 
42 
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
NeutralParametersCnv_p1.h
NeutralParameters.h
NeutralParametersCnv_p1::transToPers
void transToPers(const Trk::NeutralParameters *transObj, Trk::TrackParameters_p1 *persObj, MsgStream &log)
Definition: NeutralParametersCnv_p1.cxx:27
Trk::ParametersCommon::dim
static constexpr int dim
Definition: ParametersCommon.h:50
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
NeutralParametersCnv_p1::persToTrans
void persToTrans(const Trk::TrackParameters_p1 *persObj, Trk::NeutralParameters *transObj, MsgStream &log)
Definition: NeutralParametersCnv_p1.cxx:15
lumiFormat.i
int i
Definition: lumiFormat.py:85
AmgVector
AmgVector(4) T2BSTrackFilterTool
Definition: T2BSTrackFilterTool.cxx:114
Trk::NeutralParameters
ParametersBase< NeutralParametersDim, Neutral > NeutralParameters
Definition: NeutralParameters.h:26