Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:20:44

0001 #ifndef HLTrigger_Timer_interface_EDMModuleType_h
0002 #define HLTrigger_Timer_interface_EDMModuleType_h
0003 
0004 #include "DataFormats/Provenance/interface/ModuleDescription.h"
0005 
0006 namespace edm {
0007 
0008   enum class EDMModuleType {
0009     kUnknown,
0010     kSource,
0011     kESSource,
0012     kESProducer,
0013     kEDAnalyzer,
0014     kEDProducer,
0015     kEDFilter,
0016     kOutputModule
0017   };
0018 
0019   constexpr const char* module_type_desc[]{
0020       "Unknown", "Source", "ESSource", "ESProducer", "EDAnalyzer", "EDProducer", "EDFilter", "OutputModule"};
0021 
0022   EDMModuleType edmModuleTypeEnum(edm::ModuleDescription const& module);
0023 
0024   const char* edmModuleType(edm::ModuleDescription const& module);
0025 
0026 }  // namespace edm
0027 
0028 #endif  // not defined HLTrigger_Timer_interface_EDMModuleType_h