APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
APRILBFieldPlugin.h
Go to the documentation of this file.
1 /*
3  *
4  * APRILBFieldPlugin.h header template automatically generated by a class generator
5  * Creation date : sam. mars 21 2015
6  *
7  * This file is part of APRILContent libraries.
8  *
9  * APRILContent is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  * based upon these libraries are permitted. Any copy of these libraries
14  * must include this copyright notice.
15  *
16  * APRILContent is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with APRILContent. If not, see <http://www.gnu.org/licenses/>.
23  *
24  * @author John Marshall
25  */
26 
27 #ifndef APRILBFIELDPLUGIN_H
28 #define APRILBFIELDPLUGIN_H
29 
30 #include "Plugins/BFieldPlugin.h"
31 
32 namespace april_content
33 {
34 
38 class APRILBFieldPlugin : public pandora::BFieldPlugin
39 {
40 public:
48  APRILBFieldPlugin(const float innerBField, const float muonBarrelBField, const float muonEndCapBField);
49 
50  float GetBField(const pandora::CartesianVector &positionVector) const;
51 
52 private:
53  pandora::StatusCode Initialize();
54  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
55 
56  float m_innerBField;
59 
62 };
63 
64 }
65 
66 #endif // APRILBFIELDPLUGIN_H
APRILBFieldPlugin(const float innerBField, const float muonBarrelBField, const float muonEndCapBField)
Default constructor.
Definition: APRILBFieldPlugin.cc:34
float m_innerBField
The bfield in the main tracker, ecal and hcal, units Tesla.
Definition: APRILBFieldPlugin.h:56
float m_muonBarrelBField
The bfield in the muon barrel, units Tesla.
Definition: APRILBFieldPlugin.h:57
APRILBFieldPlugin class.
Definition: APRILBFieldPlugin.h:38
float m_muonEndCapBField
The bfield in the muon endcap, units Tesla.
Definition: APRILBFieldPlugin.h:58
float m_coilMidPointR
The r coordinate at the coil midpoint, units mm.
Definition: APRILBFieldPlugin.h:61
float m_muonEndCapInnerZ
The muon endcap inner z coordinate, units mm.
Definition: APRILBFieldPlugin.h:60