Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:26

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