Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 //-------------------------------------------------
0002 //
0003 //   Class L1MuDTChambThDigi
0004 //
0005 //   Description: input data for ETTF trigger
0006 //
0007 //
0008 //   Author List: Jorge Troconiz  UAM Madrid
0009 //
0010 //
0011 //--------------------------------------------------
0012 #ifndef L1MuDTChambThDigi_H
0013 #define L1MuDTChambThDigi_H
0014 
0015 //------------------------------------
0016 // Collaborating Class Declarations --
0017 //------------------------------------
0018 
0019 //----------------------
0020 // Base Class Headers --
0021 //----------------------
0022 
0023 //---------------
0024 // C++ Headers --
0025 //---------------
0026 
0027 //              ---------------------
0028 //              -- Class Interface --
0029 //              ---------------------
0030 
0031 typedef unsigned char myint8;
0032 
0033 class L1MuDTChambThDigi {
0034 public:
0035   //  Constructors
0036   L1MuDTChambThDigi();
0037 
0038   L1MuDTChambThDigi(int ubx, int uwh, int usc, int ust, int* uos, int* uqual);
0039 
0040   L1MuDTChambThDigi(int ubx, int uwh, int usc, int ust, int* uos);
0041 
0042   //  Destructor
0043   ~L1MuDTChambThDigi();
0044 
0045   // Operations
0046   int bxNum() const;
0047   int whNum() const;
0048   int scNum() const;
0049   int stNum() const;
0050 
0051   int code(const int i) const;
0052   int position(const int i) const;
0053   int quality(const int i) const;
0054 
0055 private:
0056   int bx;
0057   int wheel;
0058   int sector;
0059   int station;
0060 
0061   myint8 m_outPos[7];
0062   myint8 m_outQual[7];
0063 };
0064 
0065 #endif