File indexing completed on 2024-04-06 12:01:59
0001 #ifndef CSCObjects_CSCL1TPParameters_h
0002 #define CSCObjects_CSCL1TPParameters_h
0003
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 class CSCL1TPParameters {
0015 public:
0016 CSCL1TPParameters();
0017 ~CSCL1TPParameters();
0018
0019
0020 inline unsigned int alctFifoTbins() const { return m_alct_fifo_tbins; }
0021
0022
0023 inline unsigned int alctFifoPretrig() const { return m_alct_fifo_pretrig; }
0024
0025
0026 inline unsigned int alctDriftDelay() const { return m_alct_drift_delay; }
0027
0028
0029 inline unsigned int alctNplanesHitPretrig() const { return m_alct_nplanes_hit_pretrig; }
0030
0031
0032 inline unsigned int alctNplanesHitPattern() const { return m_alct_nplanes_hit_pattern; }
0033
0034
0035 inline unsigned int alctNplanesHitAccelPretrig() const { return m_alct_nplanes_hit_accel_pretrig; }
0036
0037
0038 inline unsigned int alctNplanesHitAccelPattern() const { return m_alct_nplanes_hit_accel_pattern; }
0039
0040
0041 inline unsigned int alctTrigMode() const { return m_alct_trig_mode; }
0042
0043
0044 inline unsigned int alctAccelMode() const { return m_alct_accel_mode; }
0045
0046
0047 inline unsigned int alctL1aWindowWidth() const { return m_alct_l1a_window_width; }
0048
0049
0050 inline unsigned int clctFifoTbins() const { return m_clct_fifo_tbins; }
0051
0052
0053 inline unsigned int clctFifoPretrig() const { return m_clct_fifo_pretrig; }
0054
0055
0056 inline unsigned int clctHitPersist() const { return m_clct_hit_persist; }
0057
0058
0059 inline unsigned int clctDriftDelay() const { return m_clct_drift_delay; }
0060
0061
0062 inline unsigned int clctNplanesHitPretrig() const { return m_clct_nplanes_hit_pretrig; }
0063
0064
0065 inline unsigned int clctNplanesHitPattern() const { return m_clct_nplanes_hit_pattern; }
0066
0067
0068 inline unsigned int clctPidThreshPretrig() const { return m_clct_pid_thresh_pretrig; }
0069
0070
0071 inline unsigned int clctMinSeparation() const { return m_clct_min_separation; }
0072
0073
0074 void setAlctFifoTbins(const unsigned int theValue) { m_alct_fifo_tbins = theValue; }
0075
0076
0077 void setAlctFifoPretrig(const unsigned int theValue) { m_alct_fifo_pretrig = theValue; }
0078
0079
0080 void setAlctDriftDelay(const unsigned int theValue) { m_alct_drift_delay = theValue; }
0081
0082
0083 void setAlctNplanesHitPretrig(const unsigned int theValue) { m_alct_nplanes_hit_pretrig = theValue; }
0084
0085
0086 void setAlctNplanesHitPattern(const unsigned int theValue) { m_alct_nplanes_hit_pattern = theValue; }
0087
0088
0089 void setAlctNplanesHitAccelPretrig(const unsigned int theValue) { m_alct_nplanes_hit_accel_pretrig = theValue; }
0090
0091
0092 void setAlctNplanesHitAccelPattern(const unsigned int theValue) { m_alct_nplanes_hit_accel_pattern = theValue; }
0093
0094
0095 void setAlctTrigMode(const unsigned int theValue) { m_alct_trig_mode = theValue; }
0096
0097
0098 void setAlctAccelMode(const unsigned int theValue) { m_alct_accel_mode = theValue; }
0099
0100
0101 void setAlctL1aWindowWidth(const unsigned int theValue) { m_alct_l1a_window_width = theValue; }
0102
0103
0104 void setClctFifoTbins(const unsigned int theValue) { m_clct_fifo_tbins = theValue; }
0105
0106
0107 void setClctFifoPretrig(const unsigned int theValue) { m_clct_fifo_pretrig = theValue; }
0108
0109
0110 void setClctHitPersist(const unsigned int theValue) { m_clct_hit_persist = theValue; }
0111
0112
0113 void setClctDriftDelay(const unsigned int theValue) { m_clct_drift_delay = theValue; }
0114
0115
0116 void setClctNplanesHitPretrig(const unsigned int theValue) { m_clct_nplanes_hit_pretrig = theValue; }
0117
0118
0119 void setClctNplanesHitPattern(const unsigned int theValue) { m_clct_nplanes_hit_pattern = theValue; }
0120
0121
0122 void setClctPidThreshPretrig(const unsigned int theValue) { m_clct_pid_thresh_pretrig = theValue; }
0123
0124
0125 void setClctMinSeparation(const unsigned int theValue) { m_clct_min_separation = theValue; }
0126
0127 private:
0128
0129 unsigned int m_alct_fifo_tbins, m_alct_fifo_pretrig;
0130 unsigned int m_alct_drift_delay;
0131 unsigned int m_alct_nplanes_hit_pretrig, m_alct_nplanes_hit_accel_pretrig;
0132 unsigned int m_alct_nplanes_hit_pattern, m_alct_nplanes_hit_accel_pattern;
0133 unsigned int m_alct_trig_mode, m_alct_accel_mode, m_alct_l1a_window_width;
0134
0135
0136 unsigned int m_clct_fifo_tbins, m_clct_fifo_pretrig;
0137 unsigned int m_clct_hit_persist, m_clct_drift_delay;
0138 unsigned int m_clct_nplanes_hit_pretrig, m_clct_nplanes_hit_pattern;
0139 unsigned int m_clct_pid_thresh_pretrig;
0140 unsigned int m_clct_min_separation;
0141
0142 COND_SERIALIZABLE;
0143 };
0144
0145 #endif