DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SurfaceManager.h
Go to the documentation of this file.
1 #ifndef DDRec_SurfaceManager_H_
2 #define DDRec_SurfaceManager_H_
3 
4 #include "DDSurfaces/ISurface.h"
5 #include <string>
6 #include <map>
7 
8 namespace DD4hep {
9  namespace DDRec {
10 
12  typedef std::multimap< unsigned long, DDSurfaces::ISurface*> SurfaceMap ;
13 
23 
24  typedef std::map< std::string, SurfaceMap > SurfaceMapsMap ;
25 
26  public:
27 
29 
31 
36  const SurfaceMap* map( const std::string name ) const ;
37 
38 
40  std::string toString() const ;
41 
42  protected :
43 
44 
46  void initialize() ;
47 
49  };
50 
51  } /* namespace DDRec */
52 } /* namespace DD4hep */
53 
54 #endif // DDRec_SurfaceManager_H_
std::map< std::string, SurfaceMap > SurfaceMapsMap
std::string toString() const
create a string with all available maps and their size (number of surfaces)
std::multimap< unsigned long, DDSurfaces::ISurface * > SurfaceMap
typedef for surface maps, keyed by the cellID
const SurfaceMap * map(const std::string name) const
void initialize()
initialize all known surface maps