00001 #ifndef TkNavigation_CfgNavigationSchool_H 00002 #define TkNavigation_CfgNavigationSchool_H 00003 00004 #include "TrackingTools/DetLayers/interface/NavigationSchool.h" 00005 #include "RecoTracker/TkDetLayers/interface/GeometricSearchTracker.h" 00006 #include "RecoTracker/TkNavigation/interface/SimpleNavigationSchool.h" 00007 namespace edm{ 00008 class ParameterSet; 00009 } 00010 00011 class MagneticField; 00012 00013 class CfgNavigationSchool : public SimpleNavigationSchool { 00014 public: 00015 CfgNavigationSchool(){}; 00016 CfgNavigationSchool(const edm::ParameterSet & cfg, 00017 const GeometricSearchTracker* theTracker, 00018 const MagneticField* field); 00019 00020 ~CfgNavigationSchool(){ cleanMemory();} 00021 00022 protected: 00023 void makeBwdLinks(std::string & lname, BDLC & reachableBL, FDLC & reachableFL); 00024 void makeFwdLinks(std::string & lname, BDLC & reachableBL, FDLC & reachableFL); 00025 void addLayer(std::string & lname, BDLC & reachableBL, FDLC & reachableFL); 00026 DetLayer * layer(std::string & lname); 00027 }; 00028 00029 #endif