ATLAS Offline Software
MagnetData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef FPTRACKER_MAGNETDATA_H
6 #define FPTRACKER_MAGNETDATA_H
7 #include <string>
8 #include <ostream>
9 #include <vector>
10 namespace FPTracker{
11  struct MagnetData{
12 
13  int nmagnet;
14  static const int nside = 2;
15  static const int nmagapergeo = 4;
16 
17  typedef std::vector<std::vector<double> > ArrayDouble2D;
18  typedef std::vector<std::vector<int> > ArrayInt2D;
19  typedef std::vector<std::vector<std::vector<double> > > ArrayDouble3D;
20 
27 
29 
32 
33 
34 
35  float x0IP;
36  float y0IP;
37  float ax0IP;
38  float ay0IP;
39 
40  MagnetData();
41  void setNumberOfMagnets(int);
42  std::string toString() const;
43  };
44 
45  std::ostream& operator<<(std::ostream&, const MagnetData&);
46 }
47 #endif
FPTracker::MagnetData::toString
std::string toString() const
Definition: MagnetData.cxx:52
FPTracker::MagnetData::x0IP
float x0IP
Definition: MagnetData.h:35
FPTracker::MagnetData
Definition: MagnetData.h:11
FPTracker::operator<<
std::ostream & operator<<(std::ostream &os, const Beamline &bl)
Definition: FPTracker/src/Beamline.cxx:163
FPTracker::MagnetData::magnet_xb
ArrayDouble2D magnet_xb
Definition: MagnetData.h:26
FPTracker::MagnetData::magnet_length
ArrayDouble2D magnet_length
Definition: MagnetData.h:24
FPTracker::MagnetData::MagnetData
MagnetData()
Definition: MagnetData.cxx:9
FPTracker::MagnetData::magnet_aperA
ArrayDouble3D magnet_aperA
Definition: MagnetData.h:28
FPTracker::MagnetData::ay0IP
float ay0IP
Definition: MagnetData.h:38
FPTracker::MagnetData::magnet_z
ArrayDouble2D magnet_z
Definition: MagnetData.h:23
FPTracker::MagnetData::magnet_y
ArrayDouble2D magnet_y
Definition: MagnetData.h:22
FPTracker::MagnetData::magnet_aperclass
ArrayInt2D magnet_aperclass
Definition: MagnetData.h:31
FPTracker::MagnetData::magnet_x
ArrayDouble2D magnet_x
Definition: MagnetData.h:21
FPTracker::MagnetData::ArrayInt2D
std::vector< std::vector< int > > ArrayInt2D
Definition: MagnetData.h:18
FPTracker::MagnetData::nmagapergeo
static const int nmagapergeo
Definition: MagnetData.h:15
FPTracker::MagnetData::ArrayDouble2D
std::vector< std::vector< double > > ArrayDouble2D
Definition: MagnetData.h:17
FPTracker::MagnetData::ax0IP
float ax0IP
Definition: MagnetData.h:37
FPTracker::MagnetData::nside
static const int nside
Definition: MagnetData.h:14
FPTracker::MagnetData::nmagnet
int nmagnet
Definition: MagnetData.h:13
FPTracker::MagnetData::setNumberOfMagnets
void setNumberOfMagnets(int)
Definition: MagnetData.cxx:35
FPTracker::MagnetData::magnet_type
ArrayInt2D magnet_type
Definition: MagnetData.h:30
FPTracker
Definition: FPTracker/FPTracker/Beamline.h:12
FPTracker::MagnetData::magnet_strength
ArrayDouble2D magnet_strength
Definition: MagnetData.h:25
FPTracker::MagnetData::y0IP
float y0IP
Definition: MagnetData.h:36
FPTracker::MagnetData::ArrayDouble3D
std::vector< std::vector< std::vector< double > > > ArrayDouble3D
Definition: MagnetData.h:19