CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
TrajSeedMatcher::Configuration Struct Reference

#include <TrajSeedMatcher.h>

Public Member Functions

 Configuration (const edm::ParameterSet &pset, edm::ConsumesCollector &&cc)
 

Public Attributes

const edm::ESGetToken< DetLayerGeometry, RecoGeometryRecorddetLayerGeomToken
 
const bool enableHitSkipping
 
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecordmagFieldToken
 
const std::vector< std::unique_ptr< MatchingCuts > > matchingCuts
 
const std::vector< unsigned int > minNrHits
 
const std::vector< int > minNrHitsValidLayerBins
 
const edm::ESGetToken< NavigationSchool, NavigationSchoolRecordnavSchoolToken
 
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecordparamMagFieldToken
 
const bool requireExactMatchCount
 
const bool useParamMagFieldIfDefined
 
const bool useRecoVertex
 

Detailed Description

Definition at line 147 of file TrajSeedMatcher.h.

Constructor & Destructor Documentation

◆ Configuration()

TrajSeedMatcher::Configuration::Configuration ( const edm::ParameterSet pset,
edm::ConsumesCollector &&  cc 
)

Definition at line 58 of file TrajSeedMatcher.cc.

61  cc.esConsumes<MagneticField, IdealMagneticFieldRecord>(pset.getParameter<edm::ESInputTag>("paramMagField"))},
63  cc.esConsumes<NavigationSchool, NavigationSchoolRecord>(pset.getParameter<edm::ESInputTag>("navSchool"))},
65  cc.esConsumes<DetLayerGeometry, RecoGeometryRecord>(pset.getParameter<edm::ESInputTag>("detLayerGeom"))},
66  useRecoVertex{pset.getParameter<bool>("useRecoVertex")},
67  enableHitSkipping{pset.getParameter<bool>("enableHitSkipping")},
68  requireExactMatchCount{pset.getParameter<bool>("requireExactMatchCount")},
69  useParamMagFieldIfDefined{pset.getParameter<bool>("useParamMagFieldIfDefined")},
70  minNrHits{pset.getParameter<std::vector<unsigned int> >("minNrHits")},
71  minNrHitsValidLayerBins{pset.getParameter<std::vector<int> >("minNrHitsValidLayerBins")},
72  matchingCuts{makeMatchingCuts(pset.getParameter<std::vector<edm::ParameterSet> >("matchingCuts"))} {
73  if (minNrHitsValidLayerBins.size() + 1 != minNrHits.size()) {
74  throw cms::Exception("InvalidConfig")
75  << " TrajSeedMatcher::TrajSeedMatcher minNrHitsValidLayerBins should be 1 less than minNrHits when its "
76  << minNrHitsValidLayerBins.size() << " vs " << minNrHits.size();
77  }
78 }

References SiStripFineDelayHit_cfi::MagneticField.

Member Data Documentation

◆ detLayerGeomToken

const edm::ESGetToken<DetLayerGeometry, RecoGeometryRecord> TrajSeedMatcher::Configuration::detLayerGeomToken

Definition at line 153 of file TrajSeedMatcher.h.

◆ enableHitSkipping

const bool TrajSeedMatcher::Configuration::enableHitSkipping

Definition at line 156 of file TrajSeedMatcher.h.

Referenced by TrajSeedMatcher::processSeed().

◆ magFieldToken

const edm::ESGetToken<MagneticField, IdealMagneticFieldRecord> TrajSeedMatcher::Configuration::magFieldToken

Definition at line 150 of file TrajSeedMatcher.h.

◆ matchingCuts

const std::vector<std::unique_ptr<MatchingCuts> > TrajSeedMatcher::Configuration::matchingCuts

◆ minNrHits

const std::vector<unsigned int> TrajSeedMatcher::Configuration::minNrHits

Definition at line 165 of file TrajSeedMatcher.h.

Referenced by TrajSeedMatcher::getNrHitsRequired().

◆ minNrHitsValidLayerBins

const std::vector<int> TrajSeedMatcher::Configuration::minNrHitsValidLayerBins

Definition at line 166 of file TrajSeedMatcher.h.

Referenced by TrajSeedMatcher::getNrHitsRequired().

◆ navSchoolToken

const edm::ESGetToken<NavigationSchool, NavigationSchoolRecord> TrajSeedMatcher::Configuration::navSchoolToken

Definition at line 152 of file TrajSeedMatcher.h.

◆ paramMagFieldToken

const edm::ESGetToken<MagneticField, IdealMagneticFieldRecord> TrajSeedMatcher::Configuration::paramMagFieldToken

Definition at line 151 of file TrajSeedMatcher.h.

◆ requireExactMatchCount

const bool TrajSeedMatcher::Configuration::requireExactMatchCount

Definition at line 157 of file TrajSeedMatcher.h.

Referenced by TrajSeedMatcher::operator()().

◆ useParamMagFieldIfDefined

const bool TrajSeedMatcher::Configuration::useParamMagFieldIfDefined

Definition at line 158 of file TrajSeedMatcher.h.

Referenced by TrajSeedMatcher::getMagField().

◆ useRecoVertex

const bool TrajSeedMatcher::Configuration::useRecoVertex
NavigationSchoolRecord
Definition: NavigationSchoolRecord.h:12
edm::ESInputTag
Definition: ESInputTag.h:87
TrajSeedMatcher::Configuration::requireExactMatchCount
const bool requireExactMatchCount
Definition: TrajSeedMatcher.h:157
TrajSeedMatcher::Configuration::useRecoVertex
const bool useRecoVertex
Definition: TrajSeedMatcher.h:155
TrajSeedMatcher::Configuration::useParamMagFieldIfDefined
const bool useParamMagFieldIfDefined
Definition: TrajSeedMatcher.h:158
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
TrajSeedMatcher::Configuration::paramMagFieldToken
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > paramMagFieldToken
Definition: TrajSeedMatcher.h:151
TrajSeedMatcher::Configuration::matchingCuts
const std::vector< std::unique_ptr< MatchingCuts > > matchingCuts
Definition: TrajSeedMatcher.h:168
TrajSeedMatcher::Configuration::minNrHits
const std::vector< unsigned int > minNrHits
Definition: TrajSeedMatcher.h:165
TrajSeedMatcher::Configuration::magFieldToken
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken
Definition: TrajSeedMatcher.h:150
DetLayerGeometry
Definition: DetLayerGeometry.h:18
TrajSeedMatcher::Configuration::enableHitSkipping
const bool enableHitSkipping
Definition: TrajSeedMatcher.h:156
RecoGeometryRecord
Definition: RecoGeometryRecord.h:15
cc
TrajSeedMatcher::Configuration::minNrHitsValidLayerBins
const std::vector< int > minNrHitsValidLayerBins
Definition: TrajSeedMatcher.h:166
Exception
Definition: hltDiff.cc:246
TrajSeedMatcher::Configuration::navSchoolToken
const edm::ESGetToken< NavigationSchool, NavigationSchoolRecord > navSchoolToken
Definition: TrajSeedMatcher.h:152
TrajSeedMatcher::Configuration::detLayerGeomToken
const edm::ESGetToken< DetLayerGeometry, RecoGeometryRecord > detLayerGeomToken
Definition: TrajSeedMatcher.h:153
SiStripFineDelayHit_cfi.MagneticField
MagneticField
Definition: SiStripFineDelayHit_cfi.py:7
HLTSiStripMonitoring_cff.NavigationSchool
NavigationSchool
Definition: HLTSiStripMonitoring_cff.py:225
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27