LArSoft  v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
maybe_default_detector_name.h
Go to the documentation of this file.
1 #ifndef LARCOREALG_GEOMETRY_DETAILS_MAYBE_DEFAULT_DETECTOR_NAME_H
2 #define LARCOREALG_GEOMETRY_DETAILS_MAYBE_DEFAULT_DETECTOR_NAME_H
3 
4 // ==================================================
5 // Given a filename, remove the suffix (if present)
6 // ==================================================
7 
8 #include "fhiclcpp/fwd.h"
9 
10 #include <string>
11 
12 namespace geo::details {
13  std::string maybe_default_detector_name(fhicl::ParameterSet const& pset,
14  std::string const& filename);
15 }
16 
17 #endif // LARCOREALG_GEOMETRY_DETAILS_MAYBE_DEFAULT_DETECTOR_NAME_H
std::string maybe_default_detector_name(fhicl::ParameterSet const &pset, std::string const &filename)