1 #ifndef MagGeoBuilderFromDDD_H
2 #define MagGeoBuilderFromDDD_H
25 namespace magneticfield {
29 using handles = std::vector<BaseVolumeHandle*>;
79 std::map<std::string, MagProviderInterpol*>& interpolators);
void summary(magneticfield::handles &volumes)
std::vector< MagBLayer * > mBLayers
magneticfield::handles eVolumes
std::vector< MagBLayer * > barrelLayers() const
Get barrel layers.
Compact representation of the geometrical detector hierarchy.
std::vector< MagVolume6Faces * > barrelVolumes() const
virtual ~MagGeoBuilderFromDDD()
Destructor.
virtual void build(const DDCompactView &cpv)
friend class TestMagVolume
magneticfield::handles bVolumes
std::vector< BaseVolumeHandle * > handles
std::vector< MagESector * > endcapSectors() const
Get endcap layers.
MagGeoBuilderFromDDD(std::string tableSet_, int geometryVersion, bool debug=false)
Constructor.
const magneticfield::TableFileMap * theGridFiles
void buildInterpolator(const volumeHandle *vol, std::map< std::string, MagProviderInterpol * > &interpolators)
void buildMagVolumes(const magneticfield::handles &volumes, std::map< std::string, MagProviderInterpol * > &interpolators)
void setScaling(const std::vector< int > &keys, const std::vector< double > &values)
std::vector< MagVolume6Faces * > endcapVolumes() const
void testInside(magneticfield::handles &volumes)
std::vector< MagESector * > mESectors
std::map< int, std::pair< std::string, int > > TableFileMap
std::map< int, double > theScalingFactors
void setGridFiles(const magneticfield::TableFileMap &gridFiles)