21 const char subsystem_names[][4] = {
"DT",
"CSC",
"RPC",
"GEM"};
27 const int segment_number):
50 const int theta_bti_group):
74 const int theta_bti_group):
143 const unsigned strip,
144 const unsigned layer,
238 this->_csc.bx == tp.
_csc.
bx &&
240 this->_csc.bx0 == tp.
_csc.
bx0 &&
247 this->_rpc.bx == tp.
_rpc.
bx &&
250 this->_gem.pad == tp.
_gem.
pad &&
253 this->_gem.bx == tp.
_gem.
bx &&
256 this->_id == tp.
_id &&
274 <<
"The specified subsystem for this track stub is out of range" 292 <<
"The specified subsystem for this track stub is out of range" 310 <<
"The specified subsystem for this track stub is out of range" 328 <<
"The specified subsystem for this track stub is out of range" 336 out << subsystem_names[
idx] <<
" Trigger Primitive" << std::endl;
337 out <<
"eta: " <<
_eta <<
" phi: " <<
_phi <<
" rho: " <<
_rho 338 <<
" theta: " <<
_theta << std::endl;
341 out << detId<DTChamberId>() << std::endl;
342 out <<
"Local BX : " <<
_dt.
bx << std::endl;
354 out << detId<CSCDetId>() << std::endl;
355 out <<
"Local BX : " <<
_csc.
bx << std::endl;
356 out <<
"Segment Nmb : " <<
_csc.
trknmb << std::endl;
357 out <<
"Segment Valid : " <<
_csc.
valid << std::endl;
358 out <<
"Quality Code : " <<
_csc.
quality << std::endl;
359 out <<
"Key Wire Grp : " <<
_csc.
keywire << std::endl;
360 out <<
"Half-Strip : " <<
_csc.
strip << std::endl;
361 out <<
"CLCT Pattern : " <<
_csc.
pattern << std::endl;
362 out <<
"Packed Bend : " <<
_csc.
bend << std::endl;
364 out <<
"BX0 : " <<
_csc.
bx0 << std::endl;
365 out <<
"Sync Error : " <<
_csc.
syncErr << std::endl;
366 out <<
"CSCID : " <<
_csc.
cscID << std::endl;
369 out << detId<RPCDetId>() << std::endl;
370 out <<
"Local BX : " <<
_rpc.
bx << std::endl;
371 out <<
"Strip : " <<
_rpc.
strip << std::endl;
374 out <<
"Layer : " <<
_rpc.
layer << std::endl;
375 out <<
"Valid : " <<
_rpc.
valid << std::endl;
376 out <<
"Time : " <<
_rpc.
time << std::endl;
380 out << detId<GEMDetId>() << std::endl;
382 out << detId<ME0DetId>() << std::endl;
383 out <<
"Local BX : " <<
_gem.
bx << std::endl;
384 out <<
"Pad : " <<
_gem.
pad << std::endl;
386 out <<
"Pad High : " <<
_gem.
pad_hi << std::endl;
387 out <<
"Packed Bend : " <<
_gem.
bend << std::endl;
388 out <<
"Is ME0 : " <<
_gem.
isME0 << std::endl;
392 <<
"The specified subsystem for this track stub is out of range" int getQuality() const
return quality of a pattern (number of layers hit!)
TriggerPrimitive & operator=(const TriggerPrimitive &tp)
bool operator==(const TriggerPrimitive &tp) const
int quality(const int i) const
subsystem_type _subsystem
int position(const int i) const
const int getStrip() const
void calculateGlobalSector(const IDType &chid, unsigned &globalsector, unsigned &subsector)
const int getPattern() const
int getQuality() const
return quality of a pattern
int code(const int i) const
const int getWire() const
void print(std::ostream &) const