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")),
26 minFracMatchStubsOnReco_(trackMatchDef_.getParameter<double>(
"MinFracMatchStubsOnReco")),
27 minFracMatchStubsOnTP_(trackMatchDef_.getParameter<double>(
"MinFracMatchStubsOnTP")),
28 minNumMatchLayers_(trackMatchDef_.getParameter<unsigned
int>(
"MinNumMatchLayers")),
29 minNumMatchPSLayers_(trackMatchDef_.getParameter<unsigned
int>(
"MinNumMatchPSLayers")),
30 stubMatchStrict_(trackMatchDef_.getParameter<
bool>(
"StubMatchStrict")) {
32 std::vector<unsigned int> genPdgIdsUnsigned(
genCuts_.
getParameter<std::vector<unsigned int>>(
"GenPdgIds"));
34 if (genPdgIdsUnsigned.empty()) {
89 "Settings.cc: Invalid cfg parameters - You are setting the minimum number of layers incorrectly : type C.");
double genMaxVertZ() const
T getParameter(std::string const &) const
unsigned int minNumMatchLayers_
AnalysisSettings(const edm::ParameterSet &iConfig)
=== Get configuration parameters
const std::vector< int > & genPdgIds(bool all=false) const
TrackingParticleSelector tpSelectorUseForVtxReco_
std::vector< int > genPdgIdsAll_
TrackingParticleSelector tpSelectorUseForEff_
edm::ParameterSet genCuts_
unsigned int genMinStubLayers_
TrackingParticleSelector tpSelectorUse_
double genMaxAbsEta() const
double genMaxVertR() const
std::vector< int > genPdgIds_
SingleObjectSelector< TrackingParticleCollection, ::TrackingParticleSelector > TrackingParticleSelector