L1Phase2MuDTExtPhDigi

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
//-------------------------------------------------
//
//   Class L1Phase2MuDTExtPhDigi
//
//   Description: trigger primtive data for the
//                muon barrel Phase2 trigger
//
//
//   Author List: Nicolo' Trevisani - Oviedo ICTEA
//
//
//--------------------------------------------------
#ifndef L1Phase2MuDTExtPhDigi_H
#define L1Phase2MuDTExtPhDigi_H

//------------------------------------
// Collaborating Class Declarations --
//------------------------------------

#include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTPhDigi.h"

//----------------------
// Base Class Headers --
//----------------------

//---------------
// C++ Headers --
//---------------

// ---------------------
// -- Class Interface --
// ---------------------

class L1Phase2MuDTExtPhDigi : public L1Phase2MuDTPhDigi {
public:
  //  Constructors
  L1Phase2MuDTExtPhDigi();

  L1Phase2MuDTExtPhDigi(int bx,
                        int wh,
                        int sc,
                        int st,
                        int sl,
                        int phi,
                        int phib,
                        int qual,
                        int idx,
                        int t0,
                        int chi2,
                        int x,
                        int tan,
                        int phi_cmssw,
                        int phib_cmssw,
                        int rpc = -10,
                        int wireId[8] = nullptr,
                        int tdc[8] = nullptr,
                        int lat[8] = nullptr);

  L1Phase2MuDTExtPhDigi(const L1Phase2MuDTExtPhDigi &digi);

  ~L1Phase2MuDTExtPhDigi() override {}

  // Operations
  int xLocal() const;
  int tanPsi() const;

  int phiCMSSW() const;
  int phiBendCMSSW() const;

  int pathWireId(int) const;
  int pathTDC(int) const;
  int pathLat(int) const;

private:
  int m_xLocal;
  int m_tanPsi;

  int m_phiCMSSW;
  int m_phiBendCMSSW;

  int m_pathWireId[8];
  int m_pathTDC[8];
  int m_pathLat[8];
};

#endif