Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-28 03:10:06

0001 //-------------------------------------------------
0002 //
0003 //   Class: DTLowQMatching
0004 //
0005 //   DTLowQMatching
0006 //
0007 //
0008 //   Author :
0009 //   G. Flouris               U Ioannina    Mar. 2015
0010 //   mod.: g Karathanasis
0011 //--------------------------------------------------
0012 
0013 #ifndef L1T_TwinMux_DTLowQMatching_H
0014 #define L1T_TwinMux_DTLowQMatching_H
0015 
0016 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhContainer.h"
0017 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambThContainer.h"
0018 
0019 #include "CondFormats/L1TObjects/interface/L1TTwinMuxParams.h"
0020 #include "CondFormats/DataRecord/interface/L1TTwinMuxParamsRcd.h"
0021 #include "L1Trigger/L1TTwinMux/interface/L1MuTMChambPhContainer.h"
0022 
0023 #include "FWCore/Framework/interface/Frameworkfwd.h"
0024 #include "FWCore/Framework/interface/EDProducer.h"
0025 #include "FWCore/Framework/interface/Event.h"
0026 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0027 #include "FWCore/Framework/interface/ESHandle.h"
0028 #include "FWCore/Framework/interface/EventSetup.h"
0029 
0030 #include <iostream>
0031 
0032 class DTLowQMatching {
0033 public:
0034   DTLowQMatching(L1MuDTChambPhContainer const*, L1MuDTChambPhContainer const&);
0035 
0036   void run(const L1TTwinMuxParams&);
0037 
0038   static int noRPCHits(L1MuDTChambPhContainer inCon, int bx, int wh, int sec, int st);
0039 
0040 private:
0041   int deltaPhi(int dt_phi, int rpc_strip);
0042 
0043   void Matching(int track_seg);
0044 
0045   L1MuDTChambPhContainer const* m_phiDTDigis;
0046   L1MuDTChambPhContainer const& m_phiRPCDigis;
0047   //  L1MuDTChambPhContainer m_phiRPCDigis2;
0048 
0049   int m_DphiWindow;
0050 };
0051 #endif