Definition at line 23 of file parameters.cc.
References csctfTrackDigis_cfi::AllowALCTonly, csctfTrackDigis_cfi::AllowCLCTonly, csctfTrackDigis_cfi::BXAdepth, csctfTrackDigis_cfi::CoreLatency, csctfTrackDigis_cfi::curvedp, muonTiming_cfi::etamax, muonTiming_cfi::etamin, csctfTrackDigis_cfi::firmwareDD, csctfTrackDigis_cfi::firmwareFA, csctfTrackDigis_cfi::firmwareSP, csctfTrackDigis_cfi::firmwareVM, createfilelist::int, csctfTrackDigis_cfi::kill_fiber, mps_splice::line, LogDebug, csctfTrackDigis_cfi::maxdeta112_accp, csctfTrackDigis_cfi::maxdeta113_accp, csctfTrackDigis_cfi::maxdeta12_accp, csctfTrackDigis_cfi::maxdeta13_accp, csctfTrackDigis_cfi::maxdphi112_accp, csctfTrackDigis_cfi::maxdphi113_accp, csctfTrackDigis_cfi::maxdphi12_accp, csctfTrackDigis_cfi::maxdphi13_accp, csctfTrackDigis_cfi::mbaPhiOff, csctfTrackDigis_cfi::mbbPhiOff, csctfTrackDigis_cfi::mindeta112_accp, csctfTrackDigis_cfi::mindeta113_accp, csctfTrackDigis_cfi::mindeta12_accp, csctfTrackDigis_cfi::mindeta13_accp, csctfTrackDigis_cfi::mindetap, csctfTrackDigis_cfi::mindetap_halo, csctfTrackDigis_cfi::mindphip, csctfTrackDigis_cfi::mindphip_halo, csctfTrackDigis_cfi::PreTrigger, muonDTDigis_cfi::pset, csctfTrackDigis_cfi::QualityEnableME1a, csctfTrackDigis_cfi::QualityEnableME1b, csctfTrackDigis_cfi::QualityEnableME1c, csctfTrackDigis_cfi::QualityEnableME1d, csctfTrackDigis_cfi::QualityEnableME1e, csctfTrackDigis_cfi::QualityEnableME1f, csctfTrackDigis_cfi::QualityEnableME2a, csctfTrackDigis_cfi::QualityEnableME2b, csctfTrackDigis_cfi::QualityEnableME2c, csctfTrackDigis_cfi::QualityEnableME3a, csctfTrackDigis_cfi::QualityEnableME3b, csctfTrackDigis_cfi::QualityEnableME3c, csctfTrackDigis_cfi::QualityEnableME4a, csctfTrackDigis_cfi::QualityEnableME4b, csctfTrackDigis_cfi::QualityEnableME4c, csctfTrackDigis_cfi::rescaleSinglesPhi, csctfTrackDigis_cfi::run_core, csctfTrackDigis_cfi::singlesTrackOutput, csctfTrackDigis_cfi::straightp, AlCaHLTBitMon_QueryRunRegistry::string, csctfTrackDigis_cfi::trigger_on_MB1a, csctfTrackDigis_cfi::trigger_on_MB1d, csctfTrackDigis_cfi::trigger_on_ME1a, csctfTrackDigis_cfi::trigger_on_ME1b, csctfTrackDigis_cfi::trigger_on_ME2, csctfTrackDigis_cfi::trigger_on_ME3, csctfTrackDigis_cfi::trigger_on_ME4, csctfTrackDigis_cfi::useDT, relativeConstraints::value, and csctfTrackDigis_cfi::widePhi.
24 LogDebug(
"L1MuCSCTFConfiguration") <<
"SP:" <<
int(sp) << std::endl;
44 unsigned int useDT = 0;
83 std::vector<unsigned int>
etamin(8),
etamax(8), etawin(7);
153 <<
"\nCORE CONFIGURATION DEFAULT VALUES" 163 <<
"\n\nVARIOUS CONFIGURATION PARAMETERS DEFAULT VALUES" 177 <<
"\n\nDEFAULT VALUES FOR DAT_ETA" 180 <<
"\netamin[0]=" <<
etamin[0] <<
"\netamin[1]=" <<
etamin[1] <<
"\netamin[2]=" <<
etamin[2]
181 <<
"\netamin[3]=" <<
etamin[3] <<
"\netamin[4]=" <<
etamin[4] <<
"\netamin[5]=" <<
etamin[5]
182 <<
"\netamin[6]=" <<
etamin[6] <<
"\netamin[7]=" <<
etamin[7]
187 <<
"\netamax[0]=" <<
etamax[0] <<
"\netamax[1]=" <<
etamax[1] <<
"\netamax[2]=" <<
etamax[2]
188 <<
"\netamax[3]=" <<
etamax[3] <<
"\netamax[4]=" <<
etamax[4] <<
"\netamax[5]=" <<
etamax[5]
189 <<
"\netamax[6]=" <<
etamax[6] <<
"\netamax[7]=" <<
etamax[7]
194 <<
"\netawin[0]=" << etawin[0] <<
"\netawin[1]=" << etawin[1] <<
"\netawin[2]=" << etawin[2]
195 <<
"\netawin[3]=" << etawin[3] <<
"\netawin[4]=" << etawin[4] <<
"\netawin[5]=" << etawin[5]
196 <<
"\netawin[6]=" << etawin[6]
206 <<
"\n\nFIRMWARE VERSIONS" 210 std::stringstream conf(iConfig[sp]);
211 while (!conf.eof()) {
213 conf.getline(buff, 1024);
214 std::stringstream
line(buff);
225 std::getline(
line, comments_);
227 if (register_ ==
"CSR_REQ" && chip_ ==
"SP") {
228 unsigned int value = ::strtol(writeValue_.c_str(),
nullptr, 16);
239 if (register_ ==
"CSR_SCC" && chip_ ==
"SP") {
240 unsigned int value = ::strtol(writeValue_.c_str(),
nullptr, 16);
248 if (register_ ==
"CSR_LQE" && chip_ ==
"F1" && muon_ ==
"M1")
250 if (register_ ==
"CSR_LQE" && chip_ ==
"F1" && muon_ ==
"M2")
252 if (register_ ==
"CSR_LQE" && chip_ ==
"F1" && muon_ ==
"M3")
254 if (register_ ==
"CSR_LQE" && chip_ ==
"F2" && muon_ ==
"M1")
256 if (register_ ==
"CSR_LQE" && chip_ ==
"F2" && muon_ ==
"M2")
258 if (register_ ==
"CSR_LQE" && chip_ ==
"F2" && muon_ ==
"M3")
260 if (register_ ==
"CSR_LQE" && chip_ ==
"F3" && muon_ ==
"M1")
262 if (register_ ==
"CSR_LQE" && chip_ ==
"F3" && muon_ ==
"M2")
264 if (register_ ==
"CSR_LQE" && chip_ ==
"F3" && muon_ ==
"M3")
266 if (register_ ==
"CSR_LQE" && chip_ ==
"F4" && muon_ ==
"M1")
268 if (register_ ==
"CSR_LQE" && chip_ ==
"F4" && muon_ ==
"M2")
270 if (register_ ==
"CSR_LQE" && chip_ ==
"F4" && muon_ ==
"M3")
272 if (register_ ==
"CSR_LQE" && chip_ ==
"F5" && muon_ ==
"M1")
274 if (register_ ==
"CSR_LQE" && chip_ ==
"F5" && muon_ ==
"M2")
276 if (register_ ==
"CSR_LQE" && chip_ ==
"F5" && muon_ ==
"M3")
279 if (register_ ==
"CSR_KFL")
280 kill_fiber = ::strtol(writeValue_.c_str(),
nullptr, 16);
282 if (register_ ==
"CSR_SFC" && chip_ ==
"SP") {
283 unsigned int value = ::strtol(writeValue_.c_str(),
nullptr, 16);
287 if (register_ ==
"CNT_ETA" && chip_ ==
"SP") {
288 unsigned int value = ::strtol(writeValue_.c_str(),
nullptr, 16);
293 if (register_ ==
"DAT_ETA" && chip_ ==
"SP") {
294 unsigned int value = ::strtol(writeValue_.c_str(),
nullptr, 16);
303 if (eta_cnt >= 2 && eta_cnt < 10)
315 if (eta_cnt >= 14 && eta_cnt < 22)
327 if (eta_cnt >= 26 && eta_cnt < 33)
328 etawin[eta_cnt - 26] =
value;
357 if (register_ ==
"FIRMWARE" && muon_ ==
"SP") {
358 unsigned int value = atoi(writeValue_.c_str());
363 if (register_ ==
"FIRMWARE" && muon_ ==
"FA") {
364 unsigned int value = atoi(writeValue_.c_str());
369 if (register_ ==
"FIRMWARE" && muon_ ==
"DD") {
370 unsigned int value = atoi(writeValue_.c_str());
375 if (register_ ==
"FIRMWARE" && muon_ ==
"VM") {
376 unsigned int value = atoi(writeValue_.c_str());
391 pset.addParameter<
unsigned int>(
"useDT",
useDT);
392 pset.addParameter<
unsigned int>(
"widePhi",
widePhi);
426 pset.addParameter<std::vector<unsigned int> >(
"EtaMin",
etamin);
433 pset.addParameter<std::vector<unsigned int> >(
"EtaMax",
etamax);
440 pset.addParameter<std::vector<unsigned int> >(
"EtaWindows", etawin);
451 pset.addParameter<
unsigned int>(
"curvedp",
curvedp);
462 <<
"\nCORE CONFIGURATION AFTER READING THE DBS VALUES" 472 <<
"\n\nVARIOUS CONFIGURATION PARAMETERS AFTER READING THE DBS VALUES" 486 <<
"\n\nDAT_ETA AFTER READING THE DBS VALUES" 489 <<
"\netamin[0]=" <<
etamin[0] <<
"\netamin[1]=" <<
etamin[1] <<
"\netamin[2]=" <<
etamin[2]
490 <<
"\netamin[3]=" <<
etamin[3] <<
"\netamin[4]=" <<
etamin[4] <<
"\netamin[5]=" <<
etamin[5]
491 <<
"\netamin[6]=" <<
etamin[6] <<
"\netamin[7]=" <<
etamin[7]
496 <<
"\netamax[0]=" <<
etamax[0] <<
"\netamax[1]=" <<
etamax[1] <<
"\netamax[2]=" <<
etamax[2]
497 <<
"\netamax[3]=" <<
etamax[3] <<
"\netamax[4]=" <<
etamax[4] <<
"\netamax[5]=" <<
etamax[5]
498 <<
"\netamax[6]=" <<
etamax[6] <<
"\netamax[7]=" <<
etamax[7]
503 <<
"\netawin[0]=" << etawin[0] <<
"\netawin[1]=" << etawin[1] <<
"\netawin[2]=" << etawin[2]
504 <<
"\netawin[3]=" << etawin[3] <<
"\netawin[4]=" << etawin[4] <<
"\netawin[5]=" << etawin[5]
505 <<
"\netawin[6]=" << etawin[6]
515 <<
"\n\nFIRMWARE VERSIONS AFTER READING THE DBS VALUES"