L1Trigger/CSCTriggerPrimitives/src/CSCMotherboard.cc
void CSCMotherboard::setConfigParameters(const CSCDBL1TPParameters* conf) {
  static std::atomic<bool> config_dumped{false};

  // Config. parameters for the TMB itself.
  mpc_block_me1a         = conf->tmbMpcBlockMe1a();
  alct_trig_enable       = conf->tmbAlctTrigEnable();
  clct_trig_enable       = conf->tmbClctTrigEnable();
  match_trig_enable      = conf->tmbMatchTrigEnable();
  match_trig_window_size = conf->tmbMatchTrigWindowSize();
  tmb_l1a_window_size    = conf->tmbTmbL1aWindowSize();

  // Config. paramteres for ALCT and CLCT processors.
  alct->setConfigParameters(conf);
  clct->setConfigParameters(conf);

  // Check and print configuration parameters.
  checkConfigParameters();
  if (!config_dumped) {
    dumpConfigParams();
    config_dumped = true;
  }
}
// Set configuration parameters obtained via EventSetup mechanism.
Set configuration parameters obtained via EventSetup mechanism.
Set configuration parameters obtained via EventSetup mechanism .
void CSCMotherboard::setConfigParameters(const CSCDBL1TPParameters* conf) {
  static std::atomic<bool> config_dumped{false};
  mpc_block_me1a         = conf->tmbMpcBlockMe1a();
  alct_trig_enable       = conf->tmbAlctTrigEnable();
  clct_trig_enable       = conf->tmbClctTrigEnable();
  match_trig_enable      = conf->tmbMatchTrigEnable();
  match_trig_window_size = conf->tmbMatchTrigWindowSize();
  tmb_l1a_window_size    = conf->tmbTmbL1aWindowSize();
  alct->setConfigParameters(conf);
  clct->setConfigParameters(conf);
  checkConfigParameters();
  if (!config_dumped) {
    dumpConfigParams();
    config_dumped = true;
  }
}
void CSCMotherboard :: setConfigParameters ( const CSCDBL1TPParameters * conf ) { static std :: atomic < bool > config_dumped { false } ; mpc_block_me1a = conf -> tmbMpcBlockMe1a ( ) ; alct_trig_enable = conf -> tmbAlctTrigEnable ( ) ; clct_trig_enable = conf -> tmbClctTrigEnable ( ) ; match_trig_enable = conf -> tmbMatchTrigEnable ( ) ; match_trig_window_size = conf -> tmbMatchTrigWindowSize ( ) ; tmb_l1a_window_size = conf -> tmbTmbL1aWindowSize ( ) ; alct -> setConfigParameters ( conf ) ; clct -> setConfigParameters ( conf ) ; checkConfigParameters ( ) ; if ( ! config_dumped ) { dumpConfigParams ( ) ; config_dumped = true ; } }
Set configuration parameters obtained via EventSetup mechanism.
Set configuration parameters obtained via EventSetup mechanism .
// Config. parameters for the TMB itself. // Config. paramteres for ALCT and CLCT processors. // Check and print configuration parameters.