CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/L1Trigger/DTTriggerServerTheta/interface/DTChambThSegm.h

Go to the documentation of this file.
00001 //-------------------------------------------------
00002 //
00013 //--------------------------------------------------
00014 #ifndef DT_CHAMB_TH_SEGM_H
00015 #define DT_CHAMB_TH_SEGM_H
00016 
00017 //------------------------------------
00018 // Collaborating Class Declarations --
00019 //------------------------------------
00020 
00021 //----------------------
00022 // Base Class Headers --
00023 //----------------------
00024 #include "DataFormats/MuonDetId/interface/DTChamberId.h"
00025 #include "DataFormats/MuonDetId/interface/DTSuperLayerId.h"
00026 #include "DataFormats/MuonDetId/interface/DTLayerId.h"
00027 #include "DataFormats/MuonDetId/interface/DTWireId.h"
00028 #include "L1TriggerConfig/DTTPGConfig/interface/BitArray.h"
00029 #include "L1Trigger/DTUtilities/interface/DTTrigData.h"
00030 
00031 //---------------
00032 // C++ Headers --
00033 //---------------
00034 
00035 
00036 //              ---------------------
00037 //              -- Class Interface --
00038 //              ---------------------
00039 
00040 typedef unsigned char myint8;
00041 
00042 class DTChambThSegm : public DTTrigData {
00043 
00044   public:
00045 
00047     DTChambThSegm(DTChamberId,int,int*,int*);
00048 
00050     DTChambThSegm(const DTChambThSegm& seg);
00051   
00053     ~DTChambThSegm();
00054 
00056     DTChambThSegm& operator=(const DTChambThSegm& seg);
00057 
00059     void clear();
00060 
00062     inline int step() const { return m_step; }
00063 
00065     DTChamberId ChamberId() const { return m_chamberid; }
00066 
00068     void print() const;
00069 
00071     int code(const int i) const;
00072 
00074     int position(const int i) const;
00075 
00077     int quality(const int i) const;
00078 
00079   private:
00080 
00082     DTChamberId m_chamberid;
00083 
00085     int m_step;
00086 
00088     myint8 m_outPos[7];
00089     myint8 m_outQual[7];
00090 
00091 };
00092 
00093 #endif