Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:02:02

0001 #ifndef FWCore_Framework_getProducerParameterSet_h
0002 #define FWCore_Framework_getProducerParameterSet_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Framework
0006 // Function:  getProducerParameterSet
0007 //
0008 /**\function edm::getProducerParameterSet
0009 
0010  Description: Returns the ParameterSet of the module that produced
0011               the product corresponding to the Provenance.
0012 
0013               This shouldn't ever fail if the Provenance and
0014               other objects it uses have been properly initialized,
0015               which should always be the case when called from a
0016               module using the Provenance from a Handle returned
0017               by a function like getByToken. If it does fail it will
0018               throw an exception.
0019 */
0020 //
0021 // Original Author:  W. David Dagenhart
0022 //         Created:  7 September 2017
0023 
0024 namespace edm {
0025 
0026   class ParameterSet;
0027   class Provenance;
0028   class ProcessHistory;
0029 
0030   ParameterSet const* getProducerParameterSet(Provenance const& provenance, ProcessHistory const&);
0031 }  // namespace edm
0032 #endif