CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
 
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_
 

Detailed Description

Definition at line 30 of file CSCTFSPCoreLogic.h.

Constructor & Destructor Documentation

CSCTFSPCoreLogic::CSCTFSPCoreLogic ( )
inline

Definition at line 75 of file CSCTFSPCoreLogic.h.

75  : runme(false),
77  verboseCore(false){}
unsigned int spFirmwareVersion
unsigned int coreFirmwareVersion

Member Function Documentation

unsigned int CSCTFSPCoreLogic::GetCoreFirmwareVersion ( )
inline

Definition at line 113 of file CSCTFSPCoreLogic.h.

References coreFirmwareVersion.

Referenced by run().

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

Definition at line 110 of file CSCTFSPCoreLogic.h.

References spFirmwareVersion.

Referenced by loadData().

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

Definition at line 116 of file CSCTFSPCoreLogic.h.

References verboseCore.

Referenced by run().

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

Definition at line 22 of file CSCTFSPCoreLogic.cc.

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

Referenced by CSCTFSectorProcessor::run().

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

References CSCTriggerContainer< T >::clear(), gather_cfg::cout, GetCoreFirmwareVersion(), io_, IsVerbose(), 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_, vpp_generated_2010_01_22::wrap(), vpp_generated_2010_12_10::wrap(), vpp_generated_2011_01_18::wrap(), vpp_generated_2012_03_13::wrap(), vpp_generated_2012_07_30::wrap(), vpp_generated_2012_01_31::wrap(), vpp_generated_2010_10_11::wrap(), vpp_generated_2010_07_28::wrap(), and vpp_generated_2010_09_01::wrap().

Referenced by CSCTFSectorProcessor::run().

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

Definition at line 112 of file CSCTFSPCoreLogic.h.

References coreFirmwareVersion.

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

Definition at line 1002 of file CSCTFSPCoreLogic.cc.

References i, and sp_2012_01_31_.

Referenced by run().

1003 {
1004  /*
1005  These arrays define the non-linear dPhi bins used by the SP core logic.
1006  dPhi is mapped to an integer value value. The integer value is remapped
1007  to phi-units in CSCTFPtLUT.
1008  */
1009 
1010  // initialize the dphi arrays to maximum possible value
1011  for (int i = 0; i < 1024; i++)
1012  {
1013  // 5-bit words
1014  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_5[i] = (1<<5)-1;
1015  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_5[i] = (1<<5)-1;
1016  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_5[i] = (1<<5)-1;
1017 
1018  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_5[i] = (1<<5)-1;
1019  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_5[i] = (1<<5)-1;
1020  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_5[i] = (1<<5)-1;
1021 
1022 
1023  // 7-bit words
1024  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_7[i] = (1<<7)-1;
1025  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_7[i] = (1<<7)-1;
1026  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_7[i] = (1<<7)-1;
1027 
1028  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_7[i] = (1<<7)-1;
1029  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_7[i] = (1<<7)-1;
1030  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_7[i] = (1<<7)-1;
1031 
1032  // 8-bit words
1033  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_8[i] = (1<<8)-1;
1034  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_8[i] = (1<<8)-1;
1035  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_8[i] = (1<<8)-1;
1036 
1037  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_8[i] = (1<<8)-1;
1038  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_8[i] = (1<<8)-1;
1039  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_8[i] = (1<<8)-1;
1040 
1041  sp_2012_01_31_.spvpp_ptu4a_comp_dphi_8[i] = (1<<8)-1;
1042  sp_2012_01_31_.spvpp_ptu4b_comp_dphi_8[i] = (1<<8)-1;
1043  sp_2012_01_31_.spvpp_ptu4c_comp_dphi_8[i] = (1<<8)-1;
1044  }
1045 
1046  // define the non-linear bin map. This takes dphi (phi-units) --> integer value
1047 
1048  // 5-bit table
1049  int dPhiTable_5b[256] =
1050  { 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 };
1051 
1052  // 7-bit table
1053  int dPhiTable_7b[512] =
1054  { 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 };
1055 
1056  // 8-bit table
1057  int dPhiTable_8b[512] =
1058  { 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 };
1059 
1060  // Now set the arrays
1061 
1062  // 5-bit words
1063  for (int i = 0; i < 256; i++)
1064  {
1065  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_5[i] = dPhiTable_5b[i];
1066  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_5[i] = dPhiTable_5b[i];
1067  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_5[i] = dPhiTable_5b[i];
1068 
1069  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_5[i] = dPhiTable_5b[i];
1070  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_5[i] = dPhiTable_5b[i];
1071  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_5[i] = dPhiTable_5b[i];
1072  }
1073 
1074  // 7-bit words
1075  for (int i = 0; i < 512; i++)
1076  {
1077  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_7[i] = dPhiTable_7b[i];
1078  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_7[i] = dPhiTable_7b[i];
1079  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_7[i] = dPhiTable_7b[i];
1080 
1081  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_7[i] = dPhiTable_7b[i];
1082  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_7[i] = dPhiTable_7b[i];
1083  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_7[i] = dPhiTable_7b[i];
1084  }
1085 
1086  // 8-bit words
1087  for (int i = 0; i < 512; i++)
1088  {
1089  sp_2012_01_31_.spvpp_ptu2a_comp_dphi_8[i] = dPhiTable_8b[i];
1090  sp_2012_01_31_.spvpp_ptu2b_comp_dphi_8[i] = dPhiTable_8b[i];
1091  sp_2012_01_31_.spvpp_ptu2c_comp_dphi_8[i] = dPhiTable_8b[i];
1092 
1093  sp_2012_01_31_.spvpp_ptu3a_comp_dphi_8[i] = dPhiTable_8b[i];
1094  sp_2012_01_31_.spvpp_ptu3b_comp_dphi_8[i] = dPhiTable_8b[i];
1095  sp_2012_01_31_.spvpp_ptu3c_comp_dphi_8[i] = dPhiTable_8b[i];
1096 
1097  sp_2012_01_31_.spvpp_ptu4a_comp_dphi_8[i] = dPhiTable_8b[i];
1098  sp_2012_01_31_.spvpp_ptu4b_comp_dphi_8[i] = dPhiTable_8b[i];
1099  sp_2012_01_31_.spvpp_ptu4c_comp_dphi_8[i] = dPhiTable_8b[i];
1100  }
1101 
1102 }
int i
Definition: DBlmapReader.cc:9
static vpp_generated_2012_01_31 sp_2012_01_31_
void CSCTFSPCoreLogic::SetSPFirmwareVersion ( const unsigned int  fwVer)
inline

Definition at line 109 of file CSCTFSPCoreLogic.h.

References spFirmwareVersion.

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

Definition at line 115 of file CSCTFSPCoreLogic.h.

References verboseCore.

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

Definition at line 1105 of file CSCTFSPCoreLogic.cc.

References mytracks.

Referenced by CSCTFSectorProcessor::run().

1106 {
1107  return mytracks;
1108 }
CSCTriggerContainer< csc::L1Track > mytracks

Member Data Documentation

unsigned int CSCTFSPCoreLogic::coreFirmwareVersion
private

Definition at line 134 of file CSCTFSPCoreLogic.h.

Referenced by GetCoreFirmwareVersion(), and SetCoreFirmwareVersion().

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

Definition at line 130 of file CSCTFSPCoreLogic.h.

Referenced by loadData(), and run().

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

Definition at line 132 of file CSCTFSPCoreLogic.h.

Referenced by run(), and tracks().

bool CSCTFSPCoreLogic::runme
private

Definition at line 131 of file CSCTFSPCoreLogic.h.

Referenced by loadData(), and run().

vpp_generated_2010_01_22 CSCTFSPCoreLogic::sp_2010_01_22_
staticprivate

Definition at line 120 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_07_28 CSCTFSPCoreLogic::sp_2010_07_28_
staticprivate

Definition at line 121 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_09_01 CSCTFSPCoreLogic::sp_2010_09_01_
staticprivate

Definition at line 122 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_10_11 CSCTFSPCoreLogic::sp_2010_10_11_
staticprivate

Definition at line 123 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_12_10 CSCTFSPCoreLogic::sp_2010_12_10_
staticprivate

Definition at line 124 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2011_01_18 CSCTFSPCoreLogic::sp_2011_01_18_
staticprivate

Definition at line 125 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2012_01_31 CSCTFSPCoreLogic::sp_2012_01_31_
staticprivate

Definition at line 126 of file CSCTFSPCoreLogic.h.

Referenced by run(), and setNLBTables().

vpp_generated_2012_03_13 CSCTFSPCoreLogic::sp_2012_03_13_
staticprivate

Definition at line 127 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2012_07_30 CSCTFSPCoreLogic::sp_2012_07_30_
staticprivate

Definition at line 128 of file CSCTFSPCoreLogic.h.

Referenced by run().

unsigned int CSCTFSPCoreLogic::spFirmwareVersion
private

Definition at line 133 of file CSCTFSPCoreLogic.h.

Referenced by GetSPFirmwareVersion(), and SetSPFirmwareVersion().

bool CSCTFSPCoreLogic::verboseCore
private

Definition at line 135 of file CSCTFSPCoreLogic.h.

Referenced by IsVerbose(), and SetVerbose().