CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/DataFormats/L1DTTrackFinder/interface/L1MuDTTrackCand.h

Go to the documentation of this file.
00001 //-------------------------------------------------
00002 //
00003 //   Class L1MuDTTrackCand      
00004 //
00005 //   Description: output data for DTTF trigger
00006 //
00007 //
00008 //   Author List: Jorge Troconiz  UAM Madrid
00009 //
00010 //
00011 //--------------------------------------------------
00012 #ifndef L1MuDTTrackCand_H
00013 #define L1MuDTTrackCand_H
00014 
00015 //------------------------------------
00016 // Collaborating Class Declarations --
00017 //------------------------------------
00018 
00019 
00020 //----------------------
00021 // Base Class Headers --
00022 //----------------------
00023 
00024 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuRegionalCand.h"
00025 
00026 //---------------
00027 // C++ Headers --
00028 //---------------
00029 
00030 //              ---------------------
00031 //              -- Class Interface --
00032 //              ---------------------
00033 
00034 class L1MuDTTrackCand: public L1MuRegionalCand {
00035 
00036  public:
00037 
00038   //  Constructors
00039   L1MuDTTrackCand();
00040 
00041   L1MuDTTrackCand( unsigned dataword, int bx, int uwh, int usc, int utag,
00042                    int adr1, int adr2, int adr3, int adr4, int utc );
00043 
00044   L1MuDTTrackCand( unsigned type_idx, unsigned phi, unsigned eta, unsigned pt, unsigned charge,
00045                    unsigned ch_valid, unsigned finehalo, unsigned quality, int bx,
00046                    int uwh, int usc, int utag, int adr1, int adr2, int adr3, int adr4 );
00047 
00048   //  Destructor
00049   ~L1MuDTTrackCand();
00050 
00051   // Operations
00052   int whNum()        const;
00053   int scNum()        const;
00054   int stNum(int ust) const;
00055   int TCNum()        const;
00056   int TrkTag()       const;
00057 
00058   void setTC();
00059   void setAdd(int ust);
00060 
00061  private:
00062 
00063   int wheel;
00064   int sector;
00065   int TrkTagCode;
00066   int TClassCode;
00067   int TrkAdd[4];
00068 
00069 };
00070 
00071 #endif