CMS 3D CMS Logo

AlignableMap.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_AlignSetup_h
2 #define Alignment_CommonAlignment_AlignSetup_h
3 
22 #include <map>
23 #include <sstream>
24 
26 
27 
28 
30 {
31  typedef typename std::map<std::string, Alignables> Container;
32 
33 public:
34 
36  virtual ~AlignableMap() {};
37 
40  Alignables& get( const std::string& name = "" );
41 
44  Alignables& find( const std::string& name = "" );
45 
47  void dump( void ) const;
48 
49 private:
50  Container theStore;
51 };
52 
53 #endif
virtual ~AlignableMap()
Definition: AlignableMap.h:36
std::vector< Alignable * > Alignables
Definition: Alignable.h:274
Alignables & find(const std::string &name="")
Definition: AlignableMap.cc:15
void dump(void) const
Print the name of all stored data.
Definition: AlignableMap.cc:34
std::map< std::string, Alignables > Container
Definition: AlignableMap.h:31
Container theStore
Definition: AlignableMap.h:50