CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/RecoMuon/MuonSeedGenerator/src/MuonSeedVPatternRecognition.cc

Go to the documentation of this file.
00001 #include "RecoMuon/MuonSeedGenerator/src/MuonSeedVPatternRecognition.h"
00002 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00003 
00004 MuonSeedVPatternRecognition::MuonSeedVPatternRecognition(const edm::ParameterSet & pset)
00005 : enableDTMeasurement(pset.getParameter<bool>("EnableDTMeasurement")),
00006   enableCSCMeasurement(pset.getParameter<bool>("EnableCSCMeasurement"))
00007 {
00008   if(enableDTMeasurement)
00009     // the name of the DT rec hits collection
00010     theDTRecSegmentLabel = pset.getParameter<edm::InputTag>("DTRecSegmentLabel");
00011 
00012   if(enableCSCMeasurement)
00013     // the name of the CSC rec hits collection
00014     theCSCRecSegmentLabel = pset.getParameter<edm::InputTag>("CSCRecSegmentLabel");
00015 }
00016