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 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_
 

Detailed Description

Definition at line 25 of file CSCTFSPCoreLogic.h.

Constructor & Destructor Documentation

CSCTFSPCoreLogic::CSCTFSPCoreLogic ( )
inline

Definition at line 70 of file CSCTFSPCoreLogic.h.

70  : runme(false),
72  verboseCore(false){}
unsigned int spFirmwareVersion
unsigned int coreFirmwareVersion

Member Function Documentation

unsigned int CSCTFSPCoreLogic::GetCoreFirmwareVersion ( )
inline

Definition at line 108 of file CSCTFSPCoreLogic.h.

References coreFirmwareVersion.

Referenced by run().

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

Definition at line 105 of file CSCTFSPCoreLogic.h.

References spFirmwareVersion.

Referenced by loadData().

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

Definition at line 111 of file CSCTFSPCoreLogic.h.

References verboseCore.

Referenced by run().

111 { 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 20 of file CSCTFSPCoreLogic.cc.

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

Referenced by CSCTFSectorProcessor::run().

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

Referenced by CSCTFSectorProcessor::run().

301 {
302  mytracks.clear();
303 
304  int train_length = io_.size();
305  int bx = 0;
306  io_.resize(train_length + latency);
307  std::vector<SPio>::iterator io;
308 
309  // run over enough clock cycles to get tracks from input stubs.
310  for( io = io_.begin(); io != io_.end() && runme; io++)
311  {
312 
313 
314  switch(this->GetCoreFirmwareVersion()) {
315  case 20100122:
317  (
318  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp,
319  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp,
320  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp,
321 
322  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp,
323  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp,
324  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp,
325 
326  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
327  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
328  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
329 
330  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
331  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
332  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
333 
334  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
335  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
336  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
337 
338  io->mb1aVp, io->mb1aQp, io->mb1aPhip,
339  io->mb1bVp, io->mb1bQp, io->mb1bPhip,
340  io->mb1cVp, io->mb1cQp, io->mb1cPhip,
341  io->mb1dVp, io->mb1dQp, io->mb1dPhip,
342 
343  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
344  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
345  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
346 
347  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
348  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
349  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
350 
351  etamin1,etamin2,etamin3,etamin4,etamin5,etamin6,etamin7,etamin8,
352  etamax1,etamax2,etamax3,etamax4,etamax5,etamax6,etamax7,etamax8,
353  etawin1, etawin2, etawin3, etawin4, etawin5, etawin6, etawin7,
354  mindphip, mindetap,
355 
356  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
357  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
358 
359  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
360  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
361  mindphip_halo, mindetap_halo,
362 
363  straightp, curvedp,
364  mbaPhiOff, mbbPhiOff,
365  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
366  );
367 
368  break;
369  case 20100728:
371  (
372  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp,
373  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp,
374  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp,
375 
376  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp,
377  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp,
378  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp,
379 
380  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
381  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
382  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
383 
384  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
385  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
386  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
387 
388  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
389  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
390  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
391 
392  io->mb1aVp, io->mb1aQp, io->mb1aPhip,
393  io->mb1bVp, io->mb1bQp, io->mb1bPhip,
394  io->mb1cVp, io->mb1cQp, io->mb1cPhip,
395  io->mb1dVp, io->mb1dQp, io->mb1dPhip,
396 
397  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
398  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
399  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
400 
401  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
402  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
403  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
404 
405  etamin1,etamin2,etamin3,etamin4,etamin5,etamin6,etamin7,etamin8,
406  etamax1,etamax2,etamax3,etamax4,etamax5,etamax6,etamax7,etamax8,
407  etawin1, etawin2, etawin3, etawin4, etawin5, etawin6, etawin7,
408  mindphip, mindetap,
409 
410  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
411  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
412 
413  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
414  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
415  mindphip_halo, mindetap_halo,
416 
417  straightp, curvedp,
418  mbaPhiOff, mbbPhiOff,
419  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
420  );
421  break;
422  case 20100901:
424  (
425  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp,
426  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp,
427  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp,
428 
429  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp,
430  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp,
431  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp,
432 
433  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
434  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
435  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
436 
437  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
438  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
439  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
440 
441  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
442  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
443  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
444 
445  io->mb1aVp, io->mb1aQp, io->mb1aPhip,
446  io->mb1bVp, io->mb1bQp, io->mb1bPhip,
447  io->mb1cVp, io->mb1cQp, io->mb1cPhip,
448  io->mb1dVp, io->mb1dQp, io->mb1dPhip,
449 
450  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
451  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
452  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
453 
454  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
455  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
456  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
457 
458  etamin1,etamin2,etamin3,etamin4,etamin5,etamin6,etamin7,etamin8,
459  etamax1,etamax2,etamax3,etamax4,etamax5,etamax6,etamax7,etamax8,
460  etawin1, etawin2, etawin3, etawin4, etawin5, etawin6, etawin7,
461  mindphip, mindetap,
462 
463  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
464  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
465 
466  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
467  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
468  mindphip_halo, mindetap_halo,
469 
470  straightp, curvedp,
471  mbaPhiOff, mbbPhiOff,
472  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
473  );
474  break;
475 
476  case 20101011:
478  (
479  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp,
480  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp,
481  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp,
482 
483  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp,
484  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp,
485  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp,
486 
487  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
488  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
489  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
490 
491  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
492  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
493  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
494 
495  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
496  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
497  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
498 
499  io->mb1aVp, io->mb1aQp, io->mb1aPhip,
500  io->mb1bVp, io->mb1bQp, io->mb1bPhip,
501  io->mb1cVp, io->mb1cQp, io->mb1cPhip,
502  io->mb1dVp, io->mb1dQp, io->mb1dPhip,
503 
504  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
505  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
506  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
507 
508  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
509  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
510  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
511 
512  etamin1,etamin2,etamin3,etamin4,etamin5,/*etamin6,*/etamin7,etamin8,
513  etamax1,etamax2,etamax3,etamax4,etamax5,/*etamax6,*/etamax7,etamax8,
514  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
515  mindphip, mindetap,
516 
517  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
518  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
519 
520  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
521  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
522  mindphip_halo, mindetap_halo,
523 
524  straightp, curvedp,
525  mbaPhiOff, mbbPhiOff,
526  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
527  );
528  break;
529 
530 
531  case 20101210:
533  (
534  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp,
535  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp,
536  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp,
537 
538  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp,
539  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp,
540  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp,
541 
542  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
543  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
544  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
545 
546  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
547  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
548  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
549 
550  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
551  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
552  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
553 
554  io->mb1aVp, io->mb1aQp, io->mb1aPhip,
555  io->mb1bVp, io->mb1bQp, io->mb1bPhip,
556  io->mb1cVp, io->mb1cQp, io->mb1cPhip,
557  io->mb1dVp, io->mb1dQp, io->mb1dPhip,
558 
559  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
560  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
561  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
562 
563  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
564  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
565  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
566 
567  etamin1,etamin2,etamin3,etamin4,etamin5,/*etamin6,*/etamin7,etamin8,
568  etamax1,etamax2,etamax3,etamax4,etamax5,/*etamax6,*/etamax7,etamax8,
569  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
570  mindphip, mindetap,
571 
572  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
573  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
574 
575  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
576  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
577  mindphip_halo, mindetap_halo,
578 
579  straightp, curvedp,
580  mbaPhiOff, mbbPhiOff,
581  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
582  );
583  break;
584 
585  case 20110118:
587  (
588  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp, io->me1aCLCTp,
589  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp, io->me1bCLCTp,
590  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp, io->me1cCLCTp,
591 
592  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp, io->me1dCLCTp,
593  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp, io->me1eCLCTp,
594  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp, io->me1fCLCTp,
595 
596  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
597  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
598  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
599 
600  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
601  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
602  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
603 
604  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
605  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
606  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
607 
608  io->mb1aVp, io->mb1aQp, io->mb1aPhip, io->mb1aBendp,
609  io->mb1bVp, io->mb1bQp, io->mb1bPhip, io->mb1bBendp,
610  io->mb1cVp, io->mb1cQp, io->mb1cPhip, io->mb1cBendp,
611  io->mb1dVp, io->mb1dQp, io->mb1dPhip, io->mb1dBendp,
612 
613  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
614  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
615  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
616 
617  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
618  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
619  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
620 
621  etamin1,etamin2,etamin3,etamin4,etamin5,/*etamin6,*/etamin7,etamin8,
622  etamax1,etamax2,etamax3,etamax4,etamax5,/*etamax6,*/etamax7,etamax8,
623  etawin1, etawin2, etawin3, etawin4, etawin5, /*etawin6,*/ etawin7,
624  mindphip, mindetap,
625 
626  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
627  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
628 
629  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
630  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
631  mindphip_halo, mindetap_halo,
632 
633  straightp, curvedp,
634  mbaPhiOff, mbbPhiOff,
635  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi)
636  );
637  break;
638 
639  default:
640  edm::LogInfo("CSCSTFSPCoreLogic") << "Warning: using the default core is what you want?"
641  << " Core version is " << this->GetCoreFirmwareVersion();
643  (
644  io->me1aVp, io->me1aQp, io->me1aEtap, io->me1aPhip, io->me1aCSCIdp,
645  io->me1bVp, io->me1bQp, io->me1bEtap, io->me1bPhip, io->me1bCSCIdp,
646  io->me1cVp, io->me1cQp, io->me1cEtap, io->me1cPhip, io->me1cCSCIdp,
647 
648  io->me1dVp, io->me1dQp, io->me1dEtap, io->me1dPhip, io->me1dCSCIdp,
649  io->me1eVp, io->me1eQp, io->me1eEtap, io->me1ePhip, io->me1eCSCIdp,
650  io->me1fVp, io->me1fQp, io->me1fEtap, io->me1fPhip, io->me1fCSCIdp,
651 
652  io->me2aVp, io->me2aQp, io->me2aEtap, io->me2aPhip,
653  io->me2bVp, io->me2bQp, io->me2bEtap, io->me2bPhip,
654  io->me2cVp, io->me2cQp, io->me2cEtap, io->me2cPhip,
655 
656  io->me3aVp, io->me3aQp, io->me3aEtap, io->me3aPhip,
657  io->me3bVp, io->me3bQp, io->me3bEtap, io->me3bPhip,
658  io->me3cVp, io->me3cQp, io->me3cEtap, io->me3cPhip,
659 
660  io->me4aVp, io->me4aQp, io->me4aEtap, io->me4aPhip,
661  io->me4bVp, io->me4bQp, io->me4bEtap, io->me4bPhip,
662  io->me4cVp, io->me4cQp, io->me4cEtap, io->me4cPhip,
663 
664  io->mb1aVp, io->mb1aQp, io->mb1aPhip,
665  io->mb1bVp, io->mb1bQp, io->mb1bPhip,
666  io->mb1cVp, io->mb1cQp, io->mb1cPhip,
667  io->mb1dVp, io->mb1dQp, io->mb1dPhip,
668 
669  io->ptHp, io->signHp, io->modeMemHp, io->etaPTHp, io->FRHp, io->phiHp,
670  io->ptMp, io->signMp, io->modeMemMp, io->etaPTMp, io->FRMp, io->phiMp,
671  io->ptLp, io->signLp, io->modeMemLp, io->etaPTLp, io->FRLp, io->phiLp,
672 
673  io->me1idH, io->me2idH, io->me3idH, io->me4idH, io->mb1idH, io->mb2idH,
674  io->me1idM, io->me2idM, io->me3idM, io->me4idM, io->mb1idM, io->mb2idM,
675  io->me1idL, io->me2idL, io->me3idL, io->me4idL, io->mb1idL, io->mb2idL,
676 
677  etamin1,etamin2,etamin3,etamin4,etamin5,etamin6,etamin7,etamin8,
678  etamax1,etamax2,etamax3,etamax4,etamax5,etamax6,etamax7,etamax8,
679  etawin1, etawin2, etawin3, etawin4, etawin5, etawin6, etawin7,
680  mindphip, mindetap,
681 
682  mindeta12_accp, maxdeta12_accp, maxdphi12_accp,
683  mindeta13_accp, maxdeta13_accp, maxdphi13_accp,
684 
685  mindeta112_accp, maxdeta112_accp, maxdphi112_accp,
686  mindeta113_accp, maxdeta113_accp, maxdphi113_accp,
687  mindphip_halo, mindetap_halo,
688 
689  straightp, curvedp,
690  mbaPhiOff, mbbPhiOff,
691  (m_preTrigger<<7)|(m_allowCLCTonly<<5)|(m_allowALCTonly<<4)|(m_extend_length<<1)|(m_widePhi));
692  break;
693 
694  }
695 
696  if ( IsVerbose() ) {
697  std::cout << "Core Verbose Output For Debugging\n";
698  std::cout << io->me1aVp << " " << io->me1aQp << " " << io->me1aEtap << " " << io->me1aPhip << " " << io->me1aCSCIdp << " " << io->me1aCLCTp << std::endl;
699  std::cout << io->me1bVp << " " << io->me1bQp << " " << io->me1bEtap << " " << io->me1bPhip << " " << io->me1bCSCIdp << " " << io->me1bCLCTp << std::endl;
700  std::cout << io->me1cVp << " " << io->me1cQp << " " << io->me1cEtap << " " << io->me1cPhip << " " << io->me1cCSCIdp << " " << io->me1cCLCTp << std::endl;
701 
702  std::cout << io->me1dVp << " " << io->me1dQp << " " << io->me1dEtap << " " << io->me1dPhip << " " << io->me1dCSCIdp << " " << io->me1dCLCTp << std::endl;
703  std::cout << io->me1eVp << " " << io->me1eQp << " " << io->me1eEtap << " " << io->me1ePhip << " " << io->me1eCSCIdp << " " << io->me1eCLCTp << std::endl;
704  std::cout << io->me1fVp << " " << io->me1fQp << " " << io->me1fEtap << " " << io->me1fPhip << " " << io->me1fCSCIdp << " " << io->me1fCLCTp << std::endl;
705 
706  std::cout << io->me2aVp << " " << io->me2aQp << " " << io->me2aEtap << " " << io->me2aPhip << " " << 0 << " " << 0 << std::endl;
707  std::cout << io->me2bVp << " " << io->me2bQp << " " << io->me2bEtap << " " << io->me2bPhip << " " << 0 << " " << 0 << std::endl;
708  std::cout << io->me2cVp << " " << io->me2cQp << " " << io->me2cEtap << " " << io->me2cPhip << " " << 0 << " " << 0 << std::endl;
709 
710  std::cout << io->me3aVp << " " << io->me3aQp << " " << io->me3aEtap << " " << io->me3aPhip << " " << 0 << " " << 0 << std::endl;
711  std::cout << io->me3bVp << " " << io->me3bQp << " " << io->me3bEtap << " " << io->me3bPhip << " " << 0 << " " << 0 << std::endl;
712  std::cout << io->me3cVp << " " << io->me3cQp << " " << io->me3cEtap << " " << io->me3cPhip << " " << 0 << " " << 0 << std::endl;
713 
714  std::cout << io->me4aVp << " " << io->me4aQp << " " << io->me4aEtap << " " << io->me4aPhip << " " << 0 << " " << 0 << std::endl;
715  std::cout << io->me4bVp << " " << io->me4bQp << " " << io->me4bEtap << " " << io->me4bPhip << " " << 0 << " " << 0 << std::endl;
716  std::cout << io->me4cVp << " " << io->me4cQp << " " << io->me4cEtap << " " << io->me4cPhip << " " << 0 << " " << 0 << std::endl;
717 
718  std::cout << io->mb1aVp << " " << io->mb1aQp << " " << 0 << " " << io->mb1aPhip <<" " << 0 << " " << io->mb1aBendp << std::endl;
719  std::cout << io->mb1bVp << " " << io->mb1bQp << " " << 0 << " " << io->mb1bPhip <<" " << 0 << " " << io->mb1bBendp << std::endl;
720  std::cout << io->mb1cVp << " " << io->mb1cQp << " " << 0 << " " << 0/*io->mb1cPhip*/ <<" " << 0 << " " << 0/*io->mb1aBendp*/ << std::endl;
721  std::cout << io->mb1dVp << " " << io->mb1dQp << " " << 0 << " " << 0/*io->mb1dPhip*/ <<" " << 0 << " " << 0/*io->mb1aBendp*/ << std::endl;
722 
723  std::cout << io->ptHp << " " << io->signHp << " " << io->modeMemHp << " " << io->etaPTHp << " " << io->FRHp << " " << io->phiHp << std::endl;
724  std::cout << io->ptMp << " " << io->signMp << " " << io->modeMemMp << " " << io->etaPTMp << " " << io->FRMp << " " << io->phiMp << std::endl;
725  std::cout << io->ptLp << " " << io->signLp << " " << io->modeMemLp << " " << io->etaPTLp << " " << io->FRLp << " " << io->phiLp << std::endl;
726 
727  std::cout << io->me1idH << " " << io->me2idH << " " << io->me3idH << " " << io->me4idH << " " << io->mb1idH << " " << io->mb2idH << std::endl;
728  std::cout << io->me1idM << " " << io->me2idM << " " << io->me3idM << " " << io->me4idM << " " << io->mb1idM << " " << io->mb2idM << std::endl;
729  std::cout << io->me1idL << " " << io->me2idL << " " << io->me3idL << " " << io->me4idL << " " << io->mb1idL << " " << io->mb2idL << std::endl << std::endl;
730  }
731  ++bx;
732  }
733 
734 
735  bx = 0;
736 
737  //int nmuons = 0;
738  // start from where tracks could first possibly appear
739  // read out tracks from io_
740  // We add first +1 to the starting position because the CSC data started 1 BX after DT,
741  // and the other +1 because of the number of calls to the core (i.e. latency+1):
742  for(io = io_.begin() + latency + 1 + 1; io != io_.end(); io++)
743  {
744  csc::L1TrackId trkHid(endcap, sector), trkMid(endcap, sector), trkLid(endcap, sector);
745  trkHid.setMode(io->modeMemHp);
746  trkMid.setMode(io->modeMemMp);
747  trkLid.setMode(io->modeMemLp);
748 
749  csc::L1Track trkH(trkHid), trkM(trkMid), trkL(trkLid);
750 
751  ptadd LUTAddressH, LUTAddressM, LUTAddressL;
752 
753  // construct PT LUT address for all possible muons
754  LUTAddressH.delta_phi_12 = io->ptHp & 0xff;
755  LUTAddressH.delta_phi_23 = (io->ptHp >> 8) & 0xf;
756  LUTAddressH.track_eta = (io->etaPTHp>>1) & 0xf;
757  LUTAddressH.track_mode = io->modeMemHp & 0xf;
758 // Line Replaced due to removal of spbits.h, note that
759 // BWPT and MODE_ACC are now hard coded (13 and 15 respectively)
760 // LUTAddressH.delta_phi_sign = (io->ptHp >> (BWPT-1)) & 0x1;
761  LUTAddressH.delta_phi_sign = (io->ptHp >> (13-1)) & 0x1;
762  LUTAddressH.track_fr = io->FRHp & 0x1;
763 
764  LUTAddressM.delta_phi_12 = io->ptMp & 0xff;
765  LUTAddressM.delta_phi_23 = (io->ptMp >> 8) & 0xf;
766  LUTAddressM.track_eta = (io->etaPTMp>>1) & 0xf;
767  LUTAddressM.track_mode = io->modeMemMp & 0xf;
768 // LUTAddressM.delta_phi_sign = (io->ptMp >> (BWPT-1)) & 0x1;
769  LUTAddressM.delta_phi_sign = (io->ptMp >> (13-1)) & 0x1;
770  LUTAddressM.track_fr = io->FRMp & 0x1;
771 
772  LUTAddressL.delta_phi_12 = io->ptLp & 0xff;
773  LUTAddressL.delta_phi_23 = (io->ptLp >> 8) & 0xf;
774  LUTAddressL.track_eta = (io->etaPTLp>>1) & 0xf;
775  LUTAddressL.track_mode = io->modeMemLp & 0xf;
776 // LUTAddressL.delta_phi_sign = (io->ptLp >> (BWPT-1)) & 0x1;
777  LUTAddressL.delta_phi_sign = (io->ptLp >> (13-1)) & 0x1;
778  LUTAddressL.track_fr = io->FRLp & 0x1;
779 
780  // Core's input was loaded in a relative time window starting from BX=1(CSC)/0(DT)
781  // If we account for latency related shift in the core's output (as we do in this loop)
782  // then output tracks appear in the same BX as input stubs.
783  // To create new time window with perfectly timed-in tracks placed at BX=0 we introduce a shift:
784  int shift = (maxBX - minBX)/2;
785 
786  if(LUTAddressH.track_mode)
787  {
788  trkH.setPtLUTAddress(LUTAddressH.toint());
789  trkH.setChargePacked(~(io->signHp)&0x1);
790  trkH.setLocalPhi(io->phiHp);
791  trkH.setEtaPacked(io->etaPTHp);
792  trkH.setBx((int)(bx)-shift);
793  trkH.setStationIds(io->me1idH&0x7, io->me2idH&0x3, io->me3idH&0x3, io->me4idH&0x3, io->mb1idH&0x3 );
794  trkH.setTbins (io->me1idH>>3, io->me2idH>>2, io->me3idH>>2, io->me4idH>>2, io->mb1idH>>2 );
795  trkH.setOutputLink(1);
796  if( LUTAddressH.track_mode==15 ) trkH.setFineHaloPacked(1);
797  mytracks.push_back(trkH);
798  }
799  if(LUTAddressM.track_mode)
800  {
801  trkM.setPtLUTAddress(LUTAddressM.toint());
802  trkM.setChargePacked(~(io->signMp)&0x1);
803  trkM.setLocalPhi(io->phiMp);
804  trkM.setEtaPacked(io->etaPTMp);
805  trkM.setBx((int)(bx)-shift);
806  trkM.setStationIds(io->me1idM&0x7, io->me2idM&0x3, io->me3idM&0x3, io->me4idM&0x3, io->mb1idM&0x3 );
807  trkM.setTbins (io->me1idM>>3, io->me2idM>>2, io->me3idM>>2, io->me4idM>>2, io->mb1idM>>2 );
808  trkM.setOutputLink(2);
809  if( LUTAddressM.track_mode==15 ) trkM.setFineHaloPacked(1);
810  mytracks.push_back(trkM);
811  }
812  if(LUTAddressL.track_mode)
813  {
814  trkL.setPtLUTAddress(LUTAddressL.toint());
815  trkL.setChargePacked(~(io->signLp)&0x1);
816  trkL.setLocalPhi(io->phiLp);
817  trkL.setEtaPacked(io->etaPTLp);
818  trkL.setBx((int)(bx)-shift);
819  trkL.setStationIds(io->me1idL&0x7, io->me2idL&0x3, io->me3idL&0x3, io->me4idL&0x3, io->mb1idL&0x3 );
820  trkL.setTbins (io->me1idL>>3, io->me2idL>>2, io->me3idL>>2, io->me4idL>>2, io->mb1idL>>2 );
821  trkL.setOutputLink(3);
822  if( LUTAddressL.track_mode==15 ) trkL.setFineHaloPacked(1);
823  mytracks.push_back(trkL);
824  }
825  ++bx;
826  }
827  return runme;
828 }
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_
void push_back(const T data)
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 &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)
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)
unsigned int GetCoreFirmwareVersion()
class pt_address ptadd
static unsigned int const shift
tuple cout
Definition: gather_cfg.py:41
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)
void CSCTFSPCoreLogic::SetCoreFirmwareVersion ( const unsigned int  fwVer)
inline

Definition at line 107 of file CSCTFSPCoreLogic.h.

References coreFirmwareVersion.

107 {coreFirmwareVersion=fwVer; }
unsigned int coreFirmwareVersion
void CSCTFSPCoreLogic::SetSPFirmwareVersion ( const unsigned int  fwVer)
inline

Definition at line 104 of file CSCTFSPCoreLogic.h.

References spFirmwareVersion.

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

Definition at line 110 of file CSCTFSPCoreLogic.h.

References verboseCore.

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

Definition at line 830 of file CSCTFSPCoreLogic.cc.

References mytracks.

Referenced by CSCTFSectorProcessor::run().

831 {
832  return mytracks;
833 }
CSCTriggerContainer< csc::L1Track > mytracks

Member Data Documentation

unsigned int CSCTFSPCoreLogic::coreFirmwareVersion
private

Definition at line 124 of file CSCTFSPCoreLogic.h.

Referenced by GetCoreFirmwareVersion(), and SetCoreFirmwareVersion().

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

Definition at line 120 of file CSCTFSPCoreLogic.h.

Referenced by loadData(), and run().

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

Definition at line 122 of file CSCTFSPCoreLogic.h.

Referenced by run(), and tracks().

bool CSCTFSPCoreLogic::runme
private

Definition at line 121 of file CSCTFSPCoreLogic.h.

Referenced by loadData(), and run().

vpp_generated_2010_01_22 CSCTFSPCoreLogic::sp_2010_01_22_
staticprivate

Definition at line 114 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_07_28 CSCTFSPCoreLogic::sp_2010_07_28_
staticprivate

Definition at line 115 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_09_01 CSCTFSPCoreLogic::sp_2010_09_01_
staticprivate

Definition at line 116 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_10_11 CSCTFSPCoreLogic::sp_2010_10_11_
staticprivate

Definition at line 117 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2010_12_10 CSCTFSPCoreLogic::sp_2010_12_10_
staticprivate

Definition at line 118 of file CSCTFSPCoreLogic.h.

Referenced by run().

vpp_generated_2011_01_18 CSCTFSPCoreLogic::sp_2011_01_18_
staticprivate

Definition at line 119 of file CSCTFSPCoreLogic.h.

Referenced by run().

unsigned int CSCTFSPCoreLogic::spFirmwareVersion
private

Definition at line 123 of file CSCTFSPCoreLogic.h.

Referenced by GetSPFirmwareVersion(), and SetSPFirmwareVersion().

bool CSCTFSPCoreLogic::verboseCore
private

Definition at line 125 of file CSCTFSPCoreLogic.h.

Referenced by IsVerbose(), and SetVerbose().