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 }
T getUntrackedParameter(std::string const &, T const &) const
~DTConfigTSTheta() override
Destructor.
bool debug() const
Return the debug flag.
DTConfigTSTheta()
Constructor.
void print() const
Print the setup.
void setDefaults(const edm::ParameterSet &ps)
Load pset values into class variables.