CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/TrackingTools/DetLayers/interface/NavigationSetter.h

Go to the documentation of this file.
00001 #ifndef DetLayers_NavigationSetter_H
00002 #define DetLayers_NavigationSetter_H
00003 
00004 #include <vector>
00005 
00006 class NavigableLayer;
00007 class NavigationSchool;
00008 class DetLayer;
00009 
00020 class NavigationSetter {
00021 public:
00022 
00023   typedef std::vector<NavigableLayer*>   StateType;
00024 
00025   NavigationSetter( const NavigationSchool&);
00026 
00027   ~NavigationSetter();
00028 
00029 private:
00030 
00031   const NavigationSchool& theNav;
00032 
00033   StateType theSavedState;
00034 
00035   void saveState();
00036   void setState( const StateType&); 
00037   void cleanState();
00038 
00039 };
00040 
00041 #endif // NavigationSetter_H