1 #ifndef MagGeoBuilderFromDDD_H
2 #define MagGeoBuilderFromDDD_H
25 namespace magneticfield {
29 typedef std::map<unsigned, std::pair<std::string, int> >
TableFileMap;
46 void setGridFiles(
const std::auto_ptr<magneticfield::TableFileMap> gridFiles);
78 typedef std::vector<volumeHandle*>
handles;
82 std::map<std::string, MagProviderInterpol*>& interpolators);
86 std::map<std::string, MagProviderInterpol*> & interpolators);
109 typedef std::unary_function<const volumeHandle*, double>
uFcn;
std::vector< MagBLayer * > mBLayers
std::vector< volumeHandle * > handles
std::vector< MagBLayer * > barrelLayers() const
Get barrel layers.
type of data representation of DDCompactView
void summary(handles &volumes)
std::vector< MagVolume6Faces * > barrelVolumes() const
virtual ~MagGeoBuilderFromDDD()
Destructor.
virtual void build(const DDCompactView &cpv)
friend class TestMagVolume
ConstReferenceCountingPointer< Surface > RCPS
void testInside(handles &volumes)
std::vector< MagESector * > endcapSectors() const
Get endcap layers.
MagGeoBuilderFromDDD(std::string tableSet_, int geometryVersion, bool debug=false)
Constructor.
void buildInterpolator(const volumeHandle *vol, std::map< std::string, MagProviderInterpol * > &interpolators)
void setScaling(const std::vector< int > &keys, const std::vector< double > &values)
std::vector< MagVolume6Faces * > endcapVolumes() const
std::unary_function< const volumeHandle *, double > uFcn
std::vector< MagESector * > mESectors
std::map< int, double > theScalingFactors
void setGridFiles(const std::auto_ptr< magneticfield::TableFileMap > gridFiles)
std::auto_ptr< magneticfield::TableFileMap > theGridFiles
void buildMagVolumes(const handles &volumes, std::map< std::string, MagProviderInterpol * > &interpolators)
std::map< unsigned, std::pair< std::string, int > > TableFileMap