60 theBeamSpotTag(pset.getParameter<
edm::InputTag>(
"beamSpotTag"))
62 produces<TrajectorySeedCollection>();
82 auto output = std::make_unique<TrajectorySeedCollection>();
93 beamSpot = *beamSpotHandle;
98 <<
"No beam spot available from EventSetup \n";
105 std::vector<MuonRecHitContainer> patterns;
108 for(std::vector<MuonRecHitContainer>::const_iterator seedSegments = patterns.begin();
109 seedSegments != patterns.end(); ++seedSegments)
123 desc.
add<
bool>(
"EnableDTMeasurement",
true);
124 desc.
add<
bool>(
"EnableCSCMeasurement",
true);
125 desc.
add<
bool>(
"EnableME0Measurement",
false);
126 descriptions.
add(
"produceMuons", desc);
void setBeamSpot(const GlobalVector &gv)
double z0() const
z coordinate
virtual void produce(const edm::Event &event, const edm::EventSetup &eSetup, std::vector< MuonRecHitContainer > &result)=0
void setAllowAnything()
allow any parameter label/value pairs
MuonSeedVCleaner * theSeedCleaner
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
edm::EDGetTokenT< reco::BeamSpot > beamspotToken
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muon's seeds
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
~MuonSeedGenerator() override
Destructor.
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
virtual void seeds(const MuonTransientTrackingRecHit::MuonRecHitContainer &hits, std::vector< TrajectorySeed > &result)=0
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual void clean(TrajectorySeedCollection &seeds)=0
virtual void setBField(const MagneticField *field)=0
double y0() const
y coordinate
MuonSeedVFinder * theSeedFinder
MuonSeedVPatternRecognition * thePatternRecognition
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
MuonSeedGenerator(const edm::ParameterSet &)
Constructor.
std::vector< MuonRecHitPointer > MuonRecHitContainer
edm::InputTag theBeamSpotTag
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
double x0() const
x coordinate