ATLAS Offline Software
Tracking
TrkEventCnv
TrkEventTPCnv
TrkEventTPCnv
TrkParameters
mungeZeroQOverP.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
19
#ifndef TRKEVENTTPCNV_MUNGEZEROQOVERP_H
20
#define TRKEVENTTPCNV_MUNGEZEROQOVERP_H
21
22
#include "
CxxUtils/no_sanitize_undefined.h
"
23
24
namespace
TrkEventTPCnv
{
25
26
template
<
int
DIM,
class
T,
class
S>
27
void
mungeZeroQOverP
28
NO_SANITIZE_UNDEFINED
(
Trk::ParametersT<DIM, T, S>
&
p
)
29
{
30
AmgVector
(DIM) newParam =
p
.parameters();
31
newParam[
Trk::qOverP
] = 0;
32
p
.setParameters(newParam);
33
}
34
}
35
36
37
#endif // not TRKEVENTTPCNV_MUNGEZEROQOVERP_H
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition:
EMErrorDetail.h:25
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
TrkEventTPCnv
Definition:
mungeZeroQOverP.h:24
AmgVector
AmgVector(4) T2BSTrackFilterTool
Definition:
T2BSTrackFilterTool.cxx:114
TrkEventTPCnv::NO_SANITIZE_UNDEFINED
void mungeZeroQOverP NO_SANITIZE_UNDEFINED(Trk::ParametersT< DIM, T, S > &p)
Definition:
mungeZeroQOverP.h:28
Trk::qOverP
@ qOverP
perigee
Definition:
ParamDefs.h:67
no_sanitize_undefined.h
Helper to disable undefined behavior sanitizer for a function.
Generated on Thu Nov 7 2024 21:21:40 for ATLAS Offline Software by
1.8.18