3 namespace l1tVertexFinder {
11 genCuts_(iConfig.getParameter<edm::
ParameterSet>(
"GenCuts")),
12 l1TrackDef_(iConfig.getParameter<edm::
ParameterSet>(
"L1TrackDef")),
13 trackMatchDef_(iConfig.getParameter<edm::
ParameterSet>(
"TrackMatchDef")),
16 genMinPt_(genCuts_.getParameter<double>(
"GenMinPt")),
17 genMaxAbsEta_(genCuts_.getParameter<double>(
"GenMaxAbsEta")),
18 genMaxVertR_(genCuts_.getParameter<double>(
"GenMaxVertR")),
19 genMaxVertZ_(genCuts_.getParameter<double>(
"GenMaxVertZ")),
20 genMinStubLayers_(genCuts_.getParameter<unsigned int>(
"GenMinStubLayers")),
23 useLayerID_(l1TrackDef_.getParameter<bool>(
"UseLayerID")),
32 std::vector<unsigned int> genPdgIdsUnsigned(
genCuts_.
getParameter<std::vector<unsigned int>>(
"GenPdgIds"));
34 if (genPdgIdsUnsigned.empty()) {
43 std::transform(genPdgIdsAll_.begin(), genPdgIdsAll_.end(), std::back_inserter(genPdgIdsAll_), std::negate<int>());
89 "Settings.cc: Invalid cfg parameters - You are setting the minimum number of layers incorrectly : type C.");
double genMaxVertR() const
unsigned int minNumMatchLayers_
AnalysisSettings(const edm::ParameterSet &iConfig)
=== Get configuration parameters
TrackingParticleSelector tpSelectorUseForVtxReco_
double genMaxAbsEta() const
std::vector< int > genPdgIdsAll_
TrackingParticleSelector tpSelectorUseForEff_
edm::ParameterSet genCuts_
unsigned int genMinStubLayers_
double genMaxVertZ() const
TrackingParticleSelector tpSelectorUse_
minFracMatchStubsOnTP_(-99)
T getParameter(std::string const &) const
std::vector< int > genPdgIds_
minFracMatchStubsOnReco_(-99)
const std::vector< int > & genPdgIds(bool all=false) const
SingleObjectSelector< TrackingParticleCollection,::TrackingParticleSelector > TrackingParticleSelector