22 const char subsystem_names[][4] = {
"DT",
"CSC",
"RPC",
"GEM"};
28 const int segment_number)
50 const int theta_bti_group)
73 const int theta_bti_group)
260 <<
"The specified subsystem for this track stub is out of range" << std::endl;
277 <<
"The specified subsystem for this track stub is out of range" << std::endl;
294 <<
"The specified subsystem for this track stub is out of range" << std::endl;
311 <<
"The specified subsystem for this track stub is out of range" << std::endl;
318 out << subsystem_names[
idx] <<
" Trigger Primitive" << std::endl;
319 out <<
"eta: " <<
_eta <<
" phi: " <<
_phi <<
" rho: " <<
_rho <<
" theta: " <<
_theta << std::endl;
322 out << detId<DTChamberId>() << std::endl;
323 out <<
"Local BX : " <<
_dt.
bx << std::endl;
335 out << detId<CSCDetId>() << std::endl;
336 out <<
"Local BX : " <<
_csc.
bx << std::endl;
337 out <<
"Segment Nmb : " <<
_csc.
trknmb << std::endl;
338 out <<
"Segment Valid : " <<
_csc.
valid << std::endl;
339 out <<
"Quality Code : " <<
_csc.
quality << std::endl;
340 out <<
"Key Wire Grp : " <<
_csc.
keywire << std::endl;
341 out <<
"Half-Strip : " <<
_csc.
strip << std::endl;
342 out <<
"CLCT Pattern : " <<
_csc.
pattern << std::endl;
343 out <<
"Packed Bend : " <<
_csc.
bend << std::endl;
345 out <<
"BX0 : " <<
_csc.
bx0 << std::endl;
346 out <<
"Sync Error : " <<
_csc.
syncErr << std::endl;
347 out <<
"CSCID : " <<
_csc.
cscID << std::endl;
350 out << detId<RPCDetId>() << std::endl;
351 out <<
"Local BX : " <<
_rpc.
bx << std::endl;
352 out <<
"Strip : " <<
_rpc.
strip << std::endl;
355 out <<
"Integer phi : " <<
_rpc.
phi_int << std::endl;
358 out <<
"Layer : " <<
_rpc.
layer << std::endl;
359 out <<
"Valid : " <<
_rpc.
valid << std::endl;
360 out <<
"Time : " <<
_rpc.
time << std::endl;
361 out <<
"IsCPPF : " <<
_rpc.
isCPPF << std::endl;
365 out << detId<GEMDetId>() << std::endl;
367 out << detId<ME0DetId>() << std::endl;
368 out <<
"Local BX : " <<
_gem.
bx << std::endl;
369 out <<
"Pad : " <<
_gem.
pad << std::endl;
371 out <<
"Pad High : " <<
_gem.
pad_hi << std::endl;
372 out <<
"Packed Bend : " <<
_gem.
bend << std::endl;
373 out <<
"Is ME0 : " <<
_gem.
isME0 << std::endl;
377 <<
"The specified subsystem for this track stub is out of range" << std::endl;
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