File indexing completed on 2024-04-06 12:22:29
0001 #ifndef bSector_H
0002 #define bSector_H
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "bRod.h"
0012
0013 class MagBSector;
0014
0015 namespace magneticfield {
0016
0017 class bSector {
0018 public:
0019
0020 bSector();
0021
0022
0023 bSector(handles::const_iterator begin, handles::const_iterator end, bool debugVal = false);
0024
0025
0026 ~bSector() = default;
0027
0028
0029 const float RN() const { return volumes.front()->RN(); }
0030
0031
0032 const handles& getVolumes() const { return volumes; }
0033
0034
0035 MagBSector* buildMagBSector() const;
0036
0037 private:
0038 std::vector<bRod> rods;
0039 handles volumes;
0040 mutable MagBSector* msector;
0041 bool debug;
0042 };
0043 }
0044
0045 #endif