Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-21 23:58:45

0001 //-------------------------------------------------
0002 //
0003 //   Class L1Phase2MuDTExtPhDigi
0004 //
0005 //   Description: trigger primtive data for the
0006 //                muon barrel Phase2 trigger
0007 //
0008 //
0009 //   Author List: Nicolo' Trevisani - Oviedo ICTEA
0010 //
0011 //
0012 //--------------------------------------------------
0013 #ifndef L1Phase2MuDTExtPhDigi_H
0014 #define L1Phase2MuDTExtPhDigi_H
0015 
0016 //------------------------------------
0017 // Collaborating Class Declarations --
0018 //------------------------------------
0019 
0020 #include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTPhDigi.h"
0021 
0022 //----------------------
0023 // Base Class Headers --
0024 //----------------------
0025 
0026 //---------------
0027 // C++ Headers --
0028 //---------------
0029 
0030 // ---------------------
0031 // -- Class Interface --
0032 // ---------------------
0033 
0034 class L1Phase2MuDTExtPhDigi : public L1Phase2MuDTPhDigi {
0035 public:
0036   //  Constructors
0037   L1Phase2MuDTExtPhDigi();
0038 
0039   L1Phase2MuDTExtPhDigi(int bx,
0040                         int wh,
0041                         int sc,
0042                         int st,
0043                         int sl,
0044                         int phi,
0045                         int phib,
0046                         int qual,
0047                         int idx,
0048                         int t0,
0049                         int chi2,
0050                         int x,
0051                         int tan,
0052                         int phi_cmssw,
0053                         int phib_cmssw,
0054                         int rpc = -10,
0055                         int wireId[8] = nullptr,
0056                         int tdc[8] = nullptr,
0057                         int lat[8] = nullptr);
0058 
0059   L1Phase2MuDTExtPhDigi(const L1Phase2MuDTExtPhDigi &digi);
0060 
0061   ~L1Phase2MuDTExtPhDigi() override{};
0062 
0063   // Operations
0064   int xLocal() const;
0065   int tanPsi() const;
0066 
0067   int phiCMSSW() const;
0068   int phiBendCMSSW() const;
0069 
0070   int pathWireId(int) const;
0071   int pathTDC(int) const;
0072   int pathLat(int) const;
0073 
0074 private:
0075   int m_xLocal;
0076   int m_tanPsi;
0077 
0078   int m_phiCMSSW;
0079   int m_phiBendCMSSW;
0080 
0081   int m_pathWireId[8];
0082   int m_pathTDC[8];
0083   int m_pathLat[8];
0084 };
0085 
0086 #endif