Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef L1TPHASE2GMTBARRELSTUBPROCESSOR
0002 #define L1TPHASE2GMTBARRELSTUBPROCESSOR
0003 
0004 #include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTPhDigi.h"
0005 #include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTPhContainer.h"
0006 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambThDigi.h"
0007 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambThContainer.h"
0008 #include "DataFormats/L1TMuonPhase2/interface/MuonStub.h"
0009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0010 #include "CondFormats/L1TObjects/interface/L1TMuonBarrelParams.h"
0011 #include "CondFormats/DataRecord/interface/L1TMuonBarrelParamsRcd.h"
0012 
0013 class L1TPhase2GMTBarrelStubProcessor {
0014 public:
0015   L1TPhase2GMTBarrelStubProcessor();
0016   L1TPhase2GMTBarrelStubProcessor(const edm::ParameterSet&);
0017 
0018   ~L1TPhase2GMTBarrelStubProcessor();
0019 
0020   l1t::MuonStubCollection makeStubs(const L1Phase2MuDTPhContainer*, const L1MuDTChambThContainer*);
0021 
0022 private:
0023   l1t::MuonStub buildStub(const L1Phase2MuDTPhDigi&, const L1MuDTChambThDigi*);
0024   l1t::MuonStub buildStubNoEta(const L1Phase2MuDTPhDigi&);
0025 
0026   int calculateEta(uint, int, uint, uint);
0027   int minPhiQuality_;
0028 
0029   int minBX_;
0030   int maxBX_;
0031 
0032   std::vector<int> eta1_;
0033   std::vector<int> eta2_;
0034   std::vector<int> eta3_;
0035   std::vector<int> coarseEta1_;
0036   std::vector<int> coarseEta2_;
0037   std::vector<int> coarseEta3_;
0038   std::vector<int> coarseEta4_;
0039   std::vector<int> phiOffset_;
0040   int phiBFactor_;
0041   int verbose_;
0042   double phiLSB_;
0043   double etaLSB_;
0044 };
0045 
0046 #endif