Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:01

0001 #ifndef TRACKER_TOPOLOGY_STANDALONE_H
0002 #define TRACKER_TOPOLOGY_STANDALONE_H
0003 
0004 #include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
0005 
0006 namespace StandaloneTrackerTopology {
0007   /**
0008    * Construct a TrackerTopology from a trackerParameters.xml file, from the name of the file
0009    *
0010    * WARNING: this method has been introduced to construct a TrackerTopology
0011    * object only for the rare cases where it cannot be retrieved from an
0012    * edm::EventSetup (e.g. ROOT macros).
0013    */
0014   TrackerTopology fromTrackerParametersXMLFile(const std::string& xmlFileName);
0015 
0016   /**
0017    * Construct a TrackerTopology from a trackerParameters.xml file, from the contents read into a std::string
0018    *
0019    * WARNING: this method has been introduced to construct a TrackerTopology
0020    * object only for the rare cases where it cannot be retrieved from an
0021    * edm::EventSetup (e.g. ROOT macros).
0022    */
0023   TrackerTopology fromTrackerParametersXMLString(const std::string& xmlContent);
0024 };  // namespace StandaloneTrackerTopology
0025 
0026 #endif  // TRACKER_TOPOLOGY_STANDALONE_H