#include <DTConfigTrigUnit.h>
Public Member Functions | |
bool | debug () const |
Debug flag. | |
DTConfigTrigUnit (const edm::ParameterSet &ps) | |
Constructor. | |
DTConfigTrigUnit () | |
Constructor. | |
void | print () const |
Print the setup. | |
void | setDebug (bool debug) |
Set debug flag. | |
~DTConfigTrigUnit () | |
Destructor. | |
Private Member Functions | |
void | setDefaults (const edm::ParameterSet &m_ps) |
Load pset values into class variables. | |
Private Attributes | |
bool | m_debug |
Configurable parameters and constants for Level-1 Muon DT Trigger - Trigger Unit
Definition at line 36 of file DTConfigTrigUnit.h.
DTConfigTrigUnit::DTConfigTrigUnit | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 30 of file DTConfigTrigUnit.cc.
References debug(), print(), and setDefaults().
{ setDefaults(ps); if(debug()) print(); }
DTConfigTrigUnit::DTConfigTrigUnit | ( | ) | [inline] |
DTConfigTrigUnit::~DTConfigTrigUnit | ( | ) |
bool DTConfigTrigUnit::debug | ( | ) | const [inline] |
Debug flag.
Definition at line 50 of file DTConfigTrigUnit.h.
References m_debug.
Referenced by DTConfigTrigUnit(), print(), and setDebug().
{ return m_debug; }
void DTConfigTrigUnit::print | ( | void | ) | const |
Print the setup.
Definition at line 55 of file DTConfigTrigUnit.cc.
References gather_cfg::cout, and debug().
Referenced by DTConfigTrigUnit().
{ std::cout << "******************************************************************************" << std::endl; std::cout << "* DTTrigger configuration : Trigger Unit parameters *" << std::endl; std::cout << "******************************************************************************" << std::endl << std::endl; std::cout << "Debug flag : " << debug() << std::endl; std::cout << "******************************************************************************" << std::endl; }
void DTConfigTrigUnit::setDebug | ( | bool | debug | ) | [inline] |
Set debug flag.
Definition at line 56 of file DTConfigTrigUnit.h.
References debug(), and m_debug.
Referenced by DTConfigDBProducer::readDTCCBConfig().
void DTConfigTrigUnit::setDefaults | ( | const edm::ParameterSet & | m_ps | ) | [private] |
Load pset values into class variables.
Definition at line 47 of file DTConfigTrigUnit.cc.
References edm::ParameterSet::getUntrackedParameter(), and m_debug.
Referenced by DTConfigTrigUnit().
{ // Debug flag m_debug = m_ps.getUntrackedParameter<bool>("Debug"); }
bool DTConfigTrigUnit::m_debug [private] |
Definition at line 63 of file DTConfigTrigUnit.h.
Referenced by debug(), setDebug(), and setDefaults().