Main Page
Namespaces
Classes
Package Documentation
L1TriggerConfig
DTTPGConfig
interface
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
//------------------------------------
29
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
30
#include "
L1TriggerConfig/DTTPGConfig/interface/DTConfig.h
"
31
32
// ---------------------
33
// -- Class Interface --
34
// ---------------------
35
36
class
DTConfigTrigUnit
:
public
DTConfig
{
37
38
public
:
39
41
DTConfigTrigUnit
(
const
edm::ParameterSet
& ps);
42
44
DTConfigTrigUnit
() {};
45
47
~DTConfigTrigUnit
()
override
;
48
50
inline
bool
debug
()
const
{
return
m_debug
; }
51
53
void
print
()
const
;
54
56
inline
void
setDebug
(
bool
debug
) {
m_debug
=
debug
; }
57
58
private
:
59
61
void
setDefaults
(
const
edm::ParameterSet
& m_ps);
62
63
bool
m_debug
;
64
65
};
66
67
#endif
DTConfigTrigUnit
Definition:
DTConfigTrigUnit.h:36
DTConfigTrigUnit::setDefaults
void setDefaults(const edm::ParameterSet &m_ps)
Load pset values into class variables.
Definition:
DTConfigTrigUnit.cc:47
DTConfigTrigUnit::print
void print() const
Print the setup.
Definition:
DTConfigTrigUnit.cc:55
DTConfig
Definition:
DTConfig.h:32
ParameterSet.h
DTConfigTrigUnit::debug
bool debug() const
Debug flag.
Definition:
DTConfigTrigUnit.h:50
DTConfig.h
DTConfigTrigUnit::setDebug
void setDebug(bool debug)
Set debug flag.
Definition:
DTConfigTrigUnit.h:56
DTConfigTrigUnit::m_debug
bool m_debug
Definition:
DTConfigTrigUnit.h:63
DTConfigTrigUnit::~DTConfigTrigUnit
~DTConfigTrigUnit() override
Destructor.
Definition:
DTConfigTrigUnit.cc:40
DTConfigTrigUnit::DTConfigTrigUnit
DTConfigTrigUnit()
Constructor.
Definition:
DTConfigTrigUnit.h:44
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11