![]() |
![]() |
00001 //------------------------------------------------- 00002 // 00003 // Class: DTConfigTSTheta 00004 // 00005 // Description: Configurable parameters and constants 00006 // for Level1 Mu DT Trigger - TS Theta 00007 // 00008 // 00009 // Author List: 00010 // C. Battilana 00011 // 00012 //----------------------------------------------------------------------- 00013 00014 //----------------------- 00015 // This Class's Header -- 00016 //----------------------- 00017 #include "L1TriggerConfig/DTTPGConfig/interface/DTConfigTSTheta.h" 00018 00019 //--------------- 00020 // C++ Headers -- 00021 //--------------- 00022 #include <iostream> 00023 00024 //------------------------------- 00025 // Collaborating Class Headers -- 00026 //------------------------------- 00027 00028 //---------------- 00029 // Constructors -- 00030 //---------------- 00031 DTConfigTSTheta::DTConfigTSTheta(const edm::ParameterSet& ps) { 00032 00033 setDefaults(ps); 00034 00035 } 00036 00037 //-------------- 00038 // Destructor -- 00039 //-------------- 00040 DTConfigTSTheta::~DTConfigTSTheta() {} 00041 00042 //-------------- 00043 // Operations -- 00044 //-------------- 00045 00046 void 00047 DTConfigTSTheta::setDefaults(const edm::ParameterSet& ps) { 00048 00049 // Debug flag 00050 m_debug = ps.getUntrackedParameter<bool>("Debug"); 00051 00052 } 00053 00054 void 00055 DTConfigTSTheta::print() const { 00056 00057 std::cout << "******************************************************************************" << std::endl; 00058 std::cout << "* DTTrigger configuration : TSTheta chips *" << std::endl; 00059 std::cout << "******************************************************************************" << std::endl; 00060 std::cout << "* *" << std::endl; 00061 std::cout << "Debug flag : " << debug() << std::endl; 00062 std::cout << "******************************************************************************" << std::endl; 00063 00064 } 00065