22 const char subsystem_names[][4] = {
"DT",
"CSC",
"RPC",
"GEM"};
28 const int segment_number):
51 const int theta_bti_group):
75 const int theta_bti_group):
147 const unsigned strip,
148 const unsigned layer,
263 this->_csc.bx == tp.
_csc.
bx &&
265 this->_csc.bx0 == tp.
_csc.
bx0 &&
275 this->_rpc.bx == tp.
_rpc.
bx &&
279 this->_gem.pad == tp.
_gem.
pad &&
282 this->_gem.bx == tp.
_gem.
bx &&
285 this->_id == tp.
_id &&
303 <<
"The specified subsystem for this track stub is out of range" 321 <<
"The specified subsystem for this track stub is out of range" 339 <<
"The specified subsystem for this track stub is out of range" 357 <<
"The specified subsystem for this track stub is out of range" 365 out << subsystem_names[
idx] <<
" Trigger Primitive" << std::endl;
366 out <<
"eta: " <<
_eta <<
" phi: " <<
_phi <<
" rho: " <<
_rho 367 <<
" theta: " <<
_theta << std::endl;
370 out << detId<DTChamberId>() << std::endl;
371 out <<
"Local BX : " <<
_dt.
bx << std::endl;
383 out << detId<CSCDetId>() << std::endl;
384 out <<
"Local BX : " <<
_csc.
bx << std::endl;
385 out <<
"Segment Nmb : " <<
_csc.
trknmb << std::endl;
386 out <<
"Segment Valid : " <<
_csc.
valid << std::endl;
387 out <<
"Quality Code : " <<
_csc.
quality << std::endl;
388 out <<
"Key Wire Grp : " <<
_csc.
keywire << std::endl;
389 out <<
"Half-Strip : " <<
_csc.
strip << std::endl;
390 out <<
"CLCT Pattern : " <<
_csc.
pattern << std::endl;
391 out <<
"Packed Bend : " <<
_csc.
bend << std::endl;
393 out <<
"BX0 : " <<
_csc.
bx0 << std::endl;
394 out <<
"Sync Error : " <<
_csc.
syncErr << std::endl;
395 out <<
"CSCID : " <<
_csc.
cscID << std::endl;
398 out << detId<RPCDetId>() << std::endl;
399 out <<
"Local BX : " <<
_rpc.
bx << std::endl;
400 out <<
"Strip : " <<
_rpc.
strip << std::endl;
403 out <<
"Integer phi : " <<
_rpc.
phi_int << std::endl;
406 out <<
"Layer : " <<
_rpc.
layer << std::endl;
407 out <<
"Valid : " <<
_rpc.
valid << std::endl;
408 out <<
"Time : " <<
_rpc.
time << std::endl;
409 out <<
"IsCPPF : " <<
_rpc.
isCPPF << std::endl;
413 out << detId<GEMDetId>() << std::endl;
415 out << detId<ME0DetId>() << std::endl;
416 out <<
"Local BX : " <<
_gem.
bx << std::endl;
417 out <<
"Pad : " <<
_gem.
pad << std::endl;
419 out <<
"Pad High : " <<
_gem.
pad_hi << std::endl;
420 out <<
"Packed Bend : " <<
_gem.
bend << std::endl;
421 out <<
"Is ME0 : " <<
_gem.
isME0 << std::endl;
425 <<
"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