1 #ifndef MagGeoBuilderFromDDD_H
2 #define MagGeoBuilderFromDDD_H
26 namespace magneticfield {
79 typedef std::vector<volumeHandle*>
handles;
83 std::map<std::string, MagProviderInterpol*>& interpolators);
87 std::map<std::string, MagProviderInterpol*> & interpolators);
110 typedef std::unary_function<const volumeHandle*, double>
uFcn;
std::vector< MagBLayer * > mBLayers
std::vector< volumeHandle * > handles
MagGeoBuilderFromDDD(std::string tableSet_, bool debug=false, bool overrideMasterSector=false)
std::vector< MagBLayer * > barrelLayers() const
Get barrel layers.
type of data representation of DDCompactView
void summary(handles &volumes)
std::vector< MagVolume6Faces * > barrelVolumes() const
bool overrideMasterSector
virtual ~MagGeoBuilderFromDDD()
Destructor.
virtual void build(const DDCompactView &cpv)
friend class TestMagVolume
ConstReferenceCountingPointer< Surface > RCPS
void testInside(handles &volumes)
void setScaling(std::vector< int > keys, std::vector< double > values)
std::vector< MagESector * > endcapSectors() const
Get endcap layers.
void buildInterpolator(const volumeHandle *vol, std::map< std::string, MagProviderInterpol * > &interpolators)
std::vector< MagVolume6Faces * > endcapVolumes() const
std::unary_function< const volumeHandle *, double > uFcn
std::vector< MagESector * > mESectors
std::map< int, double > theScalingFactors
void buildMagVolumes(const handles &volumes, std::map< std::string, MagProviderInterpol * > &interpolators)