CMS 3D CMS Logo

DTConfigTrigUnit.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
12 //
13 //--------------------------------------------------
14 #ifndef DT_CONFIG_TrigUnit_H
15 #define DT_CONFIG_TrigUnit_H
16 
17 //---------------
18 // C++ Headers --
19 //---------------
20 #include <iostream>
21 
22 //----------------------
23 // Base Class Headers --
24 //----------------------
25 
26 //------------------------------------
27 // Collaborating Class Declarations --
28 //------------------------------------
31 
32 // ---------------------
33 // -- Class Interface --
34 // ---------------------
35 
36 class DTConfigTrigUnit : public DTConfig {
37 public:
40 
43 
45  ~DTConfigTrigUnit() override;
46 
48  inline bool debug() const { return m_debug; }
49 
51  void print() const;
52 
54  inline void setDebug(bool debug) { m_debug = debug; }
55 
56 private:
58  void setDefaults(const edm::ParameterSet& m_ps);
59 
60  bool m_debug;
61 };
62 
63 #endif
DTConfigTrigUnit::print
void print() const
Print the setup.
Definition: DTConfigTrigUnit.cc:50
DTConfigTrigUnit
Definition: DTConfigTrigUnit.h:36
DTConfigTrigUnit::~DTConfigTrigUnit
~DTConfigTrigUnit() override
Destructor.
Definition: DTConfigTrigUnit.cc:39
DTConfigTrigUnit::setDefaults
void setDefaults(const edm::ParameterSet &m_ps)
Load pset values into class variables.
Definition: DTConfigTrigUnit.cc:45
edm::ParameterSet
Definition: ParameterSet.h:47
DTConfigTrigUnit::DTConfigTrigUnit
DTConfigTrigUnit()
Constructor.
Definition: DTConfigTrigUnit.h:42
DTConfigTrigUnit::debug
bool debug() const
Debug flag.
Definition: DTConfigTrigUnit.h:48
DTConfig.h
DTConfig
Definition: DTConfig.h:32
ParameterSet.h
DTConfigTrigUnit::m_debug
bool m_debug
Definition: DTConfigTrigUnit.h:60
DTConfigTrigUnit::setDebug
void setDebug(bool debug)
Set debug flag.
Definition: DTConfigTrigUnit.h:54