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):
113 const unsigned strip,
114 const unsigned layer,
129 _subsystem(tp._subsystem),
130 _globalsector(tp._globalsector),
131 _subsector(tp._subsector),
171 this->_csc.bx == tp.
_csc.
bx &&
173 this->_csc.bx0 == tp.
_csc.
bx0 &&
178 this->_rpc.bx == tp.
_rpc.
bx &&
179 this->_id == tp.
_id &&
195 <<
"The specified subsystem for this track stub is out of range"
211 <<
"The specified subsystem for this track stub is out of range"
227 <<
"The specified subsystem for this track stub is out of range"
243 <<
"The specified subsystem for this track stub is out of range"
258 <<
"The specified subsystem for this track stub is out of range"
265 unsigned& global_sector,
266 unsigned& subsector ) {
270 unsigned& global_sector,
271 unsigned& subsector ) {
275 unsigned& global_sector,
276 unsigned& subsector ) {
281 out << subsystem_names[
idx] <<
" Trigger Primitive" << std::endl;
282 out <<
"eta: " <<
_eta <<
" phi: " <<
_phi
283 <<
" bend: " <<
_theta << std::endl;
286 out << detId<DTChamberId>() << std::endl;
287 out <<
"Local BX : " <<
_dt.
bx << std::endl;
299 out << detId<CSCDetId>() << std::endl;
300 out <<
"Local BX : " <<
_csc.
bx << std::endl;
301 out <<
"Segment Nmb : " <<
_csc.
trknmb << std::endl;
302 out <<
"Segment Valid : " <<
_csc.
valid << std::endl;
303 out <<
"Quality Code : " <<
_csc.
quality << std::endl;
304 out <<
"Key Wire Grp : " <<
_csc.
keywire << std::endl;
305 out <<
"Half-Strip : " <<
_csc.
strip << std::endl;
306 out <<
"CLCT Pattern : " <<
_csc.
pattern << std::endl;
307 out <<
"Packed Bend : " <<
_csc.
bend << std::endl;
309 out <<
"BX0 : " <<
_csc.
bx0 << std::endl;
310 out <<
"Sync Error : " <<
_csc.
syncErr << std::endl;
311 out <<
"CSCID : " <<
_csc.
cscID << std::endl;
314 out << detId<RPCDetId>() << std::endl;
315 out <<
"Local BX : " <<
_rpc.
bx << std::endl;
316 out <<
"Strip : " <<
_rpc.
strip << std::endl;
317 out <<
"Layer : " <<
_rpc.
layer << std::endl;
321 <<
"The specified subsystem for this track stub is out of range"
void calculateRPCGlobalSector(const RPCDetId &chid, unsigned &global_sector, unsigned &subsector)
int quality(const int i) const
const int getWire() const
int position(const int i) const
void calculateDTGlobalSector(const DTChamberId &chid, unsigned &global_sector, unsigned &subsector)
MuonTriggerPrimitive & operator=(const MuonTriggerPrimitive &tp)
const int getPattern() const
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
int code(const int i) const
bool operator==(const MuonTriggerPrimitive &tp) const
void print(std::ostream &) const
const int getStrip() const
subsystem_type _subsystem
void calculateCSCGlobalSector(const CSCDetId &chid, unsigned &global_sector, unsigned &subsector)