Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:46

0001 //-------------------------------------------------
0002 //
0003 //   Class L1MuDTChambPhDigi
0004 //
0005 //   Description: trigger primtive data for the
0006 //                muon barrel Phase2 trigger
0007 //
0008 //
0009 //   Author List: Federica Primavera  Bologna INFN
0010 //
0011 //
0012 //--------------------------------------------------
0013 
0014 //-----------------------
0015 // This Class's Header --
0016 //-----------------------
0017 #include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTPhDigi.h"
0018 
0019 //-------------------------------
0020 // Collaborating Class Headers --
0021 //-------------------------------
0022 
0023 //---------------
0024 // C++ Headers --
0025 //---------------
0026 
0027 //-------------------
0028 // Initializations --
0029 //-------------------
0030 
0031 //----------------
0032 // Constructors --
0033 //----------------
0034 L1Phase2MuDTPhDigi::L1Phase2MuDTPhDigi()
0035     : m_bx(-100),
0036       m_wheel(0),
0037       m_sector(0),
0038       m_station(0),
0039       m_superlayer(0),
0040       m_phiAngle(0),
0041       m_phiBending(0),
0042       m_qualityCode(-1),
0043       m_index(0),
0044       m_t0(0),
0045       m_chi2(0),
0046       m_rpcFlag(-10) {}
0047 
0048 L1Phase2MuDTPhDigi::L1Phase2MuDTPhDigi(
0049     int bx, int wh, int sc, int st, int sl, int phi, int phib, int qual, int idx, int t0, int chi2, int rpc)
0050     : m_bx(bx),
0051       m_wheel(wh),
0052       m_sector(sc),
0053       m_station(st),
0054       m_superlayer(sl),
0055       m_phiAngle(phi),
0056       m_phiBending(phib),
0057       m_qualityCode(qual),
0058       m_index(idx),
0059       m_t0(t0),
0060       m_chi2(chi2),
0061       m_rpcFlag(rpc) {}
0062 
0063 //--------------
0064 // Operations --
0065 //--------------
0066 int L1Phase2MuDTPhDigi::bxNum() const { return m_bx; }
0067 
0068 int L1Phase2MuDTPhDigi::whNum() const { return m_wheel; }
0069 
0070 int L1Phase2MuDTPhDigi::scNum() const { return m_sector; }
0071 
0072 int L1Phase2MuDTPhDigi::stNum() const { return m_station; }
0073 
0074 int L1Phase2MuDTPhDigi::slNum() const { return m_superlayer; }
0075 
0076 int L1Phase2MuDTPhDigi::phi() const { return m_phiAngle; }
0077 
0078 int L1Phase2MuDTPhDigi::phiBend() const { return m_phiBending; }
0079 
0080 int L1Phase2MuDTPhDigi::quality() const { return m_qualityCode; }
0081 
0082 int L1Phase2MuDTPhDigi::index() const { return m_index; }
0083 
0084 int L1Phase2MuDTPhDigi::t0() const { return m_t0; }
0085 
0086 int L1Phase2MuDTPhDigi::chi2() const { return m_chi2; }
0087 
0088 int L1Phase2MuDTPhDigi::rpcFlag() const { return m_rpcFlag; }