CMS 3D CMS Logo

DTConfigTrigUnit.cc
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // Class: DTConfigTrigUnit
4 //
5 // Description: Configurable parameters and constants
6 // for Level1 Mu DT Trigger - Trigger Unit (DT chamber MiniCrate)
7 //
8 //
9 // Author List:
10 // S. Vanini
11 //
12 //-----------------------------------------------------------------------
13 
14 //-----------------------
15 // This Class's Header --
16 //-----------------------
18 
19 //---------------
20 // C++ Headers --
21 //---------------
22 
23 //-------------------------------
24 // Collaborating Class Headers --
25 //-------------------------------
26 
27 //----------------
28 // Constructors --
29 //----------------
31  setDefaults(ps);
32  if (debug())
33  print();
34 }
35 
36 //--------------
37 // Destructor --
38 //--------------
40 
41 //--------------
42 // Operations --
43 //--------------
44 
46  // Debug flag
47  m_debug = m_ps.getUntrackedParameter<bool>("Debug");
48 }
49 
51  std::cout << "******************************************************************************" << std::endl;
52  std::cout << "* DTTrigger configuration : Trigger Unit parameters *" << std::endl;
53  std::cout << "******************************************************************************" << std::endl
54  << std::endl;
55  std::cout << "Debug flag : " << debug() << std::endl;
56  std::cout << "******************************************************************************" << std::endl;
57 }
gather_cfg.cout
cout
Definition: gather_cfg.py:144
DTConfigTrigUnit.h
DTConfigTrigUnit::print
void print() const
Print the setup.
Definition: DTConfigTrigUnit.cc:50
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
DTConfigTrigUnit::~DTConfigTrigUnit
~DTConfigTrigUnit() override
Destructor.
Definition: DTConfigTrigUnit.cc:39
DTConfigTrigUnit::setDefaults
void setDefaults(const edm::ParameterSet &m_ps)
Load pset values into class variables.
Definition: DTConfigTrigUnit.cc:45
edm::ParameterSet
Definition: ParameterSet.h:47
DTConfigTrigUnit::DTConfigTrigUnit
DTConfigTrigUnit()
Constructor.
Definition: DTConfigTrigUnit.h:42
DTConfigTrigUnit::debug
bool debug() const
Debug flag.
Definition: DTConfigTrigUnit.h:48
DTConfigTrigUnit::m_debug
bool m_debug
Definition: DTConfigTrigUnit.h:60