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 
33  setDefaults(ps);
34 
35 }
36 
38 
39 }
40 
41 //--------------
42 // Destructor --
43 //--------------
45 
46 //--------------
47 // Operations --
48 //--------------
49 
50 void
52 
53  // Debug flag
54  m_debug = ps.getUntrackedParameter<bool>("Debug");
55 
56 }
57 
58 void
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 
T getUntrackedParameter(std::string const &, T const &) const
~DTConfigTSTheta()
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.