ATLAS Offline Software
Loading...
Searching...
No Matches
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$
17
18
19#ifndef TRKEVENTTPCNV_MUNGEZEROQOVERP_H
20#define TRKEVENTTPCNV_MUNGEZEROQOVERP_H
21
23
24namespace TrkEventTPCnv {
25
26template<int DIM, class T, class S>
27void 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
#define AmgVector(rows)
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition ParametersT.h:49
@ qOverP
perigee
Definition ParamDefs.h:67
Helper to disable undefined behavior sanitizer for a function.
#define NO_SANITIZE_UNDEFINED