14 using namespace L1TMuon;
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,
156 _subsystem(tp._subsystem),
157 _globalsector(tp._globalsector),
158 _subsector(tp._subsector),
186 this->_csc.bx == tp.
_csc.
bx &&
188 this->_csc.bx0 == tp.
_csc.
bx0 &&
193 this->_rpc.bx == tp.
_rpc.
bx &&
194 this->_id == tp.
_id &&
210 <<
"The specified subsystem for this track stub is out of range"
226 <<
"The specified subsystem for this track stub is out of range"
242 <<
"The specified subsystem for this track stub is out of range"
258 <<
"The specified subsystem for this track stub is out of range"
273 <<
"The specified subsystem for this track stub is out of range"
280 unsigned& global_sector,
281 unsigned& subsector ) {
285 unsigned& global_sector,
286 unsigned& subsector ) {
290 unsigned& global_sector,
291 unsigned& subsector ) {
296 out << subsystem_names[
idx] <<
" Trigger Primitive" << std::endl;
297 out <<
"eta: " <<
_eta <<
" phi: " <<
_phi
298 <<
" bend: " <<
_theta << std::endl;
301 out << detId<DTChamberId>() << std::endl;
302 out <<
"Local BX : " <<
_dt.
bx << std::endl;
314 out << detId<CSCDetId>() << std::endl;
315 out <<
"Local BX : " <<
_csc.
bx << std::endl;
316 out <<
"Segment Nmb : " <<
_csc.
trknmb << std::endl;
317 out <<
"Segment Valid : " <<
_csc.
valid << std::endl;
318 out <<
"Quality Code : " <<
_csc.
quality << std::endl;
319 out <<
"Key Wire Grp : " <<
_csc.
keywire << std::endl;
320 out <<
"Half-Strip : " <<
_csc.
strip << std::endl;
321 out <<
"CLCT Pattern : " <<
_csc.
pattern << std::endl;
322 out <<
"Packed Bend : " <<
_csc.
bend << std::endl;
324 out <<
"BX0 : " <<
_csc.
bx0 << std::endl;
325 out <<
"Sync Error : " <<
_csc.
syncErr << std::endl;
326 out <<
"CSCID : " <<
_csc.
cscID << std::endl;
329 out << detId<RPCDetId>() << std::endl;
330 out <<
"Local BX : " <<
_rpc.
bx << std::endl;
331 out <<
"Strip : " <<
_rpc.
strip << std::endl;
332 out <<
"Layer : " <<
_rpc.
layer << std::endl;
336 <<
"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
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
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)