17 const char subsystem_names[][4] = {
"DT",
"CSC",
"RPC"};
23 const int segment_number):
46 const int theta_bti_group):
70 const int theta_bti_group):
134 const unsigned strip,
135 const unsigned layer,
207 this->_csc.bx == tp.
_csc.
bx &&
209 this->_csc.bx0 == tp.
_csc.
bx0 &&
214 this->_rpc.bx == tp.
_rpc.
bx &&
215 this->_id == tp.
_id &&
231 <<
"The specified subsystem for this track stub is out of range" 247 <<
"The specified subsystem for this track stub is out of range" 263 <<
"The specified subsystem for this track stub is out of range" 279 <<
"The specified subsystem for this track stub is out of range" 294 <<
"The specified subsystem for this track stub is out of range" 301 unsigned& global_sector,
302 unsigned& subsector ) {
306 unsigned& global_sector,
307 unsigned& subsector ) {
311 unsigned& global_sector,
312 unsigned& subsector ) {
317 out << subsystem_names[
idx] <<
" Trigger Primitive" << std::endl;
318 out <<
"eta: " <<
_eta <<
" phi: " <<
_phi 319 <<
" bend: " <<
_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;
353 out <<
"Layer : " <<
_rpc.
layer << std::endl;
357 <<
"The specified subsystem for this track stub is out of range"
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)