Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
SelectorUtils
interface
MakePyVIDClassBuilder.h
Go to the documentation of this file.
1
#ifndef __PhysicsTools_SelectorUtils_MakePyVIDClassBuilder_h__
2
#define __PhysicsTools_SelectorUtils_MakePyVIDClassBuilder_h__
3
4
#include "
PhysicsTools/SelectorUtils/interface/VersionedSelector.h
"
5
#include "
FWCore/PythonParameterSet/interface/MakeParameterSets.h
"
6
7
template
<
class
PhysObj>
8
struct
MakeVersionedSelector
{
9
MakeVersionedSelector
() {}
10
11
VersionedSelector<edm::Ptr<PhysObj>
>
12
operator()
(
const
std::string
&
pset
,
13
const
std::string
& which_config) {
14
const
edm::ParameterSet
&
temp
=
15
edm::readPSetsFrom
(pset)->getParameter<
edm::ParameterSet
>(which_config);
16
return
VersionedSelector<edm::Ptr<PhysObj>
>(
temp
);
17
}
18
19
VersionedSelector<edm::Ptr<PhysObj>
>
20
operator()
() {
21
return
VersionedSelector<edm::Ptr<PhysObj>
>();
22
}
23
24
};
25
26
#endif
MakeVersionedSelector::MakeVersionedSelector
MakeVersionedSelector()
Definition:
MakePyVIDClassBuilder.h:9
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::readPSetsFrom
std::shared_ptr< ParameterSet > readPSetsFrom(std::string const &fileOrString)
Definition:
MakeParameterSets.cc:61
MakeVersionedSelector::operator()
VersionedSelector< edm::Ptr< PhysObj > > operator()(const std::string &pset, const std::string &which_config)
Definition:
MakePyVIDClassBuilder.h:12
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:140
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
MakeVersionedSelector
Definition:
MakePyVIDClassBuilder.h:8
MakeVersionedSelector::operator()
VersionedSelector< edm::Ptr< PhysObj > > operator()()
Definition:
MakePyVIDClassBuilder.h:20
edm::ParameterSet
Definition:
ParameterSet.h:36
VersionedSelector.h
VersionedSelector
cut-flow versioning info in the event provenance
Definition:
VersionedSelector.h:46
MakeParameterSets.h
Generated for CMSSW Reference Manual by
1.8.11