Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:17

0001 #ifndef L1TriggerConfig_L1CSCTriggerPrimitivesConfigProducer_h
0002 #define L1TriggerConfig_L1CSCTriggerPrimitivesConfigProducer_h
0003 
0004 /** \class L1CSCTriggerPrimitivesConfigProducer
0005  *
0006  * Description: Produce configuration parameters for the Level-1 CSC Trigger
0007  *              Primitives emulator.
0008  *
0009  * \author Slava Valuev
0010  * Created: Thu Apr 12 11:26:54 CEST 2007
0011  *
0012  */
0013 
0014 // system include files
0015 #include <memory>
0016 
0017 // user include files
0018 #include "FWCore/Framework/interface/ModuleFactory.h"
0019 #include "FWCore/Framework/interface/ESProducer.h"
0020 
0021 class CSCDBL1TPParameters;
0022 class CSCDBL1TPParametersRcd;
0023 
0024 class L1CSCTriggerPrimitivesConfigProducer : public edm::ESProducer {
0025 public:
0026   L1CSCTriggerPrimitivesConfigProducer(const edm::ParameterSet&);
0027   ~L1CSCTriggerPrimitivesConfigProducer() override;
0028 
0029   //typedef std::shared_ptr<L1CSCTriggerPrimitivesConfigProducer> ReturnType;
0030 
0031   std::unique_ptr<CSCDBL1TPParameters> produce(const CSCDBL1TPParametersRcd&);
0032 
0033 private:
0034   /** ALCT configuration parameters. */
0035   unsigned int m_alct_fifo_tbins, m_alct_fifo_pretrig;
0036   unsigned int m_alct_drift_delay;
0037   unsigned int m_alct_nplanes_hit_pretrig, m_alct_nplanes_hit_accel_pretrig;
0038   unsigned int m_alct_nplanes_hit_pattern, m_alct_nplanes_hit_accel_pattern;
0039   unsigned int m_alct_trig_mode, m_alct_accel_mode, m_alct_l1a_window_width;
0040 
0041   /** CLCT configuration parameters. */
0042   unsigned int m_clct_fifo_tbins, m_clct_fifo_pretrig;
0043   unsigned int m_clct_hit_persist, m_clct_drift_delay;
0044   unsigned int m_clct_nplanes_hit_pretrig, m_clct_nplanes_hit_pattern;
0045   unsigned int m_clct_pid_thresh_pretrig;
0046   unsigned int m_clct_min_separation;
0047 
0048   /** TMB configuration parameters. */
0049   unsigned int m_tmb_mpc_block_me1a;
0050   unsigned int m_tmb_alct_trig_enable, m_tmb_clct_trig_enable;
0051   unsigned int m_tmb_match_trig_enable;
0052   unsigned int m_tmb_match_trig_window_size, m_tmb_tmb_l1a_window_size;
0053 };
0054 
0055 #endif