Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 //-------------------------------------------------
0002 //
0003 //   Class L1MuDTTrackCand
0004 //
0005 //   Description: output data for DTTF trigger
0006 //
0007 //
0008 //   Author List: Jorge Troconiz  UAM Madrid
0009 //
0010 //
0011 //--------------------------------------------------
0012 #ifndef L1MuDTTrackCand_H
0013 #define L1MuDTTrackCand_H
0014 
0015 //------------------------------------
0016 // Collaborating Class Declarations --
0017 //------------------------------------
0018 
0019 //----------------------
0020 // Base Class Headers --
0021 //----------------------
0022 
0023 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuRegionalCand.h"
0024 
0025 //---------------
0026 // C++ Headers --
0027 //---------------
0028 
0029 //              ---------------------
0030 //              -- Class Interface --
0031 //              ---------------------
0032 
0033 class L1MuDTTrackCand : public L1MuRegionalCand {
0034 public:
0035   //  Constructors
0036   L1MuDTTrackCand();
0037 
0038   L1MuDTTrackCand(
0039       unsigned dataword, int bx, int uwh, int usc, int utag, int adr1, int adr2, int adr3, int adr4, int utc);
0040 
0041   L1MuDTTrackCand(unsigned type_idx,
0042                   unsigned phi,
0043                   unsigned eta,
0044                   unsigned pt,
0045                   unsigned charge,
0046                   unsigned ch_valid,
0047                   unsigned finehalo,
0048                   unsigned quality,
0049                   int bx,
0050                   int uwh,
0051                   int usc,
0052                   int utag,
0053                   int adr1,
0054                   int adr2,
0055                   int adr3,
0056                   int adr4);
0057 
0058   //  Destructor
0059   ~L1MuDTTrackCand() override;
0060 
0061   // Operations
0062   int whNum() const;
0063   int scNum() const;
0064   int stNum(int ust) const;
0065   int TCNum() const;
0066   int TrkTag() const;
0067 
0068   void setTC();
0069   void setAdd(int ust);
0070 
0071 private:
0072   int wheel;
0073   int sector;
0074   int TrkTagCode;
0075   int TClassCode;
0076   int TrkAdd[4];
0077 };
0078 
0079 #endif