/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoMuon/MuonSeedGenerator/interface/SETPatternRecognition.h
51 строка
2 KB
Luca Ferragina
Re-organize RecoMuon/MuonSeedGenerator including interface, src and
09 янв 2025, 14:00
09 янв 2025, 14:00
3fc6a46
Код
Авторство
О чём код?
#ifndef MuonSeedGenerator_SETPatternRecognition_h #define MuonSeedGenerator_SETPatternRecognition_h #include "RecoMuon/MuonSeedGenerator/interface/MuonSeedVPatternRecognition.h" #include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h" #include "FWCore/Framework/interface/ConsumesCollector.h" #include "DataFormats/DTRecHit/interface/DTRecSegment4D.h" #include "DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h" #include "DataFormats/CSCRecHit/interface/CSCSegmentCollection.h" #include "DataFormats/RPCRecHit/interface/RPCRecHitCollection.h" class SETPatternRecognition : public MuonSeedVPatternRecognition { public: explicit SETPatternRecognition(const edm::ParameterSet& pset, edm::ConsumesCollector& iC); ~SETPatternRecognition() override {} /** Output is a cluster, with possibly more than one hit per layer */ void produce(const edm::Event& event, const edm::EventSetup& eSetup, std::vector<MuonRecHitContainer>& result) override; void setServiceProxy(MuonServiceProxy* service) { theService = service; } // don't use "bad" segments bool segmentCleaning(const DetId& detId, const LocalPoint& localPosition, const LocalError& localError, const LocalVector& localDirection, const LocalError& localDirectionError, const double& chi2, const int& ndf); private: int maxActiveChambers; bool useRPCs; edm::InputTag DTRecSegmentLabel; edm::InputTag CSCRecSegmentLabel; edm::InputTag RPCRecSegmentLabel; edm::EDGetTokenT<DTRecSegment4DCollection> dtToken; edm::EDGetTokenT<CSCSegmentCollection> cscToken; edm::EDGetTokenT<RPCRecHitCollection> rpcToken; double outsideChamberErrorScale; double minLocalSegmentAngle; //---- MuonServiceProxy* theService; }; #endif