![]() |
![]() |
#include <L1TriggerConfig/DTTPGConfig/interface/DTConfigTrigUnit.h>
Public Member Functions | |
bool | debug () const |
Debug flag. | |
DTConfigTrigUnit () | |
Constructor. | |
DTConfigTrigUnit (const edm::ParameterSet &ps) | |
Constructor. | |
int | MCDigiOffset () const |
Digi-to-bti-input offset 500 (tdc units) --> wait to solve with Nicola Amapane. | |
int | MCSetupTime () const |
Minicrate "fine" sincronization parameter [0,25] ns. | |
void | print () const |
Print the setup. | |
~DTConfigTrigUnit () | |
Destructor. | |
Private Member Functions | |
void | setDefaults (const edm::ParameterSet &m_ps) |
Load pset values into class variables. | |
Private Attributes | |
bool | m_debug |
int | m_digioffset |
int | m_setuptime |
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().
00030 { 00031 00032 setDefaults(ps); 00033 if(debug()) print(); 00034 00035 }
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(), and print().
00050 { return m_debug; }
int DTConfigTrigUnit::MCDigiOffset | ( | ) | const [inline] |
Digi-to-bti-input offset 500 (tdc units) --> wait to solve with Nicola Amapane.
Definition at line 53 of file DTConfigTrigUnit.h.
References m_digioffset.
00053 { return m_digioffset; }
int DTConfigTrigUnit::MCSetupTime | ( | ) | const [inline] |
Minicrate "fine" sincronization parameter [0,25] ns.
Definition at line 56 of file DTConfigTrigUnit.h.
References m_setuptime.
Referenced by DTBtiCard::setConfig().
00056 { return m_setuptime; }
Print the setup.
Definition at line 61 of file DTConfigTrigUnit.cc.
References GenMuonPlsPt100GeV_cfg::cout, debug(), lat::endl(), m_digioffset, and m_setuptime.
Referenced by DTConfigTrigUnit().
00061 { 00062 00063 std::cout << "******************************************************************************" << std::endl; 00064 std::cout << "* DTTrigger configuration : Trigger Unit parameters *" << std::endl; 00065 std::cout << "******************************************************************************" << std::endl << std::endl; 00066 std::cout << "Debug flag : " << debug() << std::endl; 00067 std::cout << "MiniCrate digi offset in tdc units : " << m_digioffset << std::endl; 00068 std::cout << "MiniCrate setup time : fine syncronization : " << m_setuptime << std::endl; 00069 std::cout << "******************************************************************************" << std::endl; 00070 00071 }
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::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_debug, m_digioffset, and m_setuptime.
Referenced by DTConfigTrigUnit().
00047 { 00048 00049 // Debug flag 00050 m_debug = m_ps.getUntrackedParameter<bool>("Debug"); 00051 00052 // MiniCrate digi offset in tdc units 00053 m_digioffset = m_ps.getParameter<int>("DIGIOFFSET"); 00054 00055 // MiniCrate setup time : fine syncronization 00056 m_setuptime = m_ps.getParameter<int>("SINCROTIME"); 00057 00058 }
bool DTConfigTrigUnit::m_debug [private] |
int DTConfigTrigUnit::m_digioffset [private] |
Definition at line 72 of file DTConfigTrigUnit.h.
Referenced by MCDigiOffset(), print(), and setDefaults().
int DTConfigTrigUnit::m_setuptime [private] |
Definition at line 73 of file DTConfigTrigUnit.h.
Referenced by MCSetupTime(), print(), and setDefaults().