![]() |
|
|||
File indexing completed on 2025-08-05 08:18:23
0001 /* Copyright 2008-2010, Technische Universitaet Muenchen, 0002 Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch 0003 0004 This file is part of GENFIT. 0005 0006 GENFIT is free software: you can redistribute it and/or modify 0007 it under the terms of the GNU Lesser General Public License as published 0008 by the Free Software Foundation, either version 3 of the License, or 0009 (at your option) any later version. 0010 0011 GENFIT is distributed in the hope that it will be useful, 0012 but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0014 GNU Lesser General Public License for more details. 0015 0016 You should have received a copy of the GNU Lesser General Public License 0017 along with GENFIT. If not, see <http://www.gnu.org/licenses/>. 0018 */ 0019 #include "ConstField.h" 0020 0021 namespace genfit { 0022 0023 TVector3 ConstField::get(const TVector3&) const { 0024 return field_; 0025 } 0026 0027 void ConstField::get(const double&, const double&, const double&, double& Bx, double& By, double& Bz) const { 0028 Bx = field_.X(); 0029 By = field_.Y(); 0030 Bz = field_.Z(); 0031 } 0032 0033 } /* End of namespace genfit */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |