test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1TriggerConfig
DTTPGConfig
src
DTConfigTSTheta.cc
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class: DTConfigTSTheta
4
//
5
// Description: Configurable parameters and constants
6
// for Level1 Mu DT Trigger - TS Theta
7
//
8
//
9
// Author List:
10
// C. Battilana
11
//
12
//-----------------------------------------------------------------------
13
14
//-----------------------
15
// This Class's Header --
16
//-----------------------
17
#include "
L1TriggerConfig/DTTPGConfig/interface/DTConfigTSTheta.h
"
18
19
//---------------
20
// C++ Headers --
21
//---------------
22
#include <iostream>
23
24
//-------------------------------
25
// Collaborating Class Headers --
26
//-------------------------------
27
28
//----------------
29
// Constructors --
30
//----------------
31
DTConfigTSTheta::DTConfigTSTheta
(
const
edm::ParameterSet
& ps) {
32
33
setDefaults
(ps);
34
35
}
36
37
DTConfigTSTheta::DTConfigTSTheta
() : m_debug(
false
) {
38
39
}
40
41
//--------------
42
// Destructor --
43
//--------------
44
DTConfigTSTheta::~DTConfigTSTheta
() {}
45
46
//--------------
47
// Operations --
48
//--------------
49
50
void
51
DTConfigTSTheta::setDefaults
(
const
edm::ParameterSet
& ps) {
52
53
// Debug flag
54
m_debug
= ps.
getUntrackedParameter
<
bool
>(
"Debug"
);
55
56
}
57
58
void
59
DTConfigTSTheta::print
()
const
{
60
61
std::cout
<<
"******************************************************************************"
<< std::endl;
62
std::cout
<<
"* DTTrigger configuration : TSTheta chips *"
<< std::endl;
63
std::cout
<<
"******************************************************************************"
<< std::endl;
64
std::cout
<<
"* *"
<< std::endl;
65
std::cout
<<
"Debug flag : "
<<
debug
() << std::endl;
66
std::cout
<<
"******************************************************************************"
<< std::endl;
67
68
}
69
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
DTConfigTSTheta::~DTConfigTSTheta
~DTConfigTSTheta()
Destructor.
Definition:
DTConfigTSTheta.cc:44
DTConfigTSTheta::m_debug
bool m_debug
Definition:
DTConfigTSTheta.h:68
DTConfigTSTheta::debug
bool debug() const
Return the debug flag.
Definition:
DTConfigTSTheta.h:55
DTConfigTSTheta.h
DTConfigTSTheta::DTConfigTSTheta
DTConfigTSTheta()
Constructor.
Definition:
DTConfigTSTheta.cc:37
DTConfigTSTheta::print
void print() const
Print the setup.
Definition:
DTConfigTSTheta.cc:59
edm::ParameterSet
Definition:
ParameterSet.h:36
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:145
DTConfigTSTheta::setDefaults
void setDefaults(const edm::ParameterSet &ps)
Load pset values into class variables.
Definition:
DTConfigTSTheta.cc:51
edm::false
volatile std::atomic< bool > shutdown_flag false
Definition:
UnixSignalHandlers.cc:22
Generated for CMSSW Reference Manual by
1.8.5