11 produces<L3MuonTrajectorySeedCollection>();
16 theService = std::make_unique<MuonServiceProxy>(
26 if (!regionBuilderPSet.empty()) {
27 theRegionBuilder = std::make_unique<MuonTrackingRegionBuilder>(regionBuilderPSet, iC);
38 if (!trackerSeedCleanerPSet.
empty()) {
39 theSeedCleaner = std::make_unique<TrackerSeedCleaner>(trackerSeedCleanerPSet, iC);
53 bool duringEvent =
false;
61 auto result = std::make_unique<L3MuonTrajectorySeedCollection>();
79 LogDebug(
"TSGFromL2Muon") << l2muonH->size() <<
" l2 tracks.";
81 for (
unsigned int imu = 0; imu != l2muonH->size(); ++imu) {
90 std::unique_ptr<RectangularEtaPhiTrackingRegion>
region;
94 region = std::make_unique<RectangularEtaPhiTrackingRegion>();
98 std::vector<TrajectorySeed> tkSeeds;
101 std::pair<const Trajectory*, reco::TrackRef> staCand((
Trajectory*)
nullptr, muRef);
111 for (
unsigned int is = 0; is != tkSeeds.size(); ++is) {
118 LogDebug(
"TSGFromL2Muon") <<
result->size() <<
" trajectory seeds to the events";
127 desc.setAllowAnything();
~TSGFromL2Muon() override
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > theTTopoToken
T getParameter(std::string const &) const
void produce(edm::Event &ev, const edm::EventSetup &es) override
std::unique_ptr< TrackerSeedGenerator > theTkSeedGenerator
std::unique_ptr< MuonTrackingRegionBuilder > theRegionBuilder
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
edm::EDGetTokenT< reco::TrackCollection > l2muonToken
TSGFromL2Muon(const edm::ParameterSet &cfg)
edm::InputTag theL2CollectionLabel
std::unique_ptr< TrackerSeedCleaner > theSeedCleaner
bool getData(T &iHolder) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< MuonServiceProxy > theService