CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/L1TriggerConfig/DTTPGConfig/interface/DTConfigTrigUnit.h

Go to the documentation of this file.
00001 //-------------------------------------------------
00002 //
00012 //
00013 //--------------------------------------------------
00014 #ifndef DT_CONFIG_TrigUnit_H
00015 #define DT_CONFIG_TrigUnit_H
00016 
00017 //---------------
00018 // C++ Headers --
00019 //---------------
00020 #include<iostream>
00021 
00022 //----------------------
00023 // Base Class Headers --
00024 //----------------------
00025 
00026 //------------------------------------
00027 // Collaborating Class Declarations --
00028 //------------------------------------
00029 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00030 #include "L1TriggerConfig/DTTPGConfig/interface/DTConfig.h"
00031 
00032 //              ---------------------
00033 //              -- Class Interface --
00034 //              ---------------------
00035 
00036 class DTConfigTrigUnit : public DTConfig {
00037 
00038   public:
00039 
00041   DTConfigTrigUnit(const edm::ParameterSet& ps);
00042 
00044   DTConfigTrigUnit() {};
00045 
00047   ~DTConfigTrigUnit();
00048 
00050   inline bool debug() const { return m_debug; }
00051 
00053   inline int MCDigiOffset() const { return m_digioffset; }
00054 
00056   inline int MCSetupTime() const { return  m_setuptime; }
00057 
00059   void print() const ;
00060 
00061  /*  //! Return pointer to parameter set */
00062 /*   const edm::ParameterSet* getParameterSet() { return m_ps; } */
00063 
00065   inline void setDebug(bool debug) { m_debug=debug; }
00066 
00067   private:
00068 
00070   void setDefaults(const edm::ParameterSet& m_ps);
00071 
00072   //const edm::ParameterSet* m_ps;
00073 
00074   bool m_debug;
00075   int m_digioffset;
00076   int m_setuptime;
00077 
00078 };
00079 
00080 #endif