Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:31

0001 #ifndef SimG4Core_SensitiveDetector_sensitiveDetectorMakers_h
0002 #define SimG4Core_SensitiveDetector_sensitiveDetectorMakers_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     SimG4Core/SensitiveDetector
0006 // Class  :     sensitiveDetectorMakers
0007 //
0008 /**\function sensitiveDetectorMakers
0009 
0010  Description: Makes it easy to find what SensitiveDetectorMakerBase are available
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Christopher Jones
0018 //         Created:  Mon, 07 Jun 2021 19:48:31 GMT
0019 //
0020 
0021 // system include files
0022 #include <string>
0023 #include <vector>
0024 #include <memory>
0025 #include <unordered_map>
0026 
0027 // user include files
0028 #include "SimG4Core/SensitiveDetector/interface/SensitiveDetectorMakerBase.h"
0029 #include "FWCore/Framework/interface/ConsumesCollector.h"
0030 
0031 // forward declarations
0032 namespace edm {
0033   class ParameterSet;
0034 }
0035 namespace sim {
0036   std::unordered_map<std::string, std::unique_ptr<SensitiveDetectorMakerBase>> sensitiveDetectorMakers(
0037       edm::ParameterSet const&, edm::ConsumesCollector, std::vector<std::string> const& chosenMakers);
0038 }
0039 #endif