/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FastSimulation/Muons/plugins/FastTSGFromL2Muon.h
50 строк
2 KB
Christopher Jones
Replace forward references with includes of Fwd.h files
18 фев 2026, 17:29
18 фев 2026, 17:29
bb39da7
Код
Авторство
О чём код?
#ifndef FastSimulation_Muons_FastTSGFromL2Muon_H #define FastSimulation_Muons_FastTSGFromL2Muon_H #include "FWCore/Framework/interface/stream/EDProducer.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DataFormats/TrackReco/interface/TrackFwd.h" #include "DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h" #include "SimDataFormats/Track/interface/SimTrackContainer.h" #include "SimDataFormats/Track/interface/SimTrackFwd.h" #include <vector> namespace edm { class ParameterSet; class Event; class EventSetup; } // namespace edm class MuonServiceProxy; class MuonTrackingRegionBuilder; class RectangularEtaPhiTrackingRegion; // // generate seeds corresponding to L2 muons // class FastTSGFromL2Muon : public edm::stream::EDProducer<> { public: FastTSGFromL2Muon(const edm::ParameterSet& cfg); ~FastTSGFromL2Muon() override = default; void produce(edm::Event& ev, const edm::EventSetup& es) override; private: bool clean(reco::TrackRef muRef, RectangularEtaPhiTrackingRegion* region, const BasicTrajectorySeed* aSeed, const SimTrack& theSimTrack); private: const double thePtCut; const edm::InputTag theL2CollectionLabel; const std::vector<edm::InputTag> theSeedCollectionLabels; const edm::InputTag theSimTrackCollectionLabel; const edm::EDGetTokenT<edm::SimTrackContainer> simTrackToken_; const edm::EDGetTokenT<reco::TrackCollection> l2TrackToken_; std::vector<edm::EDGetTokenT<edm::View<TrajectorySeed> > > seedToken_; std::unique_ptr<MuonTrackingRegionBuilder> theRegionBuilder; }; #endif