CMS 3D CMS Logo

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 //-----------------------
18 
19 //---------------
20 // C++ Headers --
21 //---------------
22 #include <iostream>
23 
24 //-------------------------------
25 // Collaborating Class Headers --
26 //-------------------------------
27 
28 //----------------
29 // Constructors --
30 //----------------
32 
34 
35 //--------------
36 // Destructor --
37 //--------------
39 
40 //--------------
41 // Operations --
42 //--------------
43 
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 }
funct::false
false
Definition: Factorize.h:34
DTConfigTSTheta::setDefaults
void setDefaults(const edm::ParameterSet &ps)
Load pset values into class variables.
Definition: DTConfigTSTheta.cc:44
DTConfigTSTheta::print
void print() const
Print the setup.
Definition: DTConfigTSTheta.cc:49
DTConfigTSTheta::DTConfigTSTheta
DTConfigTSTheta()
Constructor.
Definition: DTConfigTSTheta.cc:33
gather_cfg.cout
cout
Definition: gather_cfg.py:144
DTConfigTSTheta::~DTConfigTSTheta
~DTConfigTSTheta() override
Destructor.
Definition: DTConfigTSTheta.cc:38
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
DTConfigTSTheta::m_debug
bool m_debug
Definition: DTConfigTSTheta.h:65
edm::ParameterSet
Definition: ParameterSet.h:36
DTConfigTSTheta::debug
bool debug() const
Return the debug flag.
Definition: DTConfigTSTheta.h:53
DTConfigTSTheta.h