Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-16 02:43:03

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&,
0029                                  const CSCCorrelatedLCTDigi&,
0030                                  const L1TMuon::GeometryTranslator*,
0031                                  unsigned int);
0032   l1t::MuonStub buildRPCOnlyStub(const RPCDetId&, const RPCDigi&, const L1TMuon::GeometryTranslator*);
0033   l1t::MuonStubCollection combineStubs(const l1t::MuonStubCollection&, const l1t::MuonStubCollection&);
0034 
0035   int minBX_;
0036   int maxBX_;
0037   double coord1LSB_;
0038   double coord2LSB_;
0039   double eta1LSB_;
0040   double eta2LSB_;
0041   double etaMatch_;
0042   double phiMatch_;
0043   bool verbose_;
0044 };
0045 
0046 #endif