CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DTConfigBti Class Reference

#include <DTConfigBti.h>

Inheritance diagram for DTConfigBti:
DTConfig

Public Member Functions

int AccPattAC1 () const
 Acceptance pattern AC1. More...
 
int AccPattAC2 () const
 Acceptance pattern AC2. More...
 
int AccPattACH () const
 Acceptance pattern ACH. More...
 
int AccPattACL () const
 Acceptance pattern ACL. More...
 
int CH () const
 K right limit for center traco. More...
 
int CL () const
 K left limit for center traco. More...
 
int DEADpar () const
 Wire DEAD time parameter. More...
 
int debug () const
 Debug flag. More...
 
 DTConfigBti ()
 Empty Constructor. More...
 
 DTConfigBti (const edm::ParameterSet &ps)
 Constructor. More...
 
 DTConfigBti (int debug, unsigned short int *buffer)
 Constructor from string. More...
 
int KAccTheta () const
 BTI angular acceptance in theta view. More...
 
int KCut () const
 Max K param accepted: max bit number. More...
 
int LH () const
 K right limit for left traco. More...
 
int LL () const
 K left limit for left traco. More...
 
int LTS () const
 LTS. More...
 
void print () const
 Print the setup. More...
 
int PTMSflag (int patt) const
 Pattern mask flag. More...
 
int RE43 () const
 
int RH () const
 K right limit for right traco. More...
 
int RL () const
 K left limit for right traco. More...
 
bool RONflag () const
 Redundant patterns flag RONDTBti/src/DTBtiChipEquations.cc: More...
 
int SET () const
 SET. More...
 
void setAccPattAC1 (int AC1)
 Set Acceptance pattern AC1. More...
 
void setAccPattAC2 (int AC2)
 Set Acceptance pattern AC2. More...
 
void setAccPattACH (int ACH)
 Set Acceptance pattern ACH. More...
 
void setAccPattACL (int ACL)
 Set Acceptance pattern ACL. More...
 
void setCH (int CH)
 Set K right limit for center traco. More...
 
void setCL (int CL)
 Set K left limit for center traco. More...
 
void setDEADpar (int DEAD)
 Wire DEAD time parameter. More...
 
void setDebug (int debug)
 
void setDefaults (const edm::ParameterSet &ps)
 Set default parameters. More...
 
void setKAccTheta (int KAccTh)
 Set BTI angular acceptance in theta view. More...
 
void setKCut (int KCut)
 Set Max K param accepted: max bit number. More...
 
void setLH (int LH)
 Set K right limit for left traco. More...
 
void setLL (int LL)
 Set K left limit for left traco. More...
 
void setLTS (int LTS)
 Set LTS. More...
 
void setPTMSflag (int mask, int patt)
 Set Pattern mask flag. More...
 
void setRE43 (int RE43)
 
void setRH (int RH)
 Set K right limit for right traco. More...
 
void setRL (int RL)
 Set K left limit for right traco. More...
 
void setRONflag (bool RON)
 Set Redundant patterns flag RONDTBti/src/DTBtiChipEquations.cc: More...
 
void setSET (int SET)
 Set SET. More...
 
void setST43 (int ST43)
 Set ST and RE parameters for drift velocity. More...
 
void setWENflag (int mask, int wire)
 Set Wire mask flag. More...
 
void setXON (bool XON)
 Set X-patterns flag XON: activates tracks passing on the same side of 3 wires. More...
 
float ST () const
 Max drift time in 12.5 ns steps. More...
 
int ST43 () const
 ST and RE parameters for drift velocity. More...
 
int WENflag (int wire) const
 Wire mask flag. More...
 
bool XON () const
 X-patterns flag XON: activates tracks passing on the same side of 3 wires. More...
 
 ~DTConfigBti () override
 Destructor. More...
 

Private Attributes

int8_t m_4re3
 
int8_t m_4st3
 
int8_t m_ac1
 
int8_t m_ac2
 
int8_t m_ach
 
int8_t m_acl
 
int8_t m_ch
 
int8_t m_cl
 
int8_t m_dead
 
int8_t m_debug
 
int8_t m_kacctheta
 
int8_t m_kcut
 
int8_t m_lh
 
int8_t m_ll
 
int8_t m_lts
 
BitArray< 32 > m_pattmask
 
int8_t m_rh
 
int8_t m_rl
 
bool m_ron
 
int8_t m_set
 
BitArray< 9 > m_wiremask
 
bool m_xon
 

Additional Inherited Members

- Private Member Functions inherited from DTConfig
 DTConfig ()
 Constructor. More...
 
virtual ~DTConfig ()
 Destructor. More...
 
- Static Private Attributes inherited from DTConfig
static const int NBTITC = 4
 
static const int NSTEPF = 9
 
static const int NSTEPL = 24
 Constants: first and last step to start trigger finding. More...
 
static const int NTCTSS = 4
 Constant: number of TRACOs in input to a TSS. More...
 

Detailed Description

Configurable parameters and constants for Level-1 Muon DT Trigger - Bti chip

Author
S. Vanini

Configurable parameters and constants for Level-1 Muon DT Trigger - Time Pedestals

Authors
: C.Battilana, M.Meneghelli

Definition at line 36 of file DTConfigBti.h.

Constructor & Destructor Documentation

◆ DTConfigBti() [1/3]

DTConfigBti::DTConfigBti ( const edm::ParameterSet ps)

Constructor.

Definition at line 40 of file DTConfigBti.cc.

40 { setDefaults(ps); }

References setDefaults().

◆ DTConfigBti() [2/3]

DTConfigBti::DTConfigBti ( )
inline

Empty Constructor.

Definition at line 46 of file DTConfigBti.h.

46 { ; }

◆ DTConfigBti() [3/3]

DTConfigBti::DTConfigBti ( int  debug,
unsigned short int *  buffer 
)

Constructor from string.

Definition at line 42 of file DTConfigBti.cc.

42  {
43  m_debug = debugBTI;
44 
45  // check if this is a BTI configuration string
46  if (buffer[2] != 0x54) {
47  throw cms::Exception("DTTPG") << "===> ConfigBti constructor : not a BTI string!" << std::endl;
48  }
49 
50  // decode
51  unsigned short int memory_bti[31];
52  for (int i = 0; i < 31; i++) {
53  memory_bti[i] = buffer[i + 5];
54  //std::cout << hex << memory_bti[i] << " ";
55  }
56  int wmask[9];
57  int st43 = memory_bti[0] & 0x3f;
58  wmask[6] = memory_bti[1] & 0x01;
59  wmask[7] = (memory_bti[1] >> 1) & 0x01;
60  wmask[8] = (memory_bti[1] >> 2) & 0x01;
61  int re43 = (memory_bti[1] >> 4) & 0x03;
62  wmask[0] = memory_bti[2] & 0x01;
63  wmask[1] = (memory_bti[2] >> 1) & 0x01;
64  wmask[2] = (memory_bti[2] >> 2) & 0x01;
65  wmask[3] = (memory_bti[2] >> 3) & 0x01;
66  wmask[4] = (memory_bti[2] >> 4) & 0x01;
67  wmask[5] = (memory_bti[2] >> 5) & 0x01;
68  int dead = memory_bti[3] & 0x3F;
69  int LH = memory_bti[4] & 0x3F;
70  int LL = memory_bti[5] & 0x3F;
71  int CH = memory_bti[6] & 0x3F;
72  int CL = memory_bti[7] & 0x3F;
73  int RH = memory_bti[8] & 0x3F;
74  int RL = memory_bti[9] & 0x3F;
75  int tston = (memory_bti[10] & 0x20) != 0;
76  int test = (memory_bti[10] & 0x10) != 0;
77  int ten = (memory_bti[10] & 0x8) != 0;
78  int xon = (memory_bti[10] & 0x2) != 0;
79  int ron = (memory_bti[10] & 0x1) != 0;
80  int set = (memory_bti[11] & 0x38) >> 3;
81  int lts = (memory_bti[11] & 0x6) >> 1;
82  int ac1 = (memory_bti[12] & 0x30) >> 4;
83  int ac2 = (memory_bti[12] & 0xc) >> 2;
84  int acl = (memory_bti[12] & 0x3);
85  int ach = (memory_bti[13] & 0x30) >> 4;
86 
87  int pmask[32];
88  for (int ir = 0; ir < 6; ir++) {
89  pmask[0 + 6 * ir] = memory_bti[19 - ir] & 0x01;
90  pmask[1 + 6 * ir] = (memory_bti[19 - ir] >> 1) & 0x01;
91  if (ir != 5) {
92  pmask[2 + 6 * ir] = (memory_bti[19 - ir] >> 2) & 0x01;
93  pmask[3 + 6 * ir] = (memory_bti[19 - ir] >> 3) & 0x01;
94  pmask[4 + 6 * ir] = (memory_bti[19 - ir] >> 4) & 0x01;
95  pmask[5 + 6 * ir] = (memory_bti[19 - ir] >> 5) & 0x01;
96  }
97  }
98 
99  // dump
100  if (debug() == 1) {
101  std::cout << std::dec << "st43=" << st43 << " re43=" << re43 << " dead=" << dead << " LH=" << LH << " LL=" << LL
102  << " CH=" << CH << " CL=" << CL << " RH=" << RH << " RL=" << RL << " tston=" << tston << " test=" << test
103  << " ten=" << ten << " xon=" << xon << " ron=" << ron << " set=" << set << " lts=" << lts
104  << " ac1=" << ac1 << " ac2=" << ac2 << " acl=" << acl << " ach=" << ach << std::endl;
105  std::cout << std::dec << " wire masks= ";
106  for (int iw = 0; iw < 9; iw++)
107  std::cout << wmask[iw] << " ";
108  std::cout << std::dec << "\n pattern masks= ";
109  for (int ip = 0; ip < 32; ip++)
110  std::cout << pmask[ip] << " ";
111  std::cout << std::endl;
112  }
113 
114  // set parameters
115  // default for KCut and KAccTheta
116  setKCut(64);
117  setKAccTheta(1);
118 
119  for (int ip = 0; ip < 32; ip++)
120  setPTMSflag(pmask[ip], ip);
121 
122  for (int iw = 0; iw < 9; iw++)
123  setWENflag(wmask[iw], iw + 1);
124 
125  setST43(st43);
126  setRE43(re43);
127  setDEADpar(dead);
128  setLL(LL);
129  setLH(LH);
130  setCL(CL);
131  setCH(CH);
132  setRL(RL);
133  setRH(RH);
134  setXON(xon);
135  setRONflag(ron);
136  setSET(set);
137  setLTS(lts);
138  setAccPattAC1(ac1);
139  setAccPattAC2(ac2);
140  setAccPattACH(ach);
141  setAccPattACL(acl);
142 }

References edmScanValgrind::buffer, CH(), CL(), gather_cfg::cout, debug(), TauDecayModes::dec, Exception, mps_fire::i, LH(), LL(), m_debug, RH(), RL(), setAccPattAC1(), setAccPattAC2(), setAccPattACH(), setAccPattACL(), setCH(), setCL(), setDEADpar(), setKAccTheta(), setKCut(), setLH(), setLL(), setLTS(), setPTMSflag(), setRE43(), setRH(), setRL(), setRONflag(), setSET(), setST43(), setWENflag(), and setXON().

◆ ~DTConfigBti()

DTConfigBti::~DTConfigBti ( )
override

Destructor.

Definition at line 147 of file DTConfigBti.cc.

147 {}

Member Function Documentation

◆ AccPattAC1()

int DTConfigBti::AccPattAC1 ( ) const
inline

Acceptance pattern AC1.

Definition at line 79 of file DTConfigBti.h.

79 { return m_ac1; }

References m_ac1.

Referenced by print().

◆ AccPattAC2()

int DTConfigBti::AccPattAC2 ( ) const
inline

Acceptance pattern AC2.

Definition at line 82 of file DTConfigBti.h.

82 { return m_ac2; }

References m_ac2.

Referenced by print().

◆ AccPattACH()

int DTConfigBti::AccPattACH ( ) const
inline

Acceptance pattern ACH.

Definition at line 85 of file DTConfigBti.h.

85 { return m_ach; }

References m_ach.

Referenced by print().

◆ AccPattACL()

int DTConfigBti::AccPattACL ( ) const
inline

Acceptance pattern ACL.

Definition at line 88 of file DTConfigBti.h.

88 { return m_acl; }

References m_acl.

Referenced by print().

◆ CH()

int DTConfigBti::CH ( ) const
inline

K right limit for center traco.

Definition at line 109 of file DTConfigBti.h.

109 { return m_ch; }

References m_ch.

Referenced by DTBtiChip::DTBtiChip(), DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setCH().

◆ CL()

int DTConfigBti::CL ( ) const
inline

K left limit for center traco.

Definition at line 106 of file DTConfigBti.h.

106 { return m_cl; }

References m_cl.

Referenced by DTBtiChip::DTBtiChip(), DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setCL().

◆ DEADpar()

int DTConfigBti::DEADpar ( ) const
inline

Wire DEAD time parameter.

Definition at line 122 of file DTConfigBti.h.

122 { return m_dead; }

References m_dead.

Referenced by DTBtiChip::add_digi(), DTBtiChip::add_digi_clock(), DTBtiChip::DTBtiChip(), and print().

◆ debug()

int DTConfigBti::debug ( ) const
inline

Debug flag.

Definition at line 58 of file DTConfigBti.h.

58 { return m_debug; }

References m_debug.

Referenced by DTBtiCard::activeGetBTI(), DTBtiChip::doLTS(), DTConfigBti(), DTBtiChip::nCellHit(), print(), DTBtiChip::run(), setDebug(), and DTBtiChip::tick().

◆ KAccTheta()

int DTConfigBti::KAccTheta ( ) const
inline

BTI angular acceptance in theta view.

Definition at line 67 of file DTConfigBti.h.

67 { return m_kacctheta; }

References m_kacctheta.

Referenced by DTBtiChip::DTBtiChip(), and print().

◆ KCut()

int DTConfigBti::KCut ( ) const
inline

Max K param accepted: max bit number.

Definition at line 64 of file DTConfigBti.h.

64 { return m_kcut; }

References m_kcut.

Referenced by print(), and setKCut().

◆ LH()

int DTConfigBti::LH ( ) const
inline

K right limit for left traco.

Definition at line 103 of file DTConfigBti.h.

103 { return m_lh; }

References m_lh.

Referenced by DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setLH().

◆ LL()

int DTConfigBti::LL ( ) const
inline

K left limit for left traco.

Definition at line 100 of file DTConfigBti.h.

100 { return m_ll; }

References m_ll.

Referenced by DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setLL().

◆ LTS()

int DTConfigBti::LTS ( ) const
inline

LTS.

Definition at line 73 of file DTConfigBti.h.

73 { return m_lts; }

References m_lts.

Referenced by DTBtiChip::doLTS(), print(), and setLTS().

◆ print()

void DTConfigBti::print ( void  ) const

Print the setup.

Definition at line 212 of file DTConfigBti.cc.

212  {
213  std::cout << "******************************************************************************" << std::endl;
214  std::cout << "* DTTrigger configuration : BTI chips *" << std::endl;
215  std::cout << "******************************************************************************" << std::endl;
216  std::cout << "* *" << std::endl;
217  std::cout << "Debug flag : " << debug() << std::endl;
218  std::cout << "Max K param accepted : " << KCut() << std::endl;
219  std::cout << "BTI angular acceptance in theta view : " << KAccTheta() << std::endl;
220  std::cout << "Time indep. K equation suppression (XON) : " << XON() << std::endl;
221  std::cout << "LTS for low trigger suppression : " << LTS() << std::endl;
222  std::cout << "SET for low trigger suppression : " << SET() << std::endl;
223  std::cout << "pattern acceptance AC1, AC2, ACH, ACL : " << AccPattAC1() << ", " << AccPattAC2() << " , "
224  << AccPattACH() << ", " << AccPattACL() << std::endl;
225  std::cout << "redundant patterns flag RON : " << RONflag() << std::endl;
226  std::cout << "pattern masks : ";
227  for (int p = 0; p < 32; p++)
228  std::cout << PTMSflag(p) << " ";
229  std::cout << std::endl;
230 
231  std::cout << "wire masks : ";
232  for (int w = 1; w <= 9; w++)
233  std::cout << WENflag(w) << " ";
234  std::cout << std::endl;
235 
236  std::cout << "angular window limits for traco : " << LL() << ", " << LH() << ", " << CL() << ", " << CH() << ", "
237  << RL() << ", " << RH() << std::endl;
238  std::cout << "drift velocity parameter 4ST3 : " << ST43() << std::endl;
239  std::cout << "drift velocity parameter 4RE3 : " << RE43() << std::endl;
240  std::cout << "DEAD parameter : " << DEADpar() << std::endl;
241 
242  std::cout << "******************************************************************************" << std::endl;
243 }

References AccPattAC1(), AccPattAC2(), AccPattACH(), AccPattACL(), CH(), CL(), gather_cfg::cout, DEADpar(), debug(), KAccTheta(), KCut(), LH(), LL(), LTS(), AlCaHLTBitMon_ParallelJobs::p, PTMSflag(), RE43(), RH(), RL(), RONflag(), SET(), ST43(), w, WENflag(), and XON().

Referenced by DTConfigTester::analyze().

◆ PTMSflag()

int DTConfigBti::PTMSflag ( int  patt) const
inline

Pattern mask flag.

Definition at line 94 of file DTConfigBti.h.

94 { return m_pattmask.element(patt); }

References BitArray< N >::element(), m_pattmask, and patt.

Referenced by print().

◆ RE43()

int DTConfigBti::RE43 ( ) const
inline

Definition at line 119 of file DTConfigBti.h.

119 { return m_4re3; }

References m_4re3.

Referenced by print(), setRE43(), DTBtiChip::setSnap(), and ST().

◆ RH()

int DTConfigBti::RH ( ) const
inline

K right limit for right traco.

Definition at line 115 of file DTConfigBti.h.

115 { return m_rh; }

References m_rh.

Referenced by DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setRH().

◆ RL()

int DTConfigBti::RL ( ) const
inline

K left limit for right traco.

Definition at line 112 of file DTConfigBti.h.

112 { return m_rl; }

References m_rl.

Referenced by DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setRL().

◆ RONflag()

bool DTConfigBti::RONflag ( ) const
inline

Redundant patterns flag RONDTBti/src/DTBtiChipEquations.cc:

Definition at line 91 of file DTConfigBti.h.

91 { return m_ron; }

References m_ron.

Referenced by print().

◆ SET()

int DTConfigBti::SET ( ) const
inline

SET.

Definition at line 76 of file DTConfigBti.h.

76 { return m_set; }

References m_set.

Referenced by DTBtiChip::doLTS(), print(), and setSET().

◆ setAccPattAC1()

void DTConfigBti::setAccPattAC1 ( int  AC1)
inline

Set Acceptance pattern AC1.

Definition at line 144 of file DTConfigBti.h.

144 { m_ac1 = AC1; }

References L1DTConfigBti_cff::AC1, and m_ac1.

Referenced by DTConfigBti().

◆ setAccPattAC2()

void DTConfigBti::setAccPattAC2 ( int  AC2)
inline

Set Acceptance pattern AC2.

Definition at line 147 of file DTConfigBti.h.

147 { m_ac2 = AC2; }

References L1DTConfigBti_cff::AC2, and m_ac2.

Referenced by DTConfigBti().

◆ setAccPattACH()

void DTConfigBti::setAccPattACH ( int  ACH)
inline

Set Acceptance pattern ACH.

Definition at line 150 of file DTConfigBti.h.

150 { m_ach = ACH; }

References L1DTConfigBti_cff::ACH, and m_ach.

Referenced by DTConfigBti().

◆ setAccPattACL()

void DTConfigBti::setAccPattACL ( int  ACL)
inline

Set Acceptance pattern ACL.

Definition at line 153 of file DTConfigBti.h.

153 { m_acl = ACL; }

References L1DTConfigBti_cff::ACL, and m_acl.

Referenced by DTConfigBti().

◆ setCH()

void DTConfigBti::setCH ( int  CH)
inline

Set K right limit for center traco.

Definition at line 174 of file DTConfigBti.h.

174 { m_ch = CH; }

References CH(), and m_ch.

Referenced by DTConfigBti().

◆ setCL()

void DTConfigBti::setCL ( int  CL)
inline

Set K left limit for center traco.

Definition at line 171 of file DTConfigBti.h.

171 { m_cl = CL; }

References CL(), and m_cl.

Referenced by DTConfigBti().

◆ setDEADpar()

void DTConfigBti::setDEADpar ( int  DEAD)
inline

Wire DEAD time parameter.

Definition at line 187 of file DTConfigBti.h.

187 { m_dead = DEAD; }

References L1DTConfigBti_cff::DEAD, and m_dead.

Referenced by DTConfigBti().

◆ setDebug()

void DTConfigBti::setDebug ( int  debug)
inline

Set single parameter functions Set debug flag

Definition at line 126 of file DTConfigBti.h.

126 { m_debug = debug; }

References debug(), and m_debug.

◆ setDefaults()

void DTConfigBti::setDefaults ( const edm::ParameterSet ps)

Set default parameters.

Definition at line 153 of file DTConfigBti.cc.

153  {
154  // Debug flag
155  m_debug = ps.getUntrackedParameter<int>("Debug");
156 
157  // Max K param accepted
158  m_kcut = ps.getParameter<int>("KMAX");
159 
160  // BTI angular acceptance in theta view
161  m_kacctheta = ps.getParameter<int>("KACCTHETA");
162 
163  // Time indep. K equation suppression (XON)
164  m_xon = ps.getParameter<bool>("XON");
165  // LTS and SET for low trigger suppression
166  m_lts = ps.getParameter<int>("LTS");
167  m_set = ps.getParameter<int>("SET");
168  // pattern acceptance AC1, AC2, ACH, ACL
169  m_ac1 = ps.getParameter<int>("AC1");
170  m_ac2 = ps.getParameter<int>("AC2");
171  m_ach = ps.getParameter<int>("ACH");
172  m_acl = ps.getParameter<int>("ACL");
173  // redundant patterns flag RON
174  m_ron = ps.getParameter<bool>("RON");
175 
176  // pattern masks
177  for (int p = 0; p < 32; p++) {
178  std::string label = "PTMS";
179  char patt0 = (p / 10) + '0';
180  char patt1 = (p % 10) + '0';
181  if (patt0 != '0')
182  label = label + patt0;
183  label = label + patt1;
184 
185  m_pattmask.set(p, ps.getParameter<int>(label));
186  }
187 
188  // wire masks
189  for (int w = 0; w < 9; w++) {
190  std::string label = "WEN";
191  char wname = w + '0';
192  label = label + wname;
193 
194  m_wiremask.set(w, ps.getParameter<int>(label));
195  }
196 
197  // angular window limits for traco
198  m_ll = ps.getParameter<int>("LL");
199  m_lh = ps.getParameter<int>("LH");
200  m_cl = ps.getParameter<int>("CL");
201  m_ch = ps.getParameter<int>("CH");
202  m_rl = ps.getParameter<int>("RL");
203  m_rh = ps.getParameter<int>("RH");
204  // drift velocity parameter 4ST3
205  m_4st3 = ps.getParameter<int>("ST43");
206  // drift velocity parameter 4RE3
207  m_4re3 = ps.getParameter<int>("RE43");
208  // DEAD parameter
209  m_dead = ps.getParameter<int>("DEAD");
210 }

References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), label, m_4re3, m_4st3, m_ac1, m_ac2, m_ach, m_acl, m_ch, m_cl, m_dead, m_debug, m_kacctheta, m_kcut, m_lh, m_ll, m_lts, m_pattmask, m_rh, m_rl, m_ron, m_set, m_wiremask, m_xon, AlCaHLTBitMon_ParallelJobs::p, BitArray< N >::set(), AlCaHLTBitMon_QueryRunRegistry::string, and w.

Referenced by DTConfigBti().

◆ setKAccTheta()

void DTConfigBti::setKAccTheta ( int  KAccTh)
inline

Set BTI angular acceptance in theta view.

Definition at line 132 of file DTConfigBti.h.

132 { m_kacctheta = KAccTh; }

References m_kacctheta.

Referenced by DTConfigBti().

◆ setKCut()

void DTConfigBti::setKCut ( int  KCut)
inline

Set Max K param accepted: max bit number.

Definition at line 129 of file DTConfigBti.h.

129 { m_kcut = KCut; }

References KCut(), and m_kcut.

Referenced by DTConfigBti().

◆ setLH()

void DTConfigBti::setLH ( int  LH)
inline

Set K right limit for left traco.

Definition at line 168 of file DTConfigBti.h.

168 { m_lh = LH; }

References LH(), and m_lh.

Referenced by DTConfigBti().

◆ setLL()

void DTConfigBti::setLL ( int  LL)
inline

Set K left limit for left traco.

Definition at line 165 of file DTConfigBti.h.

165 { m_ll = LL; }

References LL(), and m_ll.

Referenced by DTConfigBti().

◆ setLTS()

void DTConfigBti::setLTS ( int  LTS)
inline

Set LTS.

Definition at line 138 of file DTConfigBti.h.

138 { m_lts = LTS; }

References LTS(), and m_lts.

Referenced by DTConfigBti().

◆ setPTMSflag()

void DTConfigBti::setPTMSflag ( int  mask,
int  patt 
)
inline

Set Pattern mask flag.

Definition at line 159 of file DTConfigBti.h.

159 { m_pattmask.set(patt, mask); }

References m_pattmask, patt, and BitArray< N >::set().

Referenced by DTConfigBti().

◆ setRE43()

void DTConfigBti::setRE43 ( int  RE43)
inline

Definition at line 184 of file DTConfigBti.h.

184 { m_4re3 = RE43; }

References m_4re3, and RE43().

Referenced by DTConfigBti().

◆ setRH()

void DTConfigBti::setRH ( int  RH)
inline

Set K right limit for right traco.

Definition at line 180 of file DTConfigBti.h.

180 { m_rh = RH; }

References m_rh, and RH().

Referenced by DTConfigBti().

◆ setRL()

void DTConfigBti::setRL ( int  RL)
inline

Set K left limit for right traco.

Definition at line 177 of file DTConfigBti.h.

177 { m_rl = RL; }

References m_rl, and RL().

Referenced by DTConfigBti().

◆ setRONflag()

void DTConfigBti::setRONflag ( bool  RON)
inline

Set Redundant patterns flag RONDTBti/src/DTBtiChipEquations.cc:

Definition at line 156 of file DTConfigBti.h.

156 { m_ron = RON; }

References m_ron, and L1DTConfigBti_cff::RON.

Referenced by DTConfigBti().

◆ setSET()

void DTConfigBti::setSET ( int  SET)
inline

Set SET.

Definition at line 141 of file DTConfigBti.h.

141 { m_set = SET; }

References m_set, and SET().

Referenced by DTConfigBti().

◆ setST43()

void DTConfigBti::setST43 ( int  ST43)
inline

Set ST and RE parameters for drift velocity.

Definition at line 183 of file DTConfigBti.h.

183 { m_4st3 = ST43; }

References m_4st3, and ST43().

Referenced by DTConfigBti().

◆ setWENflag()

void DTConfigBti::setWENflag ( int  mask,
int  wire 
)
inline

Set Wire mask flag.

Definition at line 162 of file DTConfigBti.h.

162 { m_wiremask.set(wire - 1, mask); }

References m_wiremask, and BitArray< N >::set().

Referenced by DTConfigBti().

◆ setXON()

void DTConfigBti::setXON ( bool  XON)
inline

Set X-patterns flag XON: activates tracks passing on the same side of 3 wires.

Definition at line 135 of file DTConfigBti.h.

135 { m_xon = XON; }

References m_xon, and XON().

Referenced by DTConfigBti().

◆ ST()

float DTConfigBti::ST ( ) const
inline

Max drift time in 12.5 ns steps.

Definition at line 61 of file DTConfigBti.h.

61 { return (float)(0.75 * ST43() + 0.25 * RE43()); }

References RE43(), and ST43().

Referenced by DTBtiChip::DTBtiChip(), DTBtiHit::isInsideReg(), DTBtiCard::localDirection(), and DTBtiCard::localPosition().

◆ ST43()

int DTConfigBti::ST43 ( ) const
inline

ST and RE parameters for drift velocity.

Definition at line 118 of file DTConfigBti.h.

118 { return m_4st3; }

References m_4st3.

Referenced by print(), DTBtiChip::setSnap(), setST43(), and ST().

◆ WENflag()

int DTConfigBti::WENflag ( int  wire) const
inline

Wire mask flag.

Definition at line 97 of file DTConfigBti.h.

97 { return m_wiremask.element(wire - 1); }

References BitArray< N >::element(), and m_wiremask.

Referenced by DTBtiChip::init(), DTBtiChip::init_clock(), and print().

◆ XON()

bool DTConfigBti::XON ( ) const
inline

X-patterns flag XON: activates tracks passing on the same side of 3 wires.

Definition at line 70 of file DTConfigBti.h.

70 { return m_xon; }

References m_xon.

Referenced by print(), and setXON().

Member Data Documentation

◆ m_4re3

int8_t DTConfigBti::m_4re3
private

Definition at line 218 of file DTConfigBti.h.

Referenced by RE43(), setDefaults(), and setRE43().

◆ m_4st3

int8_t DTConfigBti::m_4st3
private

Definition at line 217 of file DTConfigBti.h.

Referenced by setDefaults(), setST43(), and ST43().

◆ m_ac1

int8_t DTConfigBti::m_ac1
private

Definition at line 204 of file DTConfigBti.h.

Referenced by AccPattAC1(), setAccPattAC1(), and setDefaults().

◆ m_ac2

int8_t DTConfigBti::m_ac2
private

Definition at line 205 of file DTConfigBti.h.

Referenced by AccPattAC2(), setAccPattAC2(), and setDefaults().

◆ m_ach

int8_t DTConfigBti::m_ach
private

Definition at line 206 of file DTConfigBti.h.

Referenced by AccPattACH(), setAccPattACH(), and setDefaults().

◆ m_acl

int8_t DTConfigBti::m_acl
private

Definition at line 207 of file DTConfigBti.h.

Referenced by AccPattACL(), setAccPattACL(), and setDefaults().

◆ m_ch

int8_t DTConfigBti::m_ch
private

Definition at line 214 of file DTConfigBti.h.

Referenced by CH(), setCH(), and setDefaults().

◆ m_cl

int8_t DTConfigBti::m_cl
private

Definition at line 213 of file DTConfigBti.h.

Referenced by CL(), setCL(), and setDefaults().

◆ m_dead

int8_t DTConfigBti::m_dead
private

Definition at line 219 of file DTConfigBti.h.

Referenced by DEADpar(), setDEADpar(), and setDefaults().

◆ m_debug

int8_t DTConfigBti::m_debug
private

Definition at line 198 of file DTConfigBti.h.

Referenced by debug(), DTConfigBti(), setDebug(), and setDefaults().

◆ m_kacctheta

int8_t DTConfigBti::m_kacctheta
private

Definition at line 200 of file DTConfigBti.h.

Referenced by KAccTheta(), setDefaults(), and setKAccTheta().

◆ m_kcut

int8_t DTConfigBti::m_kcut
private

Definition at line 199 of file DTConfigBti.h.

Referenced by KCut(), setDefaults(), and setKCut().

◆ m_lh

int8_t DTConfigBti::m_lh
private

Definition at line 212 of file DTConfigBti.h.

Referenced by LH(), setDefaults(), and setLH().

◆ m_ll

int8_t DTConfigBti::m_ll
private

Definition at line 211 of file DTConfigBti.h.

Referenced by LL(), setDefaults(), and setLL().

◆ m_lts

int8_t DTConfigBti::m_lts
private

Definition at line 202 of file DTConfigBti.h.

Referenced by LTS(), setDefaults(), and setLTS().

◆ m_pattmask

BitArray<32> DTConfigBti::m_pattmask
private

Definition at line 209 of file DTConfigBti.h.

Referenced by PTMSflag(), setDefaults(), and setPTMSflag().

◆ m_rh

int8_t DTConfigBti::m_rh
private

Definition at line 216 of file DTConfigBti.h.

Referenced by RH(), setDefaults(), and setRH().

◆ m_rl

int8_t DTConfigBti::m_rl
private

Definition at line 215 of file DTConfigBti.h.

Referenced by RL(), setDefaults(), and setRL().

◆ m_ron

bool DTConfigBti::m_ron
private

Definition at line 208 of file DTConfigBti.h.

Referenced by RONflag(), setDefaults(), and setRONflag().

◆ m_set

int8_t DTConfigBti::m_set
private

Definition at line 203 of file DTConfigBti.h.

Referenced by SET(), setDefaults(), and setSET().

◆ m_wiremask

BitArray<9> DTConfigBti::m_wiremask
private

Definition at line 210 of file DTConfigBti.h.

Referenced by setDefaults(), setWENflag(), and WENflag().

◆ m_xon

bool DTConfigBti::m_xon
private

Definition at line 201 of file DTConfigBti.h.

Referenced by setDefaults(), setXON(), and XON().

DTConfigBti::setLL
void setLL(int LL)
Set K left limit for left traco.
Definition: DTConfigBti.h:165
DTConfigBti::setAccPattACH
void setAccPattACH(int ACH)
Set Acceptance pattern ACH.
Definition: DTConfigBti.h:150
DTConfigBti::m_set
int8_t m_set
Definition: DTConfigBti.h:203
mps_fire.i
i
Definition: mps_fire.py:428
patt
float patt[4][130000]
Definition: HijingWrapper.h:48
DTConfigBti::LH
int LH() const
K right limit for left traco.
Definition: DTConfigBti.h:103
DTConfigBti::RONflag
bool RONflag() const
Redundant patterns flag RONDTBti/src/DTBtiChipEquations.cc:
Definition: DTConfigBti.h:91
DTConfigBti::SET
int SET() const
SET.
Definition: DTConfigBti.h:76
DTConfigBti::setKAccTheta
void setKAccTheta(int KAccTh)
Set BTI angular acceptance in theta view.
Definition: DTConfigBti.h:132
DTConfigBti::setRL
void setRL(int RL)
Set K left limit for right traco.
Definition: DTConfigBti.h:177
DTConfigBti::m_acl
int8_t m_acl
Definition: DTConfigBti.h:207
DTConfigBti::setRONflag
void setRONflag(bool RON)
Set Redundant patterns flag RONDTBti/src/DTBtiChipEquations.cc:
Definition: DTConfigBti.h:156
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
DTConfigBti::RH
int RH() const
K right limit for right traco.
Definition: DTConfigBti.h:115
gather_cfg.cout
cout
Definition: gather_cfg.py:144
DTConfigBti::m_rl
int8_t m_rl
Definition: DTConfigBti.h:215
DTConfigBti::setLH
void setLH(int LH)
Set K right limit for left traco.
Definition: DTConfigBti.h:168
DTConfigBti::setCL
void setCL(int CL)
Set K left limit for center traco.
Definition: DTConfigBti.h:171
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
DTConfigBti::CH
int CH() const
K right limit for center traco.
Definition: DTConfigBti.h:109
DTConfigBti::setST43
void setST43(int ST43)
Set ST and RE parameters for drift velocity.
Definition: DTConfigBti.h:183
DTConfigBti::setSET
void setSET(int SET)
Set SET.
Definition: DTConfigBti.h:141
L1DTConfigBti_cff.RON
RON
Definition: L1DTConfigBti_cff.py:22
DTConfigBti::m_kacctheta
int8_t m_kacctheta
Definition: DTConfigBti.h:200
DTConfigBti::LTS
int LTS() const
LTS.
Definition: DTConfigBti.h:73
DTConfigBti::setLTS
void setLTS(int LTS)
Set LTS.
Definition: DTConfigBti.h:138
DTConfigBti::m_pattmask
BitArray< 32 > m_pattmask
Definition: DTConfigBti.h:209
edmScanValgrind.buffer
buffer
Definition: edmScanValgrind.py:171
DTConfigBti::setDefaults
void setDefaults(const edm::ParameterSet &ps)
Set default parameters.
Definition: DTConfigBti.cc:153
DTConfigBti::PTMSflag
int PTMSflag(int patt) const
Pattern mask flag.
Definition: DTConfigBti.h:94
DTConfigBti::m_lh
int8_t m_lh
Definition: DTConfigBti.h:212
L1DTConfigBti_cff.DEAD
DEAD
Definition: L1DTConfigBti_cff.py:7
test
Definition: SmallWORMDict.h:13
DTConfigBti::m_debug
int8_t m_debug
Definition: DTConfigBti.h:198
DTConfigBti::KCut
int KCut() const
Max K param accepted: max bit number.
Definition: DTConfigBti.h:64
DTConfigBti::m_cl
int8_t m_cl
Definition: DTConfigBti.h:213
DTConfigBti::m_lts
int8_t m_lts
Definition: DTConfigBti.h:202
BitArray::element
int element(const int pos) const
Definition: BitArray.h:206
w
const double w
Definition: UKUtility.cc:23
DTConfigBti::XON
bool XON() const
X-patterns flag XON: activates tracks passing on the same side of 3 wires.
Definition: DTConfigBti.h:70
DTConfigBti::setRE43
void setRE43(int RE43)
Definition: DTConfigBti.h:184
DTConfigBti::setDEADpar
void setDEADpar(int DEAD)
Wire DEAD time parameter.
Definition: DTConfigBti.h:187
DTConfigBti::RE43
int RE43() const
Definition: DTConfigBti.h:119
DTConfigBti::setPTMSflag
void setPTMSflag(int mask, int patt)
Set Pattern mask flag.
Definition: DTConfigBti.h:159
DTConfigBti::m_4re3
int8_t m_4re3
Definition: DTConfigBti.h:218
DTConfigBti::m_dead
int8_t m_dead
Definition: DTConfigBti.h:219
DTConfigBti::setAccPattACL
void setAccPattACL(int ACL)
Set Acceptance pattern ACL.
Definition: DTConfigBti.h:153
DTConfigBti::m_ll
int8_t m_ll
Definition: DTConfigBti.h:211
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTConfigBti::setKCut
void setKCut(int KCut)
Set Max K param accepted: max bit number.
Definition: DTConfigBti.h:129
DTConfigBti::CL
int CL() const
K left limit for center traco.
Definition: DTConfigBti.h:106
DTConfigBti::AccPattACL
int AccPattACL() const
Acceptance pattern ACL.
Definition: DTConfigBti.h:88
L1DTConfigBti_cff.AC1
AC1
Definition: L1DTConfigBti_cff.py:76
DTConfigBti::m_4st3
int8_t m_4st3
Definition: DTConfigBti.h:217
DTConfigBti::setCH
void setCH(int CH)
Set K right limit for center traco.
Definition: DTConfigBti.h:174
DTConfigBti::AccPattAC2
int AccPattAC2() const
Acceptance pattern AC2.
Definition: DTConfigBti.h:82
DTConfigBti::setXON
void setXON(bool XON)
Set X-patterns flag XON: activates tracks passing on the same side of 3 wires.
Definition: DTConfigBti.h:135
DTConfigBti::m_ach
int8_t m_ach
Definition: DTConfigBti.h:206
DTConfigBti::RL
int RL() const
K left limit for right traco.
Definition: DTConfigBti.h:112
L1DTConfigBti_cff.AC2
AC2
drift velocity parameter 4ST3
Definition: L1DTConfigBti_cff.py:75
DTConfigBti::m_rh
int8_t m_rh
Definition: DTConfigBti.h:216
DTConfigBti::setAccPattAC2
void setAccPattAC2(int AC2)
Set Acceptance pattern AC2.
Definition: DTConfigBti.h:147
DTConfigBti::debug
int debug() const
Debug flag.
Definition: DTConfigBti.h:58
L1DTConfigBti_cff.ACL
ACL
dead bti parameter
Definition: L1DTConfigBti_cff.py:9
DTConfigBti::m_ac2
int8_t m_ac2
Definition: DTConfigBti.h:205
DTConfigBti::m_wiremask
BitArray< 9 > m_wiremask
Definition: DTConfigBti.h:210
L1DTConfigBti_cff.ACH
ACH
Definition: L1DTConfigBti_cff.py:6
Exception
Definition: hltDiff.cc:245
DTConfigBti::KAccTheta
int KAccTheta() const
BTI angular acceptance in theta view.
Definition: DTConfigBti.h:67
DTConfigBti::setAccPattAC1
void setAccPattAC1(int AC1)
Set Acceptance pattern AC1.
Definition: DTConfigBti.h:144
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DTConfigBti::m_xon
bool m_xon
Definition: DTConfigBti.h:201
DTConfigBti::LL
int LL() const
K left limit for left traco.
Definition: DTConfigBti.h:100
DTConfigBti::DEADpar
int DEADpar() const
Wire DEAD time parameter.
Definition: DTConfigBti.h:122
BitArray::set
void set(const int i)
Definition: BitArray.h:224
DTConfigBti::m_ch
int8_t m_ch
Definition: DTConfigBti.h:214
DTConfigBti::AccPattACH
int AccPattACH() const
Acceptance pattern ACH.
Definition: DTConfigBti.h:85
DTConfigBti::setWENflag
void setWENflag(int mask, int wire)
Set Wire mask flag.
Definition: DTConfigBti.h:162
DTConfigBti::WENflag
int WENflag(int wire) const
Wire mask flag.
Definition: DTConfigBti.h:97
DTConfigBti::m_ac1
int8_t m_ac1
Definition: DTConfigBti.h:204
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
label
const char * label
Definition: PFTauDecayModeTools.cc:11
DTConfigBti::m_kcut
int8_t m_kcut
Definition: DTConfigBti.h:199
DTConfigBti::AccPattAC1
int AccPattAC1() const
Acceptance pattern AC1.
Definition: DTConfigBti.h:79
DTConfigBti::setRH
void setRH(int RH)
Set K right limit for right traco.
Definition: DTConfigBti.h:180
DTConfigBti::m_ron
bool m_ron
Definition: DTConfigBti.h:208
DTConfigBti::ST43
int ST43() const
ST and RE parameters for drift velocity.
Definition: DTConfigBti.h:118