19 const char subsystem_names[][4] = {
"DT",
"CSC",
"RPC",
"GEM"};
25 const int segment_number):
48 const int theta_bti_group):
72 const int theta_bti_group):
122 const unsigned strip,
123 const unsigned layer,
200 this->_csc.bx == tp.
_csc.
bx &&
202 this->_csc.bx0 == tp.
_csc.
bx0 &&
209 this->_rpc.bx == tp.
_rpc.
bx &&
211 this->_gem.pad == tp.
_gem.
pad &&
214 this->_gem.bx == tp.
_gem.
bx &&
215 this->_id == tp.
_id &&
233 <<
"The specified subsystem for this track stub is out of range" 251 <<
"The specified subsystem for this track stub is out of range" 269 <<
"The specified subsystem for this track stub is out of range" 287 <<
"The specified subsystem for this track stub is out of range" 294 unsigned& global_sector,
295 unsigned& subsector ) {
301 unsigned& global_sector,
302 unsigned& subsector ) {
308 unsigned& global_sector,
309 unsigned& subsector ) {
315 unsigned& global_sector,
316 unsigned& subsector ) {
323 out << subsystem_names[
idx] <<
" Trigger Primitive" << std::endl;
324 out <<
"eta: " <<
_eta <<
" phi: " <<
_phi 325 <<
" bend: " <<
_theta << std::endl;
328 out << detId<DTChamberId>() << std::endl;
329 out <<
"Local BX : " <<
_dt.
bx << std::endl;
341 out << detId<CSCDetId>() << std::endl;
342 out <<
"Local BX : " <<
_csc.
bx << std::endl;
343 out <<
"Segment Nmb : " <<
_csc.
trknmb << std::endl;
344 out <<
"Segment Valid : " <<
_csc.
valid << std::endl;
345 out <<
"Quality Code : " <<
_csc.
quality << std::endl;
346 out <<
"Key Wire Grp : " <<
_csc.
keywire << std::endl;
347 out <<
"Half-Strip : " <<
_csc.
strip << std::endl;
348 out <<
"CLCT Pattern : " <<
_csc.
pattern << std::endl;
349 out <<
"Packed Bend : " <<
_csc.
bend << std::endl;
351 out <<
"BX0 : " <<
_csc.
bx0 << std::endl;
352 out <<
"Sync Error : " <<
_csc.
syncErr << std::endl;
353 out <<
"CSCID : " <<
_csc.
cscID << std::endl;
356 out << detId<RPCDetId>() << std::endl;
357 out <<
"Local BX : " <<
_rpc.
bx << std::endl;
358 out <<
"Strip : " <<
_rpc.
strip << std::endl;
361 out <<
"Layer : " <<
_rpc.
layer << std::endl;
362 out <<
"Valid : " <<
_rpc.
valid << std::endl;
365 out << detId<GEMDetId>() << std::endl;
366 out <<
"Local BX : " <<
_gem.
bx << std::endl;
367 out <<
"Pad : " <<
_gem.
pad << std::endl;
369 out <<
"Pad High : " <<
_gem.
pad_hi << std::endl;
373 <<
"The specified subsystem for this track stub is out of range"
void calculateGEMGlobalSector(const GEMDetId &chid, unsigned &global_sector, unsigned &subsector)
TriggerPrimitive & operator=(const TriggerPrimitive &tp)
void calculateDTGlobalSector(const DTChamberId &chid, unsigned &global_sector, unsigned &subsector)
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
const int getPattern() const
int code(const int i) const
void calculateCSCGlobalSector(const CSCDetId &chid, unsigned &global_sector, unsigned &subsector)
const int getWire() const
void print(std::ostream &) const
void calculateRPCGlobalSector(const RPCDetId &chid, unsigned &global_sector, unsigned &subsector)