L1MuDTChambThDigi

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
//-------------------------------------------------
//
//   Class L1MuDTChambThDigi
//
//   Description: input data for ETTF trigger
//
//
//   Author List: Jorge Troconiz  UAM Madrid
//
//
//--------------------------------------------------
#ifndef L1MuDTChambThDigi_H
#define L1MuDTChambThDigi_H

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

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

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

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

typedef unsigned char myint8;

class L1MuDTChambThDigi {
public:
  //  Constructors
  L1MuDTChambThDigi();

  L1MuDTChambThDigi(int ubx, int uwh, int usc, int ust, int* uos, int* uqual);

  L1MuDTChambThDigi(int ubx, int uwh, int usc, int ust, int* uos);

  //  Destructor
  ~L1MuDTChambThDigi();

  // Operations
  int bxNum() const;
  int whNum() const;
  int scNum() const;
  int stNum() const;

  int code(const int i) const;
  int position(const int i) const;
  int quality(const int i) const;

private:
  int bx;
  int wheel;
  int sector;
  int station;

  myint8 m_outPos[7];
  myint8 m_outQual[7];
};

#endif