src
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) {
setDefaults
(ps); }
32
33
DTConfigTSTheta::DTConfigTSTheta
() : m_debug(
false
) {}
34
35
//--------------
36
// Destructor --
37
//--------------
38
DTConfigTSTheta::~DTConfigTSTheta
() {}
39
40
//--------------
41
// Operations --
42
//--------------
43
44
void
DTConfigTSTheta::setDefaults
(
const
edm::ParameterSet
& ps) {
45
// Debug flag
46
m_debug
= ps.
getUntrackedParameter
<
bool
>(
"Debug"
);
47
}
48
49
void
DTConfigTSTheta::print
()
const
{
50
std::cout
<<
"******************************************************************************"
<< std::endl;
51
std::cout
<<
"* DTTrigger configuration : TSTheta chips *"
<< std::endl;
52
std::cout
<<
"******************************************************************************"
<< std::endl;
53
std::cout
<<
"* *"
<< std::endl;
54
std::cout
<<
"Debug flag : "
<<
debug
() << std::endl;
55
std::cout
<<
"******************************************************************************"
<< std::endl;
56
}
DTConfigTSTheta::~DTConfigTSTheta
~DTConfigTSTheta() override
Destructor.
Definition:
DTConfigTSTheta.cc:38
funct::false
false
Definition:
Factorize.h:29
DTConfigTSTheta::m_debug
bool m_debug
Definition:
DTConfigTSTheta.h:65
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
DTConfigTSTheta.h
DTConfigTSTheta::debug
bool debug() const
Return the debug flag.
Definition:
DTConfigTSTheta.h:53
DTConfigTSTheta::DTConfigTSTheta
DTConfigTSTheta()
Constructor.
Definition:
DTConfigTSTheta.cc:33
DTConfigTSTheta::print
void print() const
Print the setup.
Definition:
DTConfigTSTheta.cc:49
edm::ParameterSet
Definition:
ParameterSet.h:47
DTConfigTSTheta::setDefaults
void setDefaults(const edm::ParameterSet &ps)
Load pset values into class variables.
Definition:
DTConfigTSTheta.cc:44
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
Generated for CMSSW Reference Manual by
1.8.14