Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-01-09 23:33:57

0001 #include "RecoMuon/MuonSeedGenerator/interface/MuonSeedVPatternRecognition.h"
0002 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0003 
0004 MuonSeedVPatternRecognition::MuonSeedVPatternRecognition(const edm::ParameterSet& pset)
0005     : enableDTMeasurement(pset.getParameter<bool>("EnableDTMeasurement")),
0006       enableCSCMeasurement(pset.getParameter<bool>("EnableCSCMeasurement")),
0007       enableME0Measurement(pset.getParameter<bool>("EnableME0Measurement")) {
0008   if (enableDTMeasurement)
0009     // the name of the DT rec hits collection
0010     theDTRecSegmentLabel = pset.getParameter<edm::InputTag>("DTRecSegmentLabel");
0011 
0012   if (enableCSCMeasurement)
0013     // the name of the CSC rec hits collection
0014     theCSCRecSegmentLabel = pset.getParameter<edm::InputTag>("CSCRecSegmentLabel");
0015 
0016   if (enableME0Measurement)
0017     theME0RecSegmentLabel = pset.getParameter<edm::InputTag>("ME0RecSegmentLabel");
0018 }