Go to the documentation of this file.
56 produces<TrajectorySeedCollection>();
62 magFieldToken = esConsumes<MagneticField, IdealMagneticFieldRecord>();
75 auto output = std::make_unique<TrajectorySeedCollection>();
87 edm::LogInfo(
"MuonSeedGenerator") <<
"No beam spot available from EventSetup \n";
94 std::vector<MuonRecHitContainer> patterns;
97 for (std::vector<MuonRecHitContainer>::const_iterator seedSegments = patterns.begin(); seedSegments != patterns.end();
109 desc.setAllowAnything();
110 desc.add<
bool>(
"EnableDTMeasurement",
true);
111 desc.add<
bool>(
"EnableCSCMeasurement",
true);
112 desc.add<
bool>(
"EnableME0Measurement",
false);
113 descriptions.
add(
"produceMuons",
desc);
MuonSeedVPatternRecognition * thePatternRecognition
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
virtual void seeds(const MuonTransientTrackingRecHit::MuonRecHitContainer &hits, std::vector< TrajectorySeed > &result)=0
edm::InputTag theBeamSpotTag
std::vector< MuonRecHitPointer > MuonRecHitContainer
~MuonSeedGenerator() override
Destructor.
Log< level::Info, false > LogInfo
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void setBField(const MagneticField *field)=0
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken
void add(std::string const &label, ParameterSetDescription const &psetDescription)
MuonSeedVCleaner * theSeedCleaner
virtual void clean(TrajectorySeedCollection &seeds)=0
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
MuonSeedVFinder * theSeedFinder
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
MuonSeedGenerator(const edm::ParameterSet &)
Constructor.
edm::EDGetTokenT< reco::BeamSpot > beamspotToken
void setBeamSpot(const GlobalVector &gv)
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muon's seeds
virtual void produce(const edm::Event &event, const edm::EventSetup &eSetup, std::vector< MuonRecHitContainer > &result)=0
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer