Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-01 23:54:06

0001 
0002 #ifndef L1TPHASE2GMTENDCAPSTUBPROCESSOR
0003 #define L1TPHASE2GMTENDCAPSTUBPROCESSOR
0004 
0005 #include "DataFormats/L1TMuonPhase2/interface/MuonStub.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007 #include "DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigi.h"
0008 #include "DataFormats/MuonData/interface/MuonDigiCollection.h"
0009 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
0010 #include "L1Trigger/L1TMuon/interface/GeometryTranslator.h"
0011 #include "DataFormats/RPCDigi/interface/RPCDigi.h"
0012 #include "DataFormats/MuonDetId/interface/RPCDetId.h"
0013 #include "L1Trigger/L1TMuon/interface/MuonTriggerPrimitive.h"
0014 #include "L1Trigger/L1TTwinMux/interface/RPCHitCleaner.h"
0015 
0016 class L1TPhase2GMTEndcapStubProcessor {
0017 public:
0018   L1TPhase2GMTEndcapStubProcessor();
0019   L1TPhase2GMTEndcapStubProcessor(const edm::ParameterSet&);
0020   ~L1TPhase2GMTEndcapStubProcessor();
0021 
0022   l1t::MuonStubCollection makeStubs(const MuonDigiCollection<CSCDetId, CSCCorrelatedLCTDigi>& csc,
0023                                     const MuonDigiCollection<RPCDetId, RPCDigi>& rpc,
0024                                     const L1TMuon::GeometryTranslator* t,
0025                                     const edm::EventSetup& iSetup);
0026 
0027 private:
0028   l1t::MuonStub buildCSCOnlyStub(const CSCDetId&, const CSCCorrelatedLCTDigi&, const L1TMuon::GeometryTranslator*);
0029   l1t::MuonStub buildRPCOnlyStub(const RPCDetId&, const RPCDigi&, const L1TMuon::GeometryTranslator*);
0030   l1t::MuonStubCollection combineStubs(const l1t::MuonStubCollection&, const l1t::MuonStubCollection&);
0031 
0032   int minBX_;
0033   int maxBX_;
0034   double coord1LSB_;
0035   double coord2LSB_;
0036   double eta1LSB_;
0037   double eta2LSB_;
0038   double etaMatch_;
0039   double phiMatch_;
0040   bool verbose_;
0041 };
0042 
0043 #endif