CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes | Static Private Attributes
CSCTFSPCoreLogic Class Reference

#include <CSCTFSPCoreLogic.h>

Classes

struct  SPio
 

Public Member Functions

 CSCTFSPCoreLogic ()
 
unsigned int GetCoreFirmwareVersion ()
 
unsigned int GetSPFirmwareVersion ()
 
bool IsVerbose ()
 
void loadData (const CSCTriggerContainer< csctf::TrackStub > &, const unsigned &endcap, const unsigned &sector, const int &minBX, const int &maxBX, const bool gangedME1a)
 
bool run (const unsigned &endcap, const unsigned &sector, const unsigned &latency, const unsigned &etamin1, const unsigned &etamin2, const unsigned &etamin3, const unsigned &etamin4, const unsigned &etamin5, const unsigned &etamin6, const unsigned &etamin7, const unsigned &etamin8, const unsigned &etamax1, const unsigned &etamax2, const unsigned &etamax3, const unsigned &etamax4, const unsigned &etamax5, const unsigned &etamax6, const unsigned &etamax7, const unsigned &etamax8, const unsigned &etawin1, const unsigned &etawin2, const unsigned &etawin3, const unsigned &etawin4, const unsigned &etawin5, const unsigned &etawin6, const unsigned &etawin7, const unsigned &mindphip, const unsigned &mindetap, const unsigned &mindeta12_accp, const unsigned &maxdeta12_accp, const unsigned &maxdphi12_accp, const unsigned &mindeta13_accp, const unsigned &maxdeta13_accp, const unsigned &maxdphi13_accp, const unsigned &mindeta112_accp, const unsigned &maxdeta112_accp, const unsigned &maxdphi112_accp, const unsigned &mindeta113_accp, const unsigned &maxdeta113_accp, const unsigned &maxdphi113_accp, const unsigned &mindphip_halo, const unsigned &mindetap_halo, const unsigned &straightp, const unsigned &curvedp, const unsigned &mbaPhiOff, const unsigned &mbbPhiOff, const unsigned &m_extend_length, const unsigned &m_allowALCTonly, const unsigned &m_allowCLCTonly, const unsigned &m_preTrigger, const unsigned &m_widePhi, const int &minBX, const int &maxBX)
 
void SetCoreFirmwareVersion (const unsigned int fwVer)
 
void setNLBTables ()
 
void SetSPFirmwareVersion (const unsigned int fwVer)
 
void SetVerbose (const bool verb)
 
CSCTriggerContainer< csc::L1Tracktracks ()
 

Private Attributes

unsigned int coreFirmwareVersion
 
std::vector< SPioio_
 
CSCTriggerContainer< csc::L1Trackmytracks
 
bool runme
 
unsigned int spFirmwareVersion
 
bool verboseCore
 

Static Private Attributes

static vpp_generated_2010_01_22 sp_2010_01_22_
 
static vpp_generated_2010_07_28 sp_2010_07_28_
 
static vpp_generated_2010_09_01 sp_2010_09_01_
 
static vpp_generated_2010_10_11 sp_2010_10_11_
 
static vpp_generated_2010_12_10 sp_2010_12_10_
 
static vpp_generated_2011_01_18 sp_2011_01_18_
 
static vpp_generated_2012_01_31 sp_2012_01_31_
 
static vpp_generated_2012_03_13 sp_2012_03_13_
 
static vpp_generated_2012_07_30 sp_2012_07_30_
 
static vpp_generated_2014_04_24 sp_2014_04_24_
 
static vpp_generated_2014_05_15 sp_2014_05_15_
 

Detailed Description

Definition at line 34 of file CSCTFSPCoreLogic.h.

Constructor & Destructor Documentation

CSCTFSPCoreLogic::CSCTFSPCoreLogic ( )
inline

Member Function Documentation

unsigned int CSCTFSPCoreLogic::GetCoreFirmwareVersion ( )
inline

Definition at line 117 of file CSCTFSPCoreLogic.h.

References coreFirmwareVersion.

Referenced by run().

117 {return coreFirmwareVersion; }
unsigned int coreFirmwareVersion
unsigned int CSCTFSPCoreLogic::GetSPFirmwareVersion ( )
inline

Definition at line 114 of file CSCTFSPCoreLogic.h.

References spFirmwareVersion.

Referenced by loadData().

114 {return spFirmwareVersion; }
unsigned int spFirmwareVersion
bool CSCTFSPCoreLogic::IsVerbose ( )
inline

Definition at line 120 of file CSCTFSPCoreLogic.h.

References setNLBTables(), and verboseCore.

Referenced by run().

120 { return verboseCore; }
void CSCTFSPCoreLogic::loadData ( const CSCTriggerContainer< csctf::TrackStub > &  theStubs,
const unsigned &  endcap,
const unsigned &  sector,
const int &  minBX,
const int &  maxBX,
const bool  gangedME1a 
)

Definition at line 23 of file CSCTFSPCoreLogic.cc.

References CSCTriggerContainer< T >::get(), GetSPFirmwareVersion(), io_, simTrackMatching_cfi::maxBX, CSCDetId::maxStationId(), CSCDetId::minStationId(), runme, and CSCTriggerNumbering::triggerSubSectorFromLabels().

Referenced by CSCTFSPCoreLogic(), and CSCTFSectorProcessor::run().

26 {
27  io_.clear();
28  runme = false;
29  io_.resize(maxBX - minBX + 2);
30  unsigned relative_bx = 0;
31 
32  for(int bx = minBX; bx <= maxBX; ++bx)
33  {
34  for(int st = CSCDetId::minStationId(); st <= CSCDetId::maxStationId() + 1; ++st) // 1 - 5 for DT stubs
35  {
36  std::vector<csctf::TrackStub> stub_list;
37  std::vector<csctf::TrackStub>::const_iterator stubi;
38  if(st == 1)
39  {
40  stub_list = theStubs.get(endcap, st, sector, 1, bx);
41  std::vector<csctf::TrackStub> stub_list2 = theStubs.get(endcap, st, sector, 2, bx);
42  stub_list.insert(stub_list.end(), stub_list2.begin(), stub_list2.end());
43  }
44  else stub_list = theStubs.get(endcap, st, sector, 0, bx);
45 
46  for(stubi = stub_list.begin(); stubi != stub_list.end(); stubi++)
47  {
48  runme |= stubi->isValid();
49  unsigned csc_id = stubi->cscid();
50  switch(st)
51  {
52  case 1:
53  // correctly pass 10,11,12 ro the SP core if ME1a
54  if (!gangedME1a) csc_id = stubi->cscidSeparateME1a();
55  switch(stubi->getMPCLink())
56  {
57  case 1:
58  if(CSCTriggerNumbering::triggerSubSectorFromLabels(CSCDetId(stubi->getDetId().rawId())) == 1)
59  {
60  io_[relative_bx+1].me1aVp = stubi->isValid();
61  io_[relative_bx+1].me1aQp = stubi->getQuality();
62  io_[relative_bx+1].me1aEtap = stubi->etaPacked();
63  io_[relative_bx+1].me1aPhip = stubi->phiPacked();
64  io_[relative_bx+1].me1aAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
65  //io_[relative_bx+1].me1aCSCIdp = stubi->cscid();
66  io_[relative_bx+1].me1aCSCIdp = csc_id;
67  io_[relative_bx+1].me1aCLCTp = stubi->getCLCTPattern();
68  }
69  if(CSCTriggerNumbering::triggerSubSectorFromLabels(CSCDetId(stubi->getDetId().rawId())) == 2)
70  {
71  io_[relative_bx+1].me1dVp = stubi->isValid();
72  io_[relative_bx+1].me1dQp = stubi->getQuality();
73  io_[relative_bx+1].me1dEtap = stubi->etaPacked();
74  io_[relative_bx+1].me1dPhip = stubi->phiPacked();
75  io_[relative_bx+1].me1dAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
76  //io_[relative_bx+1].me1dCSCIdp = stubi->cscid();
77  io_[relative_bx+1].me1dCSCIdp = csc_id;
78  io_[relative_bx+1].me1dCLCTp = stubi->getCLCTPattern();
79 
80  }
81  break;
82  case 2:
83  if(CSCTriggerNumbering::triggerSubSectorFromLabels(CSCDetId(stubi->getDetId().rawId())) == 1)
84  {
85  io_[relative_bx+1].me1bVp = stubi->isValid();
86  io_[relative_bx+1].me1bQp = stubi->getQuality();
87  io_[relative_bx+1].me1bEtap = stubi->etaPacked();
88  io_[relative_bx+1].me1bPhip = stubi->phiPacked();
89  io_[relative_bx+1].me1bAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
90  //io_[relative_bx+1].me1bCSCIdp = stubi->cscid();
91  io_[relative_bx+1].me1dCSCIdp = csc_id;
92  io_[relative_bx+1].me1bCLCTp = stubi->getCLCTPattern();
93  }
94  if(CSCTriggerNumbering::triggerSubSectorFromLabels(CSCDetId(stubi->getDetId().rawId())) == 2)
95  {
96  io_[relative_bx+1].me1eVp = stubi->isValid();
97  io_[relative_bx+1].me1eQp = stubi->getQuality();
98  io_[relative_bx+1].me1eEtap = stubi->etaPacked();
99  io_[relative_bx+1].me1ePhip = stubi->phiPacked();
100  io_[relative_bx+1].me1eAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
101  //io_[relative_bx+1].me1eCSCIdp = stubi->cscid();
102  io_[relative_bx+1].me1dCSCIdp = csc_id;
103  io_[relative_bx+1].me1eCLCTp = stubi->getCLCTPattern();
104  }
105  break;
106  case 3:
107  if(CSCTriggerNumbering::triggerSubSectorFromLabels(CSCDetId(stubi->getDetId().rawId())) == 1)
108  {
109  io_[relative_bx+1].me1cVp = stubi->isValid();
110  io_[relative_bx+1].me1cQp = stubi->getQuality();
111  io_[relative_bx+1].me1cEtap = stubi->etaPacked();
112  io_[relative_bx+1].me1cPhip = stubi->phiPacked();
113  io_[relative_bx+1].me1cAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
114  //io_[relative_bx+1].me1cCSCIdp = stubi->cscid();
115  io_[relative_bx+1].me1dCSCIdp = csc_id;
116  io_[relative_bx+1].me1cCLCTp = stubi->getCLCTPattern();
117  }
118  if(CSCTriggerNumbering::triggerSubSectorFromLabels(CSCDetId(stubi->getDetId().rawId())) == 2)
119  {
120  io_[relative_bx+1].me1fVp = stubi->isValid();
121  io_[relative_bx+1].me1fQp = stubi->getQuality();
122  io_[relative_bx+1].me1fEtap = stubi->etaPacked();
123  io_[relative_bx+1].me1fPhip = stubi->phiPacked();
124  io_[relative_bx+1].me1fAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
125  //io_[relative_bx+1].me1fCSCIdp = stubi->cscid();
126  io_[relative_bx+1].me1dCSCIdp = csc_id;
127  io_[relative_bx+1].me1fCLCTp = stubi->getCLCTPattern();
128  }
129  break;
130  default:
131  edm::LogWarning("CSCTFSPCoreLogic::loadData()") << "SERIOUS ERROR: MPC LINK " << stubi->getMPCLink()
132  << " NOT IN RANGE [1,3]\n";
133  };
134  break;
135  case 2:
136  switch(stubi->getMPCLink())
137  {
138  case 1:
139  io_[relative_bx+1].me2aVp = stubi->isValid();
140  io_[relative_bx+1].me2aQp = stubi->getQuality();
141  io_[relative_bx+1].me2aEtap = stubi->etaPacked();
142  io_[relative_bx+1].me2aPhip = stubi->phiPacked();
143  io_[relative_bx+1].me2aAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
144  break;
145  case 2:
146  io_[relative_bx+1].me2bVp = stubi->isValid();
147  io_[relative_bx+1].me2bQp = stubi->getQuality();
148  io_[relative_bx+1].me2bEtap = stubi->etaPacked();
149  io_[relative_bx+1].me2bPhip = stubi->phiPacked();
150  io_[relative_bx+1].me2bAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
151  break;
152  case 3:
153  io_[relative_bx+1].me2cVp = stubi->isValid();
154  io_[relative_bx+1].me2cQp = stubi->getQuality();
155  io_[relative_bx+1].me2cEtap = stubi->etaPacked();
156  io_[relative_bx+1].me2cPhip = stubi->phiPacked();
157  io_[relative_bx+1].me2cAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
158  break;
159  default:
160  edm::LogWarning("CSCTFSPCoreLogic::loadData()") << "SERIOUS ERROR: MPC LINK " << stubi->getMPCLink()
161  << " NOT IN RANGE [1,3]\n";
162  };
163  break;
164  case 3:
165  switch(stubi->getMPCLink())
166  {
167  case 1:
168  io_[relative_bx+1].me3aVp = stubi->isValid();
169  io_[relative_bx+1].me3aQp = stubi->getQuality();
170  io_[relative_bx+1].me3aEtap = stubi->etaPacked();
171  io_[relative_bx+1].me3aPhip = stubi->phiPacked();
172  io_[relative_bx+1].me3aAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
173  break;
174  case 2:
175  io_[relative_bx+1].me3bVp = stubi->isValid();
176  io_[relative_bx+1].me3bQp = stubi->getQuality();
177  io_[relative_bx+1].me3bEtap = stubi->etaPacked();
178  io_[relative_bx+1].me3bPhip = stubi->phiPacked();
179  io_[relative_bx+1].me3bAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
180  break;
181  case 3:
182  io_[relative_bx+1].me3cVp = stubi->isValid();
183  io_[relative_bx+1].me3cQp = stubi->getQuality();
184  io_[relative_bx+1].me3cEtap = stubi->etaPacked();
185  io_[relative_bx+1].me3cPhip = stubi->phiPacked();
186  io_[relative_bx+1].me3cAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
187  break;
188  default:
189  edm::LogWarning("CSCTFSPCoreLogic::loadData()") << "SERIOUS ERROR: MPC LINK " << stubi->getMPCLink()
190  << " NOT IN RANGE [1,3]\n";
191  };
192  break;
193  case 4:
194  switch(stubi->getMPCLink())
195  {
196  case 1:
197  io_[relative_bx+1].me4aVp = stubi->isValid();
198  io_[relative_bx+1].me4aQp = stubi->getQuality();
199  io_[relative_bx+1].me4aEtap = stubi->etaPacked();
200  io_[relative_bx+1].me4aPhip = stubi->phiPacked();
201  io_[relative_bx+1].me4aAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
202  break;
203  case 2:
204  io_[relative_bx+1].me4bVp = stubi->isValid();
205  io_[relative_bx+1].me4bQp = stubi->getQuality();
206  io_[relative_bx+1].me4bEtap = stubi->etaPacked();
207  io_[relative_bx+1].me4bPhip = stubi->phiPacked();
208  io_[relative_bx+1].me4bAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
209  break;
210  case 3:
211  io_[relative_bx+1].me4cVp = stubi->isValid();
212  io_[relative_bx+1].me4cQp = stubi->getQuality();
213  io_[relative_bx+1].me4cEtap = stubi->etaPacked();
214  io_[relative_bx+1].me4cPhip = stubi->phiPacked();
215  io_[relative_bx+1].me4cAmp = (stubi->getQuality() == 1 || stubi->getQuality() == 2);
216  break;
217  default:
218  edm::LogWarning("CSCTFSPCoreLogic::loadData()") << "SERIOUS ERROR: MPC LINK " << stubi->getMPCLink()
219  << " NOT IN RANGE [1,3]\n";
220  };
221  break;
222  case 5:
223  // We need to put the DT stubs 1 BX ahead of the CSC ones for the TF firmware
224  //std::cout << "DT Stub at bx: " << relative_bx << std::endl;
225  switch(stubi->getMPCLink())
226  {
227  case 1:
228  if (this->GetSPFirmwareVersion() < 20100629) {
229  // introducing the bug which was causing only even DT qualities
230  // to get accepted
231  if(stubi->getQuality()%2==1)
232  {
233  //io_[relative_bx].mb1aVp = stubi->isValid();
234  io_[relative_bx].mb1aVp = stubi->getStrip();
235  io_[relative_bx].mb1aQp = stubi->getQuality();
236  io_[relative_bx].mb1aPhip = stubi->phiPacked();
237  io_[relative_bx].mb1aBendp= stubi->getBend();
238  }
239  } else {
240  io_[relative_bx].mb1aVp = stubi->getStrip();
241  io_[relative_bx].mb1aQp = stubi->getQuality();
242  io_[relative_bx].mb1aPhip = stubi->phiPacked();
243  io_[relative_bx].mb1aBendp= stubi->getBend();
244  }
245  break;
246  case 2:
247  if (this->GetSPFirmwareVersion() < 20100629) {
248  // introducing the bug which was causing only even DT qualities
249  // to get accepted
250  if(stubi->getQuality()%2==1)
251  {
252  //io_[relative_bx].mb1aVp = stubi->isValid();
253  io_[relative_bx].mb1bVp = stubi->getStrip();
254  io_[relative_bx].mb1bQp = stubi->getQuality();
255  io_[relative_bx].mb1bPhip = stubi->phiPacked();
256  io_[relative_bx].mb1bBendp= stubi->getBend();
257  }
258  } else {
259  io_[relative_bx].mb1bVp = stubi->getStrip();
260  io_[relative_bx].mb1bQp = stubi->getQuality();
261  io_[relative_bx].mb1bPhip = stubi->phiPacked();
262  io_[relative_bx].mb1bBendp= stubi->getBend();
263  }
264  break;
265  /*case 3:
266  io_[relative_bx].mb1cVp = stubi->isValid();
267  io_[relative_bx].mb1cQp = stubi->getQuality();
268  io_[relative_bx].mb1cPhip = stubi->phiPacked();
269  break;
270  case 4:
271  io_[relative_bx].mb1dVp = stubi->isValid();
272  io_[relative_bx].mb1dQp = stubi->getQuality();
273  io_[relative_bx].mb1dPhip = stubi->phiPacked();
274  break;*/
275  default:
276  edm::LogWarning("CSCTFSPCoreLogic::loadData()") << "SERIOUS ERROR: DT LINK " << stubi->getMPCLink()
277  << " NOT IN RANGE [1,4]\n";
278  }
279  break;
280  default:
281  edm::LogWarning("CSCTFSPCoreLogic::loadData()") << "SERIOUS ERROR: STATION " << st << " NOT IN RANGE [1,5]\n";
282  };
283  }
284  }
285  ++relative_bx;
286  }
287 }
std::vector< T > get() const
static int maxStationId()
Definition: CSCDetId.h:239
static int minStationId()
Definition: CSCDetId.h:238
unsigned int GetSPFirmwareVersion()
static int triggerSubSectorFromLabels(int station, int chamber)
std::vector< SPio > io_
bool CSCTFSPCoreLogic::run ( const unsigned &  endcap,
const unsigned &  sector,
const unsigned &  latency,
const unsigned &  etamin1,
const unsigned &  etamin2,
const unsigned &  etamin3,
const unsigned &  etamin4,
const unsigned &  etamin5,
const unsigned &  etamin6,
const unsigned &  etamin7,
const unsigned &  etamin8,
const unsigned &  etamax1,
const unsigned &  etamax2,
const unsigned &  etamax3,
const unsigned &  etamax4,
const unsigned &  etamax5,
const unsigned &  etamax6,
const unsigned &  etamax7,
const unsigned &  etamax8,
const unsigned &  etawin1,
const unsigned &  etawin2,
const unsigned &  etawin3,
const unsigned &  etawin4,
const unsigned &  etawin5,
const unsigned &  etawin6,
const unsigned &  etawin7,
const unsigned &  mindphip,
const unsigned &  mindetap,
const unsigned &  mindeta12_accp,
const unsigned &  maxdeta12_accp,
const unsigned &  maxdphi12_accp,
const unsigned &  mindeta13_accp,
const unsigned &  maxdeta13_accp,
const unsigned &  maxdphi13_accp,
const unsigned &  mindeta112_accp,
const unsigned &  maxdeta112_accp,
const unsigned &  maxdphi112_accp,
const unsigned &  mindeta113_accp,
const unsigned &  maxdeta113_accp,
const unsigned &  maxdphi113_accp,
const unsigned &  mindphip_halo,
const unsigned &  mindetap_halo,
const unsigned &  straightp,
const unsigned &  curvedp,
const unsigned &  mbaPhiOff,
const unsigned &  mbbPhiOff,
const unsigned &  m_extend_length,
const unsigned &  m_allowALCTonly,
const unsigned &  m_allowCLCTonly,
const unsigned &  m_preTrigger,
const unsigned &  m_widePhi,
const int &  minBX,
const int &  maxBX 
)

Definition at line 291 of file CSCTFSPCoreLogic.cc.

References CSCTriggerContainer< T >::clear(), gather_cfg::cout, GetCoreFirmwareVersion(), io_, IsVerbose(), simTrackMatching_cfi::minBX, mytracks, CSCTriggerContainer< T >::push_back(), runme, L1MuRegionalCand::setBx(), L1MuRegionalCand::setChargePacked(), L1MuRegionalCand::setEtaPacked(), L1MuRegionalCand::setFineHaloPacked(), csc::L1Track::setLocalPhi(), csc::L1TrackId::setMode(), setNLBTables(), csc::L1Track::setOutputLink(), csc::L1Track::setPtLUTAddress(), csc::L1Track::setStationIds(), csc::L1Track::setTbins(), edm::shift, sp_2010_01_22_, sp_2010_07_28_, sp_2010_09_01_, sp_2010_10_11_, sp_2010_12_10_, sp_2011_01_18_, sp_2012_01_31_, sp_2012_03_13_, sp_2012_07_30_, sp_2014_04_24_, sp_2014_05_15_, and globals_cff::x1.

Referenced by CSCTFSPCoreLogic(), and CSCTFSectorProcessor::run().

314 {
315  mytracks.clear();
316 
317  int train_length = io_.size();
318  int bx = 0;
319  io_.resize(train_length + latency);
320  std::vector<SPio>::iterator io;
321 
322  // run over enough clock cycles to get tracks from input stubs.
323  for( io = io_.begin(); io != io_.end() && runme; io++)
324  {
325 
326 
327  switch(this->GetCoreFirmwareVersion()) {
328  case 20100122:
329  sp_2010_01_22_.wrap
330  (
331  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp,
332  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp,
333  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp,
334 
335  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp,
336  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp,
337  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp,
338 
339  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
340  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
341  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
342 
343  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
344  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
345  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
346 
347  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
348  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
349  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
350 
351  io->mb1aVp, io->mb1aQp, io->mb1aPhip,
352  io->mb1bVp, io->mb1bQp, io->mb1bPhip,
353  io->mb1cVp, io->mb1cQp, io->mb1cPhip,
354  io->mb1dVp, io->mb1dQp, io->mb1dPhip,
355 
356  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
357  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
358  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
359 
360  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
361  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
362  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
363 
364  etamin1,etamin2,etamin3,etamin4,etamin5,etamin6,etamin7,etamin8,
365  etamax1,etamax2,etamax3,etamax4,etamax5,etamax6,etamax7,etamax8,
366  etawin1, etawin2, etawin3, etawin4, etawin5, etawin6, etawin7,
367  mindphip, mindetap,
368 
369  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
370  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
371 
372  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
373  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
374  mindphip_halo, mindetap_halo,
375 
376  straightp, curvedp,
377  mbaPhiOff, mbbPhiOff,
378  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
379  );
380 
381  break;
382  case 20100728:
383  sp_2010_07_28_.wrap
384  (
385  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp,
386  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp,
387  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp,
388 
389  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp,
390  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp,
391  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp,
392 
393  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
394  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
395  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
396 
397  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
398  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
399  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
400 
401  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
402  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
403  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
404 
405  io->mb1aVp, io->mb1aQp, io->mb1aPhip,
406  io->mb1bVp, io->mb1bQp, io->mb1bPhip,
407  io->mb1cVp, io->mb1cQp, io->mb1cPhip,
408  io->mb1dVp, io->mb1dQp, io->mb1dPhip,
409 
410  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
411  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
412  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
413 
414  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
415  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
416  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
417 
418  etamin1,etamin2,etamin3,etamin4,etamin5,etamin6,etamin7,etamin8,
419  etamax1,etamax2,etamax3,etamax4,etamax5,etamax6,etamax7,etamax8,
420  etawin1, etawin2, etawin3, etawin4, etawin5, etawin6, etawin7,
421  mindphip, mindetap,
422 
423  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
424  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
425 
426  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
427  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
428  mindphip_halo, mindetap_halo,
429 
430  straightp, curvedp,
431  mbaPhiOff, mbbPhiOff,
432  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
433  );
434  break;
435  case 20100901:
436  sp_2010_09_01_.wrap
437  (
438  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp,
439  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp,
440  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp,
441 
442  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp,
443  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp,
444  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp,
445 
446  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
447  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
448  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
449 
450  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
451  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
452  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
453 
454  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
455  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
456  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
457 
458  io->mb1aVp, io->mb1aQp, io->mb1aPhip,
459  io->mb1bVp, io->mb1bQp, io->mb1bPhip,
460  io->mb1cVp, io->mb1cQp, io->mb1cPhip,
461  io->mb1dVp, io->mb1dQp, io->mb1dPhip,
462 
463  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
464  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
465  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
466 
467  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
468  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
469  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
470 
471  etamin1,etamin2,etamin3,etamin4,etamin5,etamin6,etamin7,etamin8,
472  etamax1,etamax2,etamax3,etamax4,etamax5,etamax6,etamax7,etamax8,
473  etawin1, etawin2, etawin3, etawin4, etawin5, etawin6, etawin7,
474  mindphip, mindetap,
475 
476  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
477  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
478 
479  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
480  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
481  mindphip_halo, mindetap_halo,
482 
483  straightp, curvedp,
484  mbaPhiOff, mbbPhiOff,
485  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
486  );
487  break;
488 
489  case 20101011:
490  sp_2010_10_11_.wrap
491  (
492  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp,
493  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp,
494  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp,
495 
496  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp,
497  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp,
498  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp,
499 
500  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
501  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
502  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
503 
504  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
505  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
506  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
507 
508  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
509  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
510  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
511 
512  io->mb1aVp, io->mb1aQp, io->mb1aPhip,
513  io->mb1bVp, io->mb1bQp, io->mb1bPhip,
514  io->mb1cVp, io->mb1cQp, io->mb1cPhip,
515  io->mb1dVp, io->mb1dQp, io->mb1dPhip,
516 
517  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
518  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
519  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
520 
521  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
522  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
523  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
524 
525  etamin1,etamin2,etamin3,etamin4,etamin5,/*etamin6,*/etamin7,etamin8,
526  etamax1,etamax2,etamax3,etamax4,etamax5,/*etamax6,*/etamax7,etamax8,
527  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
528  mindphip, mindetap,
529 
530  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
531  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
532 
533  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
534  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
535  mindphip_halo, mindetap_halo,
536 
537  straightp, curvedp,
538  mbaPhiOff, mbbPhiOff,
539  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
540  );
541  break;
542 
543 
544  case 20101210:
545  sp_2010_12_10_.wrap
546  (
547  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp,
548  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp,
549  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp,
550 
551  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp,
552  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp,
553  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp,
554 
555  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
556  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
557  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
558 
559  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
560  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
561  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
562 
563  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
564  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
565  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
566 
567  io->mb1aVp, io->mb1aQp, io->mb1aPhip,
568  io->mb1bVp, io->mb1bQp, io->mb1bPhip,
569  io->mb1cVp, io->mb1cQp, io->mb1cPhip,
570  io->mb1dVp, io->mb1dQp, io->mb1dPhip,
571 
572  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
573  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
574  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
575 
576  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
577  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
578  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
579 
580  etamin1,etamin2,etamin3,etamin4,etamin5,/*etamin6,*/etamin7,etamin8,
581  etamax1,etamax2,etamax3,etamax4,etamax5,/*etamax6,*/etamax7,etamax8,
582  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
583  mindphip, mindetap,
584 
585  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
586  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
587 
588  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
589  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
590  mindphip_halo, mindetap_halo,
591 
592  straightp, curvedp,
593  mbaPhiOff, mbbPhiOff,
594  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
595  );
596  break;
597 
598  case 20110118:
599  sp_2011_01_18_.wrap
600  (
601  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp, io->me1aCLCTp,
602  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp, io->me1bCLCTp,
603  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp, io->me1cCLCTp,
604 
605  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp, io->me1dCLCTp,
606  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp, io->me1eCLCTp,
607  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp, io->me1fCLCTp,
608 
609  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
610  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
611  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
612 
613  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
614  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
615  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
616 
617  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
618  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
619  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
620 
621  io->mb1aVp, io->mb1aQp, io->mb1aPhip, io->mb1aBendp,
622  io->mb1bVp, io->mb1bQp, io->mb1bPhip, io->mb1bBendp,
623  io->mb1cVp, io->mb1cQp, io->mb1cPhip, io->mb1cBendp,
624  io->mb1dVp, io->mb1dQp, io->mb1dPhip, io->mb1dBendp,
625 
626  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
627  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
628  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
629 
630  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
631  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
632  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
633 
634  etamin1,etamin2,etamin3,etamin4,etamin5,/*etamin6,*/etamin7,etamin8,
635  etamax1,etamax2,etamax3,etamax4,etamax5,/*etamax6,*/etamax7,etamax8,
636  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
637  mindphip, mindetap,
638 
639  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
640  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
641 
642  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
643  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
644  mindphip_halo, mindetap_halo,
645 
646  straightp, curvedp,
647  mbaPhiOff, mbbPhiOff,
648  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
649  );
650  break;
651 
652  case 20120131:
653  setNLBTables();
654 
655  sp_2012_01_31_.wrap
656  (
657  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp, io->me1aCLCTp,
658  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp, io->me1bCLCTp,
659  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp, io->me1cCLCTp,
660 
661  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp, io->me1dCLCTp,
662  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp, io->me1eCLCTp,
663  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp, io->me1fCLCTp,
664 
665  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
666  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
667  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
668 
669  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
670  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
671  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
672 
673  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
674  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
675  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
676 
677  io->mb1aVp, io->mb1aQp, io->mb1aPhip, io->mb1aBendp,
678  io->mb1bVp, io->mb1bQp, io->mb1bPhip, io->mb1bBendp,
679  io->mb1cVp, io->mb1cQp, io->mb1cPhip, io->mb1cBendp,
680  io->mb1dVp, io->mb1dQp, io->mb1dPhip, io->mb1dBendp,
681 
682  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp, io->phdiff_aHp, io->phdiff_bHp,
683  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp, io->phdiff_aMp, io->phdiff_bMp,
684  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp, io->phdiff_aLp, io->phdiff_bLp,
685 
686  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
687  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
688  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
689 
690  etamin1, etamin2, etamin3, etamin4, etamin5, /*etamin6,*/ etamin7,etamin8,
691  etamax1, etamax2, etamax3, etamax4, etamax5, /*etamax6,*/ etamax7,etamax8,
692  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
693  mindphip, mindetap,
694 
695  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
696  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
697 
698  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
699  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
700  mindphip_halo, mindetap_halo,
701 
702  straightp, curvedp,
703  mbaPhiOff, mbbPhiOff,
704  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
705  );
706  break;
707 
708  case 20120313:
709 
710  sp_2012_03_13_.wrap
711  (
712  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp, io->me1aCLCTp,
713  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp, io->me1bCLCTp,
714  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp, io->me1cCLCTp,
715 
716  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp, io->me1dCLCTp,
717  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp, io->me1eCLCTp,
718  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp, io->me1fCLCTp,
719 
720  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
721  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
722  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
723 
724  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
725  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
726  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
727 
728  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
729  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
730  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
731 
732  io->mb1aVp, io->mb1aQp, io->mb1aPhip, io->mb1aBendp,
733  io->mb1bVp, io->mb1bQp, io->mb1bPhip, io->mb1bBendp,
734  io->mb1cVp, io->mb1cQp, io->mb1cPhip, io->mb1cBendp,
735  io->mb1dVp, io->mb1dQp, io->mb1dPhip, io->mb1dBendp,
736 
737  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp, io->phdiff_aHp, io->phdiff_bHp,
738  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp, io->phdiff_aMp, io->phdiff_bMp,
739  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp, io->phdiff_aLp, io->phdiff_bLp,
740 
741  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
742  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
743  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
744 
745  etamin1, etamin2, etamin3, etamin4, etamin5, /*etamin6,*/ etamin7,etamin8,
746  etamax1, etamax2, etamax3, etamax4, etamax5, /*etamax6,*/ etamax7,etamax8,
747  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
748  mindphip, mindetap,
749 
750  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
751  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
752 
753  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
754  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
755  mindphip_halo, mindetap_halo,
756 
757  straightp, curvedp,
758  mbaPhiOff, mbbPhiOff,
759  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
760  );
761  break;
762 
763  case 20120730:
764 
765  sp_2012_07_30_.wrap
766  (
767  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp, io->me1aCLCTp,
768  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp, io->me1bCLCTp,
769  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp, io->me1cCLCTp,
770 
771  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp, io->me1dCLCTp,
772  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp, io->me1eCLCTp,
773  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp, io->me1fCLCTp,
774 
775  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
776  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
777  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
778 
779  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
780  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
781  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
782 
783  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
784  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
785  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
786 
787  io->mb1aVp, io->mb1aQp, io->mb1aPhip, io->mb1aBendp,
788  io->mb1bVp, io->mb1bQp, io->mb1bPhip, io->mb1bBendp,
789  io->mb1cVp, io->mb1cQp, io->mb1cPhip, io->mb1cBendp,
790  io->mb1dVp, io->mb1dQp, io->mb1dPhip, io->mb1dBendp,
791 
792  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp, io->phdiff_aHp, io->phdiff_bHp,
793  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp, io->phdiff_aMp, io->phdiff_bMp,
794  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp, io->phdiff_aLp, io->phdiff_bLp,
795 
796  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
797  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
798  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
799 
800  etamin1, etamin2, etamin3, etamin4, etamin5, /*etamin6,*/ etamin7,etamin8,
801  etamax1, etamax2, etamax3, etamax4, etamax5, /*etamax6,*/ etamax7,etamax8,
802  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
803  mindphip, mindetap,
804 
805  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
806  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
807 
808  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
809  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
810  mindphip_halo, mindetap_halo,
811 
812  straightp, curvedp,
813  mbaPhiOff, mbbPhiOff,
814  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
815  );
816  break;
817 
818  case 20140424:
819 
820  sp_2014_04_24_.wrap
821  (
822  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp, io->me1aCLCTp,
823  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp, io->me1bCLCTp,
824  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp, io->me1cCLCTp,
825 
826  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp, io->me1dCLCTp,
827  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp, io->me1eCLCTp,
828  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp, io->me1fCLCTp,
829 
830  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
831  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
832  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
833 
834  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
835  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
836  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
837 
838  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
839  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
840  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
841 
842  io->mb1aVp, io->mb1aQp, io->mb1aPhip, io->mb1aBendp,
843  io->mb1bVp, io->mb1bQp, io->mb1bPhip, io->mb1bBendp,
844  io->mb1cVp, io->mb1cQp, io->mb1cPhip, io->mb1cBendp,
845  io->mb1dVp, io->mb1dQp, io->mb1dPhip, io->mb1dBendp,
846 
847  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp, io->phdiff_aHp, io->phdiff_bHp,
848  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp, io->phdiff_aMp, io->phdiff_bMp,
849  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp, io->phdiff_aLp, io->phdiff_bLp,
850 
851  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
852  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
853  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
854 
855  etamin1, etamin2, etamin3, etamin4, etamin5, /*etamin6,*/ etamin7,etamin8,
856  etamax1, etamax2, etamax3, etamax4, etamax5, /*etamax6,*/ etamax7,etamax8,
857  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
858  mindphip, mindetap,
859 
860  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
861  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
862 
863  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
864  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
865  mindphip_halo, mindetap_halo,
866 
867  straightp, curvedp,
868  mbaPhiOff, mbbPhiOff,
869  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
870  );
871  break;
872 
873 
874  case 20140515:
875 
876  sp_2014_05_15_.wrap
877  (
878  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp, io->me1aCLCTp,
879  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp, io->me1bCLCTp,
880  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp, io->me1cCLCTp,
881 
882  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp, io->me1dCLCTp,
883  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp, io->me1eCLCTp,
884  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp, io->me1fCLCTp,
885 
886  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
887  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
888  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
889 
890  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
891  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
892  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
893 
894  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
895  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
896  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
897 
898  io->mb1aVp, io->mb1aQp, io->mb1aPhip, io->mb1aBendp,
899  io->mb1bVp, io->mb1bQp, io->mb1bPhip, io->mb1bBendp,
900  io->mb1cVp, io->mb1cQp, io->mb1cPhip, io->mb1cBendp,
901  io->mb1dVp, io->mb1dQp, io->mb1dPhip, io->mb1dBendp,
902 
903  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp, io->phdiff_aHp, io->phdiff_bHp,
904  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp, io->phdiff_aMp, io->phdiff_bMp,
905  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp, io->phdiff_aLp, io->phdiff_bLp,
906 
907  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
908  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
909  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
910 
911  etamin1, etamin2, etamin3, etamin4, etamin5, /*etamin6,*/ etamin7,etamin8,
912  etamax1, etamax2, etamax3, etamax4, etamax5, /*etamax6,*/ etamax7,etamax8,
913  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
914  mindphip, mindetap,
915 
916  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
917  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
918 
919  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
920  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
921  mindphip_halo, mindetap_halo,
922 
923  straightp, curvedp,
924  mbaPhiOff, mbbPhiOff,
925  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
926  );
927  break;
928 
929  default:
930  edm::LogInfo("CSCSTFSPCoreLogic") << "Warning: using the default core is what you want?"
931  << " Core version is " << this->GetCoreFirmwareVersion();
932  setNLBTables();
933  sp_2012_01_31_.wrap
934  (
935  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp, io->me1aCLCTp,
936  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp, io->me1bCLCTp,
937  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp, io->me1cCLCTp,
938 
939  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp, io->me1dCLCTp,
940  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp, io->me1eCLCTp,
941  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp, io->me1fCLCTp,
942 
943  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
944  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
945  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
946 
947  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
948  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
949  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
950 
951  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
952  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
953  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
954 
955  io->mb1aVp, io->mb1aQp, io->mb1aPhip, io->mb1aBendp,
956  io->mb1bVp, io->mb1bQp, io->mb1bPhip, io->mb1bBendp,
957  io->mb1cVp, io->mb1cQp, io->mb1cPhip, io->mb1cBendp,
958  io->mb1dVp, io->mb1dQp, io->mb1dPhip, io->mb1dBendp,
959 
960  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp, io->phdiff_aHp, io->phdiff_bHp,
961  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp, io->phdiff_aMp, io->phdiff_bMp,
962  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp, io->phdiff_aLp, io->phdiff_bLp,
963 
964  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
965  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
966  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
967 
968  etamin1, etamin2, etamin3, etamin4, etamin5, /*etamin6,*/ etamin7,etamin8,
969  etamax1, etamax2, etamax3, etamax4, etamax5, /*etamax6,*/ etamax7,etamax8,
970  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
971  mindphip, mindetap,
972 
973  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
974  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
975 
976  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
977  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
978  mindphip_halo, mindetap_halo,
979 
980  straightp, curvedp,
981  mbaPhiOff, mbbPhiOff,
982  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
983  );
984  break;
985 
986  }
987 
988 
989 
990  if ( IsVerbose() ) {
991  std::cout << "Core Verbose Output For Debugging\n";
992  std::cout << io->me1aVp << " " << io->me1aQp << " " << io->me1aEtap << " " << io->me1aPhip << " " << io->me1aCSCIdp << " " << io->me1aCLCTp << std::endl;
993  std::cout << io->me1bVp << " " << io->me1bQp << " " << io->me1bEtap << " " << io->me1bPhip << " " << io->me1bCSCIdp << " " << io->me1bCLCTp << std::endl;
994  std::cout << io->me1cVp << " " << io->me1cQp << " " << io->me1cEtap << " " << io->me1cPhip << " " << io->me1cCSCIdp << " " << io->me1cCLCTp << std::endl;
995 
996  std::cout << io->me1dVp << " " << io->me1dQp << " " << io->me1dEtap << " " << io->me1dPhip << " " << io->me1dCSCIdp << " " << io->me1dCLCTp << std::endl;
997  std::cout << io->me1eVp << " " << io->me1eQp << " " << io->me1eEtap << " " << io->me1ePhip << " " << io->me1eCSCIdp << " " << io->me1eCLCTp << std::endl;
998  std::cout << io->me1fVp << " " << io->me1fQp << " " << io->me1fEtap << " " << io->me1fPhip << " " << io->me1fCSCIdp << " " << io->me1fCLCTp << std::endl;
999 
1000  std::cout << io->me2aVp << " " << io->me2aQp << " " << io->me2aEtap << " " << io->me2aPhip << " " << 0 << " " << 0 << std::endl;
1001  std::cout << io->me2bVp << " " << io->me2bQp << " " << io->me2bEtap << " " << io->me2bPhip << " " << 0 << " " << 0 << std::endl;
1002  std::cout << io->me2cVp << " " << io->me2cQp << " " << io->me2cEtap << " " << io->me2cPhip << " " << 0 << " " << 0 << std::endl;
1003 
1004  std::cout << io->me3aVp << " " << io->me3aQp << " " << io->me3aEtap << " " << io->me3aPhip << " " << 0 << " " << 0 << std::endl;
1005  std::cout << io->me3bVp << " " << io->me3bQp << " " << io->me3bEtap << " " << io->me3bPhip << " " << 0 << " " << 0 << std::endl;
1006  std::cout << io->me3cVp << " " << io->me3cQp << " " << io->me3cEtap << " " << io->me3cPhip << " " << 0 << " " << 0 << std::endl;
1007 
1008  std::cout << io->me4aVp << " " << io->me4aQp << " " << io->me4aEtap << " " << io->me4aPhip << " " << 0 << " " << 0 << std::endl;
1009  std::cout << io->me4bVp << " " << io->me4bQp << " " << io->me4bEtap << " " << io->me4bPhip << " " << 0 << " " << 0 << std::endl;
1010  std::cout << io->me4cVp << " " << io->me4cQp << " " << io->me4cEtap << " " << io->me4cPhip << " " << 0 << " " << 0 << std::endl;
1011 
1012  std::cout << io->mb1aVp << " " << io->mb1aQp << " " << 0 << " " << io->mb1aPhip <<" " << 0 << " " << io->mb1aBendp << std::endl;
1013  std::cout << io->mb1bVp << " " << io->mb1bQp << " " << 0 << " " << io->mb1bPhip <<" " << 0 << " " << io->mb1bBendp << std::endl;
1014  std::cout << io->mb1cVp << " " << io->mb1cQp << " " << 0 << " " << 0/*io->mb1cPhip*/ <<" " << 0 << " " << 0/*io->mb1aBendp*/ << std::endl;
1015  std::cout << io->mb1dVp << " " << io->mb1dQp << " " << 0 << " " << 0/*io->mb1dPhip*/ <<" " << 0 << " " << 0/*io->mb1aBendp*/ << std::endl;
1016 
1017  std::cout << io->ptHp << " " << io->signHp << " " << io->modeMemHp << " " << io->etaPTHp << " " << io->FRHp << " " << io->phiHp << std::endl;
1018  std::cout << io->ptMp << " " << io->signMp << " " << io->modeMemMp << " " << io->etaPTMp << " " << io->FRMp << " " << io->phiMp << std::endl;
1019  std::cout << io->ptLp << " " << io->signLp << " " << io->modeMemLp << " " << io->etaPTLp << " " << io->FRLp << " " << io->phiLp << std::endl;
1020 
1021  std::cout << io->me1idH << " " << io->me2idH << " " << io->me3idH << " " << io->me4idH << " " << io->mb1idH << " " << io->mb2idH << std::endl;
1022  std::cout << io->me1idM << " " << io->me2idM << " " << io->me3idM << " " << io->me4idM << " " << io->mb1idM << " " << io->mb2idM << std::endl;
1023  std::cout << io->me1idL << " " << io->me2idL << " " << io->me3idL << " " << io->me4idL << " " << io->mb1idL << " " << io->mb2idL << std::endl << std::endl;
1024  }
1025  ++bx;
1026  }
1027 
1028 
1029  bx = 0;
1030 
1031  //int nmuons = 0;
1032  // start from where tracks could first possibly appear
1033  // read out tracks from io_
1034  // We add first +1 to the starting position because the CSC data started 1 BX after DT,
1035  // and the other +1 because of the number of calls to the core (i.e. latency+1):
1036  for(io = io_.begin() + latency + 1 + 1; io != io_.end(); io++)
1037  {
1038  csc::L1TrackId trkHid(endcap, sector), trkMid(endcap, sector), trkLid(endcap, sector);
1039  trkHid.setMode(io->modeMemHp);
1040  trkMid.setMode(io->modeMemMp);
1041  trkLid.setMode(io->modeMemLp);
1042 
1043  csc::L1Track trkH(trkHid), trkM(trkMid), trkL(trkLid);
1044 
1045  ptadd LUTAddressH, LUTAddressM, LUTAddressL;
1046 
1047  // construct PT LUT address for all possible muons
1048  LUTAddressH.delta_phi_12 = io->ptHp & 0xff;
1049  LUTAddressH.delta_phi_23 = (io->ptHp >> 8) & 0xf;
1050  LUTAddressH.track_eta = (io->etaPTHp>>1) & 0xf;
1051  LUTAddressH.track_mode = io->modeMemHp & 0xf;
1052 // Line Replaced due to removal of spbits.h, note that
1053 // BWPT and MODE_ACC are now hard coded (13 and 15 respectively)
1054 // LUTAddressH.delta_phi_sign = (io->ptHp >> (BWPT-1)) & 0x1;
1055  LUTAddressH.delta_phi_sign = (io->ptHp >> (13-1)) & 0x1;
1056  LUTAddressH.track_fr = io->FRHp & 0x1;
1057 
1058  LUTAddressM.delta_phi_12 = io->ptMp & 0xff;
1059  LUTAddressM.delta_phi_23 = (io->ptMp >> 8) & 0xf;
1060  LUTAddressM.track_eta = (io->etaPTMp>>1) & 0xf;
1061  LUTAddressM.track_mode = io->modeMemMp & 0xf;
1062 // LUTAddressM.delta_phi_sign = (io->ptMp >> (BWPT-1)) & 0x1;
1063  LUTAddressM.delta_phi_sign = (io->ptMp >> (13-1)) & 0x1;
1064  LUTAddressM.track_fr = io->FRMp & 0x1;
1065 
1066 
1067  LUTAddressL.delta_phi_12 = io->ptLp & 0xff;
1068  LUTAddressL.delta_phi_23 = (io->ptLp >> 8) & 0xf;
1069  LUTAddressL.track_eta = (io->etaPTLp>>1) & 0xf;
1070  LUTAddressL.track_mode = io->modeMemLp & 0xf;
1071 // LUTAddressL.delta_phi_sign = (io->ptLp >> (BWPT-1)) & 0x1;
1072  LUTAddressL.delta_phi_sign = (io->ptLp >> (13-1)) & 0x1;
1073  LUTAddressL.track_fr = io->FRLp & 0x1;
1074 
1075 
1076 
1077  // Core's input was loaded in a relative time window starting from BX=1(CSC)/0(DT)
1078  // If we account for latency related shift in the core's output (as we do in this loop)
1079  // then output tracks appear in the same BX as input stubs.
1080  // To create new time window with perfectly timed-in tracks placed at BX=0 we introduce a shift:
1081  int shift = (maxBX - minBX)/2;
1082 
1083  if(LUTAddressH.track_mode)
1084  {
1085  trkH.setPtLUTAddress(LUTAddressH.toint());
1086  trkH.setChargePacked((io->signHp)&0x1);
1087  trkH.setLocalPhi(io->phiHp);
1088  trkH.setEtaPacked(io->etaPTHp);
1089  trkH.setBx((int)(bx)-shift);
1090  trkH.setStationIds(io->me1idH&0x7, io->me2idH&0x3, io->me3idH&0x3, io->me4idH&0x3, io->mb1idH&0x3 );
1091  trkH.setTbins (io->me1idH>>3, io->me2idH>>2, io->me3idH>>2, io->me4idH>>2, io->mb1idH>>2 );
1092  trkH.setOutputLink(1);
1093  if( LUTAddressH.track_mode==15 ) trkH.setFineHaloPacked(1);
1094  mytracks.push_back(trkH);
1095  }
1096  if(LUTAddressM.track_mode)
1097  {
1098  trkM.setPtLUTAddress(LUTAddressM.toint());
1099  trkM.setChargePacked((io->signMp)&0x1);
1100  trkM.setLocalPhi(io->phiMp);
1101  trkM.setEtaPacked(io->etaPTMp);
1102  trkM.setBx((int)(bx)-shift);
1103  trkM.setStationIds(io->me1idM&0x7, io->me2idM&0x3, io->me3idM&0x3, io->me4idM&0x3, io->mb1idM&0x3 );
1104  trkM.setTbins (io->me1idM>>3, io->me2idM>>2, io->me3idM>>2, io->me4idM>>2, io->mb1idM>>2 );
1105  trkM.setOutputLink(2);
1106  if( LUTAddressM.track_mode==15 ) trkM.setFineHaloPacked(1);
1107  mytracks.push_back(trkM);
1108  }
1109  if(LUTAddressL.track_mode)
1110  {
1111  trkL.setPtLUTAddress(LUTAddressL.toint());
1112  trkL.setChargePacked((io->signLp)&0x1);
1113  trkL.setLocalPhi(io->phiLp);
1114  trkL.setEtaPacked(io->etaPTLp);
1115  trkL.setBx((int)(bx)-shift);
1116  trkL.setStationIds(io->me1idL&0x7, io->me2idL&0x3, io->me3idL&0x3, io->me4idL&0x3, io->mb1idL&0x3 );
1117  trkL.setTbins (io->me1idL>>3, io->me2idL>>2, io->me3idL>>2, io->me4idL>>2, io->mb1idL>>2 );
1118  trkL.setOutputLink(3);
1119  if( LUTAddressL.track_mode==15 ) trkL.setFineHaloPacked(1);
1120  mytracks.push_back(trkL);
1121  }
1122  ++bx;
1123  }
1124  return runme;
1125 }
static vpp_generated_2011_01_18 sp_2011_01_18_
static vpp_generated_2010_12_10 sp_2010_12_10_
static vpp_generated_2010_09_01 sp_2010_09_01_
static vpp_generated_2010_10_11 sp_2010_10_11_
CSCTriggerContainer< csc::L1Track > mytracks
static vpp_generated_2014_05_15 sp_2014_05_15_
static vpp_generated_2012_01_31 sp_2012_01_31_
void push_back(const T &data)
static vpp_generated_2010_01_22 sp_2010_01_22_
static vpp_generated_2010_07_28 sp_2010_07_28_
static vpp_generated_2014_04_24 sp_2014_04_24_
static vpp_generated_2012_03_13 sp_2012_03_13_
unsigned int GetCoreFirmwareVersion()
class pt_address ptadd
static unsigned int const shift
std::vector< SPio > io_
latency
hardware algo
static vpp_generated_2012_07_30 sp_2012_07_30_
void CSCTFSPCoreLogic::SetCoreFirmwareVersion ( const unsigned int  fwVer)
inline

Definition at line 116 of file CSCTFSPCoreLogic.h.

References coreFirmwareVersion.

116 {coreFirmwareVersion=fwVer; }
unsigned int coreFirmwareVersion
void CSCTFSPCoreLogic::setNLBTables ( )

Definition at line 1127 of file CSCTFSPCoreLogic.cc.

References mps_fire::i, and sp_2012_01_31_.

Referenced by IsVerbose(), and run().

1128 {
1129  /*
1130  These arrays define the non-linear dPhi bins used by the SP core logic.
1131  dPhi is mapped to an integer value value. The integer value is remapped
1132  to phi-units in CSCTFPtLUT.
1133  */
1134 
1135  // initialize the dphi arrays to maximum possible value
1136  for (int i = 0; i < 1024; i++)
1137  {
1138  // 5-bit words
1139  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_5[i] = (1<<5)-1;
1140  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_5[i] = (1<<5)-1;
1141  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_5[i] = (1<<5)-1;
1142 
1143  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_5[i] = (1<<5)-1;
1144  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_5[i] = (1<<5)-1;
1145  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_5[i] = (1<<5)-1;
1146 
1147 
1148  // 7-bit words
1149  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_7[i] = (1<<7)-1;
1150  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_7[i] = (1<<7)-1;
1151  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_7[i] = (1<<7)-1;
1152 
1153  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_7[i] = (1<<7)-1;
1154  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_7[i] = (1<<7)-1;
1155  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_7[i] = (1<<7)-1;
1156 
1157  // 8-bit words
1158  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_8[i] = (1<<8)-1;
1159  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_8[i] = (1<<8)-1;
1160  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_8[i] = (1<<8)-1;
1161 
1162  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_8[i] = (1<<8)-1;
1163  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_8[i] = (1<<8)-1;
1164  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_8[i] = (1<<8)-1;
1165 
1166  sp_2012_01_31_.spvpp_ptu4a_comp_dphi_8[i] = (1<<8)-1;
1167  sp_2012_01_31_.spvpp_ptu4b_comp_dphi_8[i] = (1<<8)-1;
1168  sp_2012_01_31_.spvpp_ptu4c_comp_dphi_8[i] = (1<<8)-1;
1169  }
1170 
1171  // define the non-linear bin map. This takes dphi (phi-units) --> integer value
1172 
1173  // 5-bit table
1174  int dPhiTable_5b[256] =
1175  { 0 , 1 , 2 , 2 , 3 , 4 , 4 , 5 , 5 , 6 , 6 , 7 , 7 , 8 , 8 , 9 , 9 , 9 , 10 , 10 , 10 , 11 , 11 , 11 , 12 , 12 , 12 , 12 , 13 , 13 , 13 , 13 , 14 , 14 , 14 , 14 , 14 , 15 , 15 , 15 , 15 , 16 , 16 , 16 , 16 , 16 , 16 , 17 , 17 , 17 , 17 , 17 , 17 , 18 , 18 , 18 , 18 , 18 , 18 , 18 , 19 , 19 , 19 , 19 , 19 , 19 , 19 , 20 , 20 , 20 , 20 , 20 , 20 , 20 , 20 , 21 , 21 , 21 , 21 , 21 , 21 , 21 , 21 , 21 , 22 , 22 , 22 , 22 , 22 , 22 , 22 , 22 , 22 , 22 , 23 , 23 , 23 , 23 , 23 , 23 , 23 , 23 , 23 , 23 , 23 , 24 , 24 , 24 , 24 , 24 , 24 , 24 , 24 , 24 , 24 , 24 , 24 , 25 , 25 , 25 , 25 , 25 , 25 , 25 , 25 , 25 , 25 , 25 , 25 , 25 , 25 , 26 , 26 , 26 , 26 , 26 , 26 , 26 , 26 , 26 , 26 , 26 , 26 , 26 , 26 , 27 , 27 , 27 , 27 , 27 , 27 , 27 , 27 , 27 , 27 , 27 , 27 , 27 , 27 , 27 , 27 , 27 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 28 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 29 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 30 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 , 31 };
1176 
1177  // 7-bit table
1178  int dPhiTable_7b[512] =
1179  { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 6 , 7 , 8 , 9 , 10 , 11 , 11 , 12 , 13 , 14 , 15 , 15 , 16 , 17 , 18 , 18 , 19 , 20 , 20 , 21 , 22 , 22 , 23 , 24 , 24 , 25 , 26 , 26 , 27 , 27 , 28 , 29 , 29 , 30 , 30 , 31 , 31 , 32 , 33 , 33 , 34 , 34 , 35 , 35 , 36 , 36 , 37 , 37 , 38 , 38 , 39 , 39 , 40 , 40 , 41 , 41 , 42 , 42 , 43 , 43 , 44 , 44 , 44 , 45 , 45 , 46 , 46 , 47 , 47 , 47 , 48 , 48 , 49 , 49 , 50 , 50 , 50 , 51 , 51 , 52 , 52 , 52 , 53 , 53 , 53 , 54 , 54 , 55 , 55 , 55 , 56 , 56 , 56 , 57 , 57 , 57 , 58 , 58 , 59 , 59 , 59 , 60 , 60 , 60 , 61 , 61 , 61 , 62 , 62 , 62 , 63 , 63 , 63 , 63 , 64 , 64 , 64 , 65 , 65 , 65 , 66 , 66 , 66 , 67 , 67 , 67 , 67 , 68 , 68 , 68 , 69 , 69 , 69 , 69 , 70 , 70 , 70 , 71 , 71 , 71 , 71 , 72 , 72 , 72 , 73 , 73 , 73 , 73 , 74 , 74 , 74 , 74 , 75 , 75 , 75 , 75 , 76 , 76 , 76 , 76 , 77 , 77 , 77 , 77 , 78 , 78 , 78 , 78 , 79 , 79 , 79 , 79 , 80 , 80 , 80 , 80 , 81 , 81 , 81 , 81 , 81 , 82 , 82 , 82 , 82 , 83 , 83 , 83 , 83 , 83 , 84 , 84 , 84 , 84 , 85 , 85 , 85 , 85 , 85 , 86 , 86 , 86 , 86 , 87 , 87 , 87 , 87 , 87 , 88 , 88 , 88 , 88 , 88 , 89 , 89 , 89 , 89 , 89 , 90 , 90 , 90 , 90 , 90 , 91 , 91 , 91 , 91 , 91 , 92 , 92 , 92 , 92 , 92 , 92 , 93 , 93 , 93 , 93 , 93 , 94 , 94 , 94 , 94 , 94 , 95 , 95 , 95 , 95 , 95 , 95 , 96 , 96 , 96 , 96 , 96 , 96 , 97 , 97 , 97 , 97 , 97 , 98 , 98 , 98 , 98 , 98 , 98 , 99 , 99 , 99 , 99 , 99 , 99 , 100 , 100 , 100 , 100 , 100 , 100 , 101 , 101 , 101 , 101 , 101 , 101 , 102 , 102 , 102 , 102 , 102 , 102 , 102 , 103 , 103 , 103 , 103 , 103 , 103 , 104 , 104 , 104 , 104 , 104 , 104 , 104 , 105 , 105 , 105 , 105 , 105 , 105 , 106 , 106 , 106 , 106 , 106 , 106 , 106 , 107 , 107 , 107 , 107 , 107 , 107 , 107 , 108 , 108 , 108 , 108 , 108 , 108 , 108 , 109 , 109 , 109 , 109 , 109 , 109 , 109 , 110 , 110 , 110 , 110 , 110 , 110 , 110 , 111 , 111 , 111 , 111 , 111 , 111 , 111 , 111 , 112 , 112 , 112 , 112 , 112 , 112 , 112 , 113 , 113 , 113 , 113 , 113 , 113 , 113 , 113 , 114 , 114 , 114 , 114 , 114 , 114 , 114 , 115 , 115 , 115 , 115 , 115 , 115 , 115 , 115 , 116 , 116 , 116 , 116 , 116 , 116 , 116 , 116 , 117 , 117 , 117 , 117 , 117 , 117 , 117 , 117 , 117 , 118 , 118 , 118 , 118 , 118 , 118 , 118 , 118 , 119 , 119 , 119 , 119 , 119 , 119 , 119 , 119 , 119 , 120 , 120 , 120 , 120 , 120 , 120 , 120 , 120 , 121 , 121 , 121 , 121 , 121 , 121 , 121 , 121 , 121 , 122 , 122 , 122 , 122 , 122 , 122 , 122 , 122 , 122 , 123 , 123 , 123 , 123 , 123 , 123 , 123 , 123 , 123 , 124 , 124 , 124 , 124 , 124 , 124 , 124 , 124 , 124 , 125 , 125 , 125 , 125 , 125 , 125 , 125 , 125 , 125 , 125 , 126 , 126 , 126 , 126 , 126 , 126 , 126 , 126 , 126 , 126 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 , 127 };
1180 
1181  // 8-bit table
1182  int dPhiTable_8b[512] =
1183  { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 14 , 15 , 16 , 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 31 , 32 , 33 , 34 , 35 , 36 , 37 , 37 , 38 , 39 , 40 , 41 , 42 , 42 , 43 , 44 , 45 , 46 , 46 , 47 , 48 , 49 , 50 , 50 , 51 , 52 , 53 , 54 , 54 , 55 , 56 , 57 , 57 , 58 , 59 , 60 , 61 , 61 , 62 , 63 , 64 , 64 , 65 , 66 , 66 , 67 , 68 , 69 , 69 , 70 , 71 , 72 , 72 , 73 , 74 , 74 , 75 , 76 , 77 , 77 , 78 , 79 , 79 , 80 , 81 , 81 , 82 , 83 , 83 , 84 , 85 , 86 , 86 , 87 , 88 , 88 , 89 , 90 , 90 , 91 , 91 , 92 , 93 , 93 , 94 , 95 , 95 , 96 , 97 , 97 , 98 , 99 , 99 , 100 , 100 , 101 , 102 , 102 , 103 , 104 , 104 , 105 , 105 , 106 , 107 , 107 , 108 , 109 , 109 , 110 , 110 , 111 , 112 , 112 , 113 , 113 , 114 , 115 , 115 , 116 , 116 , 117 , 117 , 118 , 119 , 119 , 120 , 120 , 121 , 122 , 122 , 123 , 123 , 124 , 124 , 125 , 125 , 126 , 127 , 127 , 128 , 128 , 129 , 129 , 130 , 130 , 131 , 132 , 132 , 133 , 133 , 134 , 134 , 135 , 135 , 136 , 136 , 137 , 138 , 138 , 139 , 139 , 140 , 140 , 141 , 141 , 142 , 142 , 143 , 143 , 144 , 144 , 145 , 145 , 146 , 146 , 147 , 147 , 148 , 148 , 149 , 149 , 150 , 150 , 151 , 151 , 152 , 152 , 153 , 153 , 154 , 154 , 155 , 155 , 156 , 156 , 157 , 157 , 158 , 158 , 159 , 159 , 160 , 160 , 161 , 161 , 162 , 162 , 163 , 163 , 164 , 164 , 165 , 165 , 165 , 166 , 166 , 167 , 167 , 168 , 168 , 169 , 169 , 170 , 170 , 171 , 171 , 172 , 172 , 172 , 173 , 173 , 174 , 174 , 175 , 175 , 176 , 176 , 176 , 177 , 177 , 178 , 178 , 179 , 179 , 180 , 180 , 180 , 181 , 181 , 182 , 182 , 183 , 183 , 183 , 184 , 184 , 185 , 185 , 186 , 186 , 186 , 187 , 187 , 188 , 188 , 189 , 189 , 189 , 190 , 190 , 191 , 191 , 192 , 192 , 192 , 193 , 193 , 194 , 194 , 194 , 195 , 195 , 196 , 196 , 196 , 197 , 197 , 198 , 198 , 199 , 199 , 199 , 200 , 200 , 201 , 201 , 201 , 202 , 202 , 203 , 203 , 203 , 204 , 204 , 204 , 205 , 205 , 206 , 206 , 206 , 207 , 207 , 208 , 208 , 208 , 209 , 209 , 210 , 210 , 210 , 211 , 211 , 211 , 212 , 212 , 213 , 213 , 213 , 214 , 214 , 214 , 215 , 215 , 216 , 216 , 216 , 217 , 217 , 217 , 218 , 218 , 219 , 219 , 219 , 220 , 220 , 220 , 221 , 221 , 221 , 222 , 222 , 223 , 223 , 223 , 224 , 224 , 224 , 225 , 225 , 225 , 226 , 226 , 227 , 227 , 227 , 228 , 228 , 228 , 229 , 229 , 229 , 230 , 230 , 230 , 231 , 231 , 231 , 232 , 232 , 232 , 233 , 233 , 233 , 234 , 234 , 235 , 235 , 235 , 236 , 236 , 236 , 237 , 237 , 237 , 238 , 238 , 238 , 239 , 239 , 239 , 240 , 240 , 240 , 241 , 241 , 241 , 242 , 242 , 242 , 243 , 243 , 243 , 244 , 244 , 244 , 245 , 245 , 245 , 246 , 246 , 246 , 247 , 247 , 247 , 247 , 248 , 248 , 248 , 249 , 249 , 249 , 250 , 250 , 250 , 251 , 251 , 251 , 252 , 252 , 252 , 253 , 253 , 253 , 254 , 254 , 254 , 254 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 , 255 };
1184 
1185  // Now set the arrays
1186 
1187  // 5-bit words
1188  for (int i = 0; i < 256; i++)
1189  {
1190  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_5[i] = dPhiTable_5b[i];
1191  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_5[i] = dPhiTable_5b[i];
1192  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_5[i] = dPhiTable_5b[i];
1193 
1194  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_5[i] = dPhiTable_5b[i];
1195  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_5[i] = dPhiTable_5b[i];
1196  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_5[i] = dPhiTable_5b[i];
1197  }
1198 
1199  // 7-bit words
1200  for (int i = 0; i < 512; i++)
1201  {
1202  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_7[i] = dPhiTable_7b[i];
1203  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_7[i] = dPhiTable_7b[i];
1204  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_7[i] = dPhiTable_7b[i];
1205 
1206  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_7[i] = dPhiTable_7b[i];
1207  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_7[i] = dPhiTable_7b[i];
1208  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_7[i] = dPhiTable_7b[i];
1209  }
1210 
1211  // 8-bit words
1212  for (int i = 0; i < 512; i++)
1213  {
1214  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_8[i] = dPhiTable_8b[i];
1215  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_8[i] = dPhiTable_8b[i];
1216  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_8[i] = dPhiTable_8b[i];
1217 
1218  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_8[i] = dPhiTable_8b[i];
1219  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_8[i] = dPhiTable_8b[i];
1220  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_8[i] = dPhiTable_8b[i];
1221 
1222  sp_2012_01_31_.spvpp_ptu4a_comp_dphi_8[i] = dPhiTable_8b[i];
1223  sp_2012_01_31_.spvpp_ptu4b_comp_dphi_8[i] = dPhiTable_8b[i];
1224  sp_2012_01_31_.spvpp_ptu4c_comp_dphi_8[i] = dPhiTable_8b[i];
1225  }
1226 
1227 }
static vpp_generated_2012_01_31 sp_2012_01_31_
void CSCTFSPCoreLogic::SetSPFirmwareVersion ( const unsigned int  fwVer)
inline

Definition at line 113 of file CSCTFSPCoreLogic.h.

References spFirmwareVersion.

113 {spFirmwareVersion=fwVer; }
unsigned int spFirmwareVersion
void CSCTFSPCoreLogic::SetVerbose ( const bool  verb)
inline

Definition at line 119 of file CSCTFSPCoreLogic.h.

References verboseCore.

119 { verboseCore=verb; }
CSCTriggerContainer< csc::L1Track > CSCTFSPCoreLogic::tracks ( void  )

Definition at line 1230 of file CSCTFSPCoreLogic.cc.

References mytracks.

Referenced by CSCTFSPCoreLogic(), and CSCTFSectorProcessor::run().

1231 {
1232  return mytracks;
1233 }
CSCTriggerContainer< csc::L1Track > mytracks

Member Data Documentation

unsigned int CSCTFSPCoreLogic::coreFirmwareVersion
private

Definition at line 140 of file CSCTFSPCoreLogic.h.

Referenced by GetCoreFirmwareVersion(), and SetCoreFirmwareVersion().

std::vector<SPio> CSCTFSPCoreLogic::io_
private

Definition at line 136 of file CSCTFSPCoreLogic.h.

Referenced by loadData(), and run().

CSCTriggerContainer<csc::L1Track> CSCTFSPCoreLogic::mytracks
private

Definition at line 138 of file CSCTFSPCoreLogic.h.

Referenced by run(), and tracks().

bool CSCTFSPCoreLogic::runme
private

Definition at line 137 of file CSCTFSPCoreLogic.h.

Referenced by loadData(), and run().

vpp_generated_2010_01_22 CSCTFSPCoreLogic::sp_2010_01_22_
staticprivate

Definition at line 124 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_07_28 CSCTFSPCoreLogic::sp_2010_07_28_
staticprivate

Definition at line 125 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_09_01 CSCTFSPCoreLogic::sp_2010_09_01_
staticprivate

Definition at line 126 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_10_11 CSCTFSPCoreLogic::sp_2010_10_11_
staticprivate

Definition at line 127 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_12_10 CSCTFSPCoreLogic::sp_2010_12_10_
staticprivate

Definition at line 128 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2011_01_18 CSCTFSPCoreLogic::sp_2011_01_18_
staticprivate

Definition at line 129 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2012_01_31 CSCTFSPCoreLogic::sp_2012_01_31_
staticprivate

Definition at line 130 of file CSCTFSPCoreLogic.h.

Referenced by run(), and setNLBTables().

vpp_generated_2012_03_13 CSCTFSPCoreLogic::sp_2012_03_13_
staticprivate

Definition at line 131 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2012_07_30 CSCTFSPCoreLogic::sp_2012_07_30_
staticprivate

Definition at line 132 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2014_04_24 CSCTFSPCoreLogic::sp_2014_04_24_
staticprivate

Definition at line 133 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2014_05_15 CSCTFSPCoreLogic::sp_2014_05_15_
staticprivate

Definition at line 134 of file CSCTFSPCoreLogic.h.

Referenced by run().

unsigned int CSCTFSPCoreLogic::spFirmwareVersion
private

Definition at line 139 of file CSCTFSPCoreLogic.h.

Referenced by GetSPFirmwareVersion(), and SetSPFirmwareVersion().

bool CSCTFSPCoreLogic::verboseCore
private

Definition at line 141 of file CSCTFSPCoreLogic.h.

Referenced by IsVerbose(), and SetVerbose().