Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:37:09

0001 //-------------------------------------------------
0002 //
0003 /**  \class DTConfigTrigUnit
0004  *
0005  *   Configurable parameters and constants 
0006  *   for Level-1 Muon DT Trigger - Trigger Unit
0007  *
0008  *
0009  *   \author S. Vanini
0010  *
0011  */
0012 //
0013 //--------------------------------------------------
0014 #ifndef DT_CONFIG_TrigUnit_H
0015 #define DT_CONFIG_TrigUnit_H
0016 
0017 //---------------
0018 // C++ Headers --
0019 //---------------
0020 #include <iostream>
0021 
0022 //----------------------
0023 // Base Class Headers --
0024 //----------------------
0025 
0026 //------------------------------------
0027 // Collaborating Class Declarations --
0028 //------------------------------------
0029 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0030 #include "L1TriggerConfig/DTTPGConfig/interface/DTConfig.h"
0031 
0032 //              ---------------------
0033 //              -- Class Interface --
0034 //              ---------------------
0035 
0036 class DTConfigTrigUnit : public DTConfig {
0037 public:
0038   //! Constructor
0039   DTConfigTrigUnit(const edm::ParameterSet& ps);
0040 
0041   //! Constructor
0042   DTConfigTrigUnit() {}
0043 
0044   //! Destructor
0045   ~DTConfigTrigUnit() override;
0046 
0047   //! Debug flag
0048   inline bool debug() const { return m_debug; }
0049 
0050   //! Print the setup
0051   void print() const;
0052 
0053   //! Set debug flag
0054   inline void setDebug(bool debug) { m_debug = debug; }
0055 
0056 private:
0057   //! Load pset values into class variables
0058   void setDefaults(const edm::ParameterSet& m_ps);
0059 
0060   bool m_debug;
0061 };
0062 
0063 #endif