ATLAS Offline Software
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 
23 
24 namespace TrkEventTPCnv {
25 
26 template<int DIM, class T, class S>
27 void mungeZeroQOverP
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
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition: EMErrorDetail.h:25
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:73
no_sanitize_undefined.h
Helper to disable undefined behavior sanitizer for a function.