#include <MuonTriggerPrimitive.h>
Classes | |
struct | CSCData |
struct | DTData |
struct | RPCData |
Public Types | |
enum | subsystem_type { kDT, kCSC, kRPC, kNSubsystems } |
Public Member Functions | |
template<typename IDType > | |
IDType | detId () const |
const int | getBX () const |
const double | getCMSGlobalEta () const |
const double | getCMSGlobalPhi () const |
const CSCData | getCSCData () const |
const DTData | getDTData () const |
const unsigned | getGlobalSector () const |
const int | getPattern () const |
const RPCData | getRPCData () const |
const int | getStrip () const |
const unsigned | getSubSector () const |
double | getThetaBend () const |
const int | getWire () const |
const int | Id () const |
MuonTriggerPrimitive () | |
MuonTriggerPrimitive (const DTChamberId &, const L1MuDTChambPhDigi &, const int segment_number) | |
MuonTriggerPrimitive (const DTChamberId &, const L1MuDTChambThDigi &, const int segment_number) | |
MuonTriggerPrimitive (const DTChamberId &, const L1MuDTChambPhDigi &, const L1MuDTChambThDigi &, const int theta_bti_group) | |
MuonTriggerPrimitive (const CSCDetId &, const CSCCorrelatedLCTDigi &) | |
MuonTriggerPrimitive (const RPCDetId &detid, const unsigned strip, const unsigned layer, const uint16_t bx) | |
MuonTriggerPrimitive (const MuonTriggerPrimitive &) | |
MuonTriggerPrimitive & | operator= (const MuonTriggerPrimitive &tp) |
bool | operator== (const MuonTriggerPrimitive &tp) const |
void | print (std::ostream &) const |
const DetId | rawId () const |
void | setCMSGlobalEta (const double eta) |
void | setCMSGlobalPhi (const double phi) |
void | setThetaBend (const double theta) |
const subsystem_type | subsystem () const |
Private Member Functions | |
void | calculateCSCGlobalSector (const CSCDetId &chid, unsigned &global_sector, unsigned &subsector) |
void | calculateDTGlobalSector (const DTChamberId &chid, unsigned &global_sector, unsigned &subsector) |
void | calculateRPCGlobalSector (const RPCDetId &chid, unsigned &global_sector, unsigned &subsector) |
Private Attributes | |
CSCData | _csc |
DTData | _dt |
double | _eta |
unsigned | _globalsector |
DetId | _id |
double | _phi |
RPCData | _rpc |
unsigned | _subsector |
subsystem_type | _subsystem |
double | _theta |
Definition at line 59 of file MuonTriggerPrimitive.h.
|
inline |
Definition at line 121 of file MuonTriggerPrimitive.h.
MuonTriggerPrimitive::MuonTriggerPrimitive | ( | const DTChamberId & | detid, |
const L1MuDTChambPhDigi & | digi_phi, | ||
const int | segment_number | ||
) |
Definition at line 21 of file MuonTriggerPrimitive.cc.
References _dt, _globalsector, _subsector, l1t::MuonTriggerPrimitive::DTData::bendingAngle, l1t::MuonTriggerPrimitive::DTData::bx, L1MuDTChambPhDigi::BxCnt(), l1t::MuonTriggerPrimitive::DTData::BxCntCode, L1MuDTChambPhDigi::bxNum(), calculateDTGlobalSector(), L1MuDTChambPhDigi::code(), L1MuDTChambPhDigi::phi(), L1MuDTChambPhDigi::phiB(), l1t::MuonTriggerPrimitive::DTData::qualityCode, l1t::MuonTriggerPrimitive::DTData::radialAngle, L1MuDTChambPhDigi::scNum(), l1t::MuonTriggerPrimitive::DTData::sector, l1t::MuonTriggerPrimitive::DTData::segment_number, l1t::MuonTriggerPrimitive::DTData::station, L1MuDTChambPhDigi::stNum(), l1t::MuonTriggerPrimitive::DTData::theta_bti_group, l1t::MuonTriggerPrimitive::DTData::theta_code, l1t::MuonTriggerPrimitive::DTData::theta_quality, L1MuDTChambPhDigi::Ts2Tag(), l1t::MuonTriggerPrimitive::DTData::Ts2TagCode, l1t::MuonTriggerPrimitive::DTData::wheel, and L1MuDTChambPhDigi::whNum().
MuonTriggerPrimitive::MuonTriggerPrimitive | ( | const DTChamberId & | detid, |
const L1MuDTChambThDigi & | digi_th, | ||
const int | segment_number | ||
) |
Definition at line 44 of file MuonTriggerPrimitive.cc.
References _dt, _globalsector, _subsector, l1t::MuonTriggerPrimitive::DTData::bendingAngle, l1t::MuonTriggerPrimitive::DTData::bx, l1t::MuonTriggerPrimitive::DTData::BxCntCode, L1MuDTChambThDigi::bxNum(), calculateDTGlobalSector(), L1MuDTChambThDigi::code(), L1MuDTChambThDigi::position(), L1MuDTChambThDigi::quality(), l1t::MuonTriggerPrimitive::DTData::qualityCode, l1t::MuonTriggerPrimitive::DTData::radialAngle, L1MuDTChambThDigi::scNum(), l1t::MuonTriggerPrimitive::DTData::sector, l1t::MuonTriggerPrimitive::DTData::segment_number, l1t::MuonTriggerPrimitive::DTData::station, L1MuDTChambThDigi::stNum(), l1t::MuonTriggerPrimitive::DTData::theta_bti_group, l1t::MuonTriggerPrimitive::DTData::theta_code, l1t::MuonTriggerPrimitive::DTData::theta_quality, l1t::MuonTriggerPrimitive::DTData::Ts2TagCode, l1t::MuonTriggerPrimitive::DTData::wheel, and L1MuDTChambThDigi::whNum().
MuonTriggerPrimitive::MuonTriggerPrimitive | ( | const DTChamberId & | detid, |
const L1MuDTChambPhDigi & | digi_phi, | ||
const L1MuDTChambThDigi & | digi_th, | ||
const int | theta_bti_group | ||
) |
Definition at line 67 of file MuonTriggerPrimitive.cc.
References _dt, _globalsector, _subsector, l1t::MuonTriggerPrimitive::DTData::bendingAngle, l1t::MuonTriggerPrimitive::DTData::bx, L1MuDTChambPhDigi::BxCnt(), l1t::MuonTriggerPrimitive::DTData::BxCntCode, L1MuDTChambPhDigi::bxNum(), calculateDTGlobalSector(), L1MuDTChambPhDigi::code(), L1MuDTChambThDigi::code(), L1MuDTChambPhDigi::phi(), L1MuDTChambPhDigi::phiB(), L1MuDTChambThDigi::position(), L1MuDTChambThDigi::quality(), l1t::MuonTriggerPrimitive::DTData::qualityCode, l1t::MuonTriggerPrimitive::DTData::radialAngle, L1MuDTChambPhDigi::scNum(), l1t::MuonTriggerPrimitive::DTData::sector, l1t::MuonTriggerPrimitive::DTData::segment_number, l1t::MuonTriggerPrimitive::DTData::station, L1MuDTChambPhDigi::stNum(), l1t::MuonTriggerPrimitive::DTData::theta_bti_group, l1t::MuonTriggerPrimitive::DTData::theta_code, l1t::MuonTriggerPrimitive::DTData::theta_quality, L1MuDTChambPhDigi::Ts2Tag(), l1t::MuonTriggerPrimitive::DTData::Ts2TagCode, l1t::MuonTriggerPrimitive::DTData::wheel, and L1MuDTChambPhDigi::whNum().
MuonTriggerPrimitive::MuonTriggerPrimitive | ( | const CSCDetId & | detid, |
const CSCCorrelatedLCTDigi & | digi | ||
) |
Definition at line 92 of file MuonTriggerPrimitive.cc.
References _csc, _globalsector, _subsector, l1t::MuonTriggerPrimitive::CSCData::bend, l1t::MuonTriggerPrimitive::CSCData::bx, l1t::MuonTriggerPrimitive::CSCData::bx0, calculateCSCGlobalSector(), l1t::MuonTriggerPrimitive::CSCData::cscID, CSCCorrelatedLCTDigi::getBend(), CSCCorrelatedLCTDigi::getBX(), CSCCorrelatedLCTDigi::getBX0(), CSCCorrelatedLCTDigi::getCSCID(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getMPCLink(), CSCCorrelatedLCTDigi::getPattern(), CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getStrip(), CSCCorrelatedLCTDigi::getSyncErr(), CSCCorrelatedLCTDigi::getTrknmb(), CSCCorrelatedLCTDigi::isValid(), l1t::MuonTriggerPrimitive::CSCData::keywire, l1t::MuonTriggerPrimitive::CSCData::mpclink, l1t::MuonTriggerPrimitive::CSCData::pattern, l1t::MuonTriggerPrimitive::CSCData::quality, l1t::MuonTriggerPrimitive::CSCData::strip, l1t::MuonTriggerPrimitive::CSCData::syncErr, l1t::MuonTriggerPrimitive::CSCData::trknmb, and l1t::MuonTriggerPrimitive::CSCData::valid.
MuonTriggerPrimitive::MuonTriggerPrimitive | ( | const RPCDetId & | detid, |
const unsigned | strip, | ||
const unsigned | layer, | ||
const uint16_t | bx | ||
) |
Definition at line 112 of file MuonTriggerPrimitive.cc.
References _globalsector, _rpc, _subsector, l1t::MuonTriggerPrimitive::RPCData::bx, calculateRPCGlobalSector(), l1t::MuonTriggerPrimitive::RPCData::layer, and l1t::MuonTriggerPrimitive::RPCData::strip.
MuonTriggerPrimitive::MuonTriggerPrimitive | ( | const MuonTriggerPrimitive & | tp | ) |
Definition at line 124 of file MuonTriggerPrimitive.cc.
|
private |
Definition at line 269 of file MuonTriggerPrimitive.cc.
Referenced by MuonTriggerPrimitive().
|
private |
Definition at line 264 of file MuonTriggerPrimitive.cc.
Referenced by MuonTriggerPrimitive().
|
private |
Definition at line 274 of file MuonTriggerPrimitive.cc.
Referenced by MuonTriggerPrimitive().
|
inline |
Definition at line 164 of file MuonTriggerPrimitive.h.
References _id.
Referenced by l1t::GeometryTranslator::calcDTSpecificPoint(), l1t::GeometryTranslator::getCSCSpecificPoint(), and l1t::GeometryTranslator::getRPCSpecificPoint().
const int MuonTriggerPrimitive::getBX | ( | ) | const |
Definition at line 185 of file MuonTriggerPrimitive.cc.
References _csc, _dt, _rpc, _subsystem, l1t::MuonTriggerPrimitive::RPCData::bx, l1t::MuonTriggerPrimitive::CSCData::bx, l1t::MuonTriggerPrimitive::DTData::bx, Exception, kCSC, kDT, and kRPC.
|
inline |
|
inline |
|
inline |
Definition at line 168 of file MuonTriggerPrimitive.h.
References _csc.
Referenced by l1t::GeometryTranslator::getCSCSpecificPoint().
|
inline |
Definition at line 167 of file MuonTriggerPrimitive.h.
References _dt.
Referenced by l1t::GeometryTranslator::calcDTSpecificBend(), and l1t::GeometryTranslator::calcDTSpecificPoint().
|
inline |
Definition at line 179 of file MuonTriggerPrimitive.h.
References _globalsector.
const int MuonTriggerPrimitive::getPattern | ( | ) | const |
Definition at line 233 of file MuonTriggerPrimitive.cc.
References _csc, _subsystem, Exception, kCSC, kDT, kRPC, and l1t::MuonTriggerPrimitive::CSCData::pattern.
|
inline |
Definition at line 169 of file MuonTriggerPrimitive.h.
References _rpc.
Referenced by l1t::GeometryTranslator::getRPCSpecificPoint().
const int MuonTriggerPrimitive::getStrip | ( | ) | const |
Definition at line 201 of file MuonTriggerPrimitive.cc.
References _csc, _rpc, _subsystem, Exception, kCSC, kDT, kRPC, l1t::MuonTriggerPrimitive::RPCData::strip, and l1t::MuonTriggerPrimitive::CSCData::strip.
|
inline |
|
inline |
const int MuonTriggerPrimitive::getWire | ( | ) | const |
Definition at line 217 of file MuonTriggerPrimitive.cc.
References _csc, _subsystem, Exception, kCSC, kDT, l1t::MuonTriggerPrimitive::CSCData::keywire, and kRPC.
const int MuonTriggerPrimitive::Id | ( | ) | const |
Definition at line 248 of file MuonTriggerPrimitive.cc.
References _csc, _subsystem, l1t::MuonTriggerPrimitive::CSCData::cscID, Exception, kCSC, kDT, and kRPC.
MuonTriggerPrimitive & MuonTriggerPrimitive::operator= | ( | const MuonTriggerPrimitive & | tp | ) |
Definition at line 137 of file MuonTriggerPrimitive.cc.
References _csc, _dt, _eta, _globalsector, _id, _phi, _rpc, _subsector, and _subsystem.
bool MuonTriggerPrimitive::operator== | ( | const MuonTriggerPrimitive & | tp | ) | const |
Definition at line 150 of file MuonTriggerPrimitive.cc.
References _csc, _dt, _globalsector, _id, _rpc, _subsector, _subsystem, l1t::MuonTriggerPrimitive::CSCData::bend, l1t::MuonTriggerPrimitive::DTData::bendingAngle, l1t::MuonTriggerPrimitive::RPCData::bx, l1t::MuonTriggerPrimitive::CSCData::bx, l1t::MuonTriggerPrimitive::DTData::bx, l1t::MuonTriggerPrimitive::CSCData::bx0, l1t::MuonTriggerPrimitive::DTData::BxCntCode, l1t::MuonTriggerPrimitive::CSCData::cscID, l1t::MuonTriggerPrimitive::CSCData::keywire, l1t::MuonTriggerPrimitive::RPCData::layer, l1t::MuonTriggerPrimitive::CSCData::mpclink, l1t::MuonTriggerPrimitive::CSCData::pattern, l1t::MuonTriggerPrimitive::CSCData::quality, l1t::MuonTriggerPrimitive::DTData::qualityCode, l1t::MuonTriggerPrimitive::DTData::radialAngle, l1t::MuonTriggerPrimitive::DTData::sector, l1t::MuonTriggerPrimitive::DTData::segment_number, l1t::MuonTriggerPrimitive::DTData::station, l1t::MuonTriggerPrimitive::RPCData::strip, l1t::MuonTriggerPrimitive::CSCData::strip, l1t::MuonTriggerPrimitive::CSCData::syncErr, l1t::MuonTriggerPrimitive::DTData::theta_bti_group, l1t::MuonTriggerPrimitive::DTData::theta_code, l1t::MuonTriggerPrimitive::DTData::theta_quality, l1t::MuonTriggerPrimitive::CSCData::trknmb, l1t::MuonTriggerPrimitive::DTData::Ts2TagCode, l1t::MuonTriggerPrimitive::CSCData::valid, and l1t::MuonTriggerPrimitive::DTData::wheel.
void MuonTriggerPrimitive::print | ( | std::ostream & | out | ) | const |
Definition at line 279 of file MuonTriggerPrimitive.cc.
References _csc, _dt, _eta, _phi, _rpc, _subsystem, _theta, l1t::MuonTriggerPrimitive::CSCData::bend, l1t::MuonTriggerPrimitive::DTData::bendingAngle, l1t::MuonTriggerPrimitive::RPCData::bx, l1t::MuonTriggerPrimitive::CSCData::bx, l1t::MuonTriggerPrimitive::DTData::bx, l1t::MuonTriggerPrimitive::CSCData::bx0, l1t::MuonTriggerPrimitive::DTData::BxCntCode, l1t::MuonTriggerPrimitive::CSCData::cscID, Exception, customizeTrackingMonitorSeedNumber::idx, kCSC, kDT, l1t::MuonTriggerPrimitive::CSCData::keywire, kRPC, l1t::MuonTriggerPrimitive::RPCData::layer, l1t::MuonTriggerPrimitive::CSCData::mpclink, l1t::MuonTriggerPrimitive::CSCData::pattern, l1t::MuonTriggerPrimitive::CSCData::quality, l1t::MuonTriggerPrimitive::DTData::qualityCode, l1t::MuonTriggerPrimitive::DTData::radialAngle, l1t::MuonTriggerPrimitive::DTData::segment_number, l1t::MuonTriggerPrimitive::RPCData::strip, l1t::MuonTriggerPrimitive::CSCData::strip, l1t::MuonTriggerPrimitive::CSCData::syncErr, l1t::MuonTriggerPrimitive::DTData::theta_bti_group, l1t::MuonTriggerPrimitive::DTData::theta_code, l1t::MuonTriggerPrimitive::DTData::theta_quality, l1t::MuonTriggerPrimitive::CSCData::trknmb, l1t::MuonTriggerPrimitive::DTData::Ts2TagCode, and l1t::MuonTriggerPrimitive::CSCData::valid.
|
inline |
|
inline |
Definition at line 153 of file MuonTriggerPrimitive.h.
|
inline |
|
inline |
|
inline |
Definition at line 150 of file MuonTriggerPrimitive.h.
References _subsystem.
Referenced by l1t::GeometryTranslator::calculateBendAngle(), l1t::GeometryTranslator::calculateGlobalEta(), and l1t::GeometryTranslator::calculateGlobalPhi().
|
private |
Definition at line 198 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getCSCData(), getPattern(), getStrip(), getWire(), Id(), MuonTriggerPrimitive(), operator=(), operator==(), and print().
|
private |
Definition at line 197 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getDTData(), MuonTriggerPrimitive(), operator=(), operator==(), and print().
|
private |
Definition at line 207 of file MuonTriggerPrimitive.h.
Referenced by getCMSGlobalEta(), operator=(), print(), and setCMSGlobalEta().
|
private |
Definition at line 205 of file MuonTriggerPrimitive.h.
Referenced by getGlobalSector(), MuonTriggerPrimitive(), operator=(), and operator==().
|
private |
Definition at line 201 of file MuonTriggerPrimitive.h.
Referenced by detId(), operator=(), operator==(), and rawId().
|
private |
Definition at line 207 of file MuonTriggerPrimitive.h.
Referenced by getCMSGlobalPhi(), operator=(), print(), and setCMSGlobalPhi().
|
private |
Definition at line 199 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getRPCData(), getStrip(), MuonTriggerPrimitive(), operator=(), operator==(), and print().
|
private |
Definition at line 206 of file MuonTriggerPrimitive.h.
Referenced by getSubSector(), MuonTriggerPrimitive(), operator=(), and operator==().
|
private |
Definition at line 203 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getPattern(), getStrip(), getWire(), Id(), operator=(), operator==(), print(), and subsystem().
|
private |
Definition at line 208 of file MuonTriggerPrimitive.h.
Referenced by getThetaBend(), print(), and setThetaBend().