LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ModuleKeyAndType.cc
Go to the documentation of this file.
1
#include "
art/Framework/Core/detail/ModuleKeyAndType.h
"
2
3
namespace
art::detail
{
4
ModuleType
5
module_type
(std::string
const
& full_key)
6
{
7
if
(full_key.find(
"physics.producers"
) == 0) {
8
return
ModuleType::producer
;
9
}
else
if
(full_key.find(
"physics.filters"
) == 0) {
10
return
ModuleType::filter
;
11
}
else
if
(full_key.find(
"physics.analyzers"
) == 0) {
12
return
ModuleType::analyzer
;
13
}
else
if
(full_key.find(
"outputs"
) == 0) {
14
return
ModuleType::output_module
;
15
}
16
return
ModuleType::non_art
;
17
}
18
}
art::detail::module_type
ModuleType module_type(std::string const &full_key)
Definition:
ModuleKeyAndType.cc:5
art::ModuleType::analyzer
art::ModuleType::output_module
art::detail
Definition:
AllowedConfiguration.h:76
art::ModuleType::non_art
art::ModuleType::filter
art::ModuleType::producer
ModuleKeyAndType.h
art::ModuleType
ModuleType
Definition:
ModuleType.h:11
art
Framework
Core
detail
ModuleKeyAndType.cc
Generated on Thu May 2 2024 20:59:28 for LArSoft by
1.8.11