#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 GlobalPoint | getCMSGlobalPoint () const |
const double | getCMSGlobalRho () 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 |
TriggerPrimitive & | operator= (const TriggerPrimitive &tp) |
bool | operator== (const TriggerPrimitive &tp) const |
void | print (std::ostream &) const |
const DetId | rawId () const |
void | setCMSGlobalEta (const double eta) |
void | setCMSGlobalPhi (const double phi) |
void | setCMSGlobalRho (const double rho) |
void | setThetaBend (const double theta) |
const subsystem_type | subsystem () const |
TriggerPrimitive () | |
TriggerPrimitive (const DTChamberId &, const L1MuDTChambPhDigi &, const int segment_number) | |
TriggerPrimitive (const DTChamberId &, const L1MuDTChambThDigi &, const int segment_number) | |
TriggerPrimitive (const DTChamberId &, const L1MuDTChambPhDigi &, const L1MuDTChambThDigi &, const int theta_bti_group) | |
TriggerPrimitive (const CSCDetId &, const CSCCorrelatedLCTDigi &) | |
TriggerPrimitive (const RPCDetId &detid, const unsigned strip, const unsigned layer, const uint16_t bx) | |
TriggerPrimitive (const TriggerPrimitive &) | |
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 |
double | _rho |
RPCData | _rpc |
unsigned | _subsector |
subsystem_type | _subsystem |
double | _theta |
Definition at line 46 of file MuonTriggerPrimitive.h.
|
inline |
Definition at line 108 of file MuonTriggerPrimitive.h.
TriggerPrimitive::TriggerPrimitive | ( | const DTChamberId & | detid, |
const L1MuDTChambPhDigi & | digi_phi, | ||
const int | segment_number | ||
) |
Definition at line 21 of file MuonTriggerPrimitive.cc.
References _dt, _globalsector, _subsector, L1TMuon::TriggerPrimitive::DTData::bendingAngle, L1TMuon::TriggerPrimitive::DTData::bx, L1MuDTChambPhDigi::BxCnt(), L1TMuon::TriggerPrimitive::DTData::BxCntCode, L1MuDTChambPhDigi::bxNum(), calculateDTGlobalSector(), L1MuDTChambPhDigi::code(), L1MuDTChambPhDigi::phi(), L1MuDTChambPhDigi::phiB(), L1TMuon::TriggerPrimitive::DTData::qualityCode, L1TMuon::TriggerPrimitive::DTData::radialAngle, L1MuDTChambPhDigi::scNum(), L1TMuon::TriggerPrimitive::DTData::sector, L1TMuon::TriggerPrimitive::DTData::segment_number, L1TMuon::TriggerPrimitive::DTData::station, L1MuDTChambPhDigi::stNum(), L1TMuon::TriggerPrimitive::DTData::theta_bti_group, L1TMuon::TriggerPrimitive::DTData::theta_code, L1TMuon::TriggerPrimitive::DTData::theta_quality, L1MuDTChambPhDigi::Ts2Tag(), L1TMuon::TriggerPrimitive::DTData::Ts2TagCode, L1TMuon::TriggerPrimitive::DTData::wheel, and L1MuDTChambPhDigi::whNum().
TriggerPrimitive::TriggerPrimitive | ( | const DTChamberId & | detid, |
const L1MuDTChambThDigi & | digi_th, | ||
const int | segment_number | ||
) |
Definition at line 44 of file MuonTriggerPrimitive.cc.
References _dt, _globalsector, _subsector, L1TMuon::TriggerPrimitive::DTData::bendingAngle, L1TMuon::TriggerPrimitive::DTData::bx, L1TMuon::TriggerPrimitive::DTData::BxCntCode, L1MuDTChambThDigi::bxNum(), calculateDTGlobalSector(), L1MuDTChambThDigi::code(), L1MuDTChambThDigi::position(), L1MuDTChambThDigi::quality(), L1TMuon::TriggerPrimitive::DTData::qualityCode, L1TMuon::TriggerPrimitive::DTData::radialAngle, L1MuDTChambThDigi::scNum(), L1TMuon::TriggerPrimitive::DTData::sector, L1TMuon::TriggerPrimitive::DTData::segment_number, L1TMuon::TriggerPrimitive::DTData::station, L1MuDTChambThDigi::stNum(), L1TMuon::TriggerPrimitive::DTData::theta_bti_group, L1TMuon::TriggerPrimitive::DTData::theta_code, L1TMuon::TriggerPrimitive::DTData::theta_quality, L1TMuon::TriggerPrimitive::DTData::Ts2TagCode, L1TMuon::TriggerPrimitive::DTData::wheel, and L1MuDTChambThDigi::whNum().
TriggerPrimitive::TriggerPrimitive | ( | 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, L1TMuon::TriggerPrimitive::DTData::bendingAngle, L1TMuon::TriggerPrimitive::DTData::bx, L1MuDTChambPhDigi::BxCnt(), L1TMuon::TriggerPrimitive::DTData::BxCntCode, L1MuDTChambPhDigi::bxNum(), calculateDTGlobalSector(), L1MuDTChambPhDigi::code(), L1MuDTChambThDigi::code(), L1MuDTChambPhDigi::phi(), L1MuDTChambPhDigi::phiB(), L1MuDTChambThDigi::position(), L1MuDTChambThDigi::quality(), L1TMuon::TriggerPrimitive::DTData::qualityCode, L1TMuon::TriggerPrimitive::DTData::radialAngle, L1MuDTChambPhDigi::scNum(), L1TMuon::TriggerPrimitive::DTData::sector, L1TMuon::TriggerPrimitive::DTData::segment_number, L1TMuon::TriggerPrimitive::DTData::station, L1MuDTChambPhDigi::stNum(), L1TMuon::TriggerPrimitive::DTData::theta_bti_group, L1TMuon::TriggerPrimitive::DTData::theta_code, L1TMuon::TriggerPrimitive::DTData::theta_quality, L1MuDTChambPhDigi::Ts2Tag(), L1TMuon::TriggerPrimitive::DTData::Ts2TagCode, L1TMuon::TriggerPrimitive::DTData::wheel, and L1MuDTChambPhDigi::whNum().
TriggerPrimitive::TriggerPrimitive | ( | const CSCDetId & | detid, |
const CSCCorrelatedLCTDigi & | digi | ||
) |
Definition at line 92 of file MuonTriggerPrimitive.cc.
References _csc, _globalsector, _subsector, L1TMuon::TriggerPrimitive::CSCData::bend, L1TMuon::TriggerPrimitive::CSCData::bx, L1TMuon::TriggerPrimitive::CSCData::bx0, calculateCSCGlobalSector(), L1TMuon::TriggerPrimitive::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(), L1TMuon::TriggerPrimitive::CSCData::keywire, L1TMuon::TriggerPrimitive::CSCData::mpclink, L1TMuon::TriggerPrimitive::CSCData::pattern, L1TMuon::TriggerPrimitive::CSCData::quality, L1TMuon::TriggerPrimitive::CSCData::strip, L1TMuon::TriggerPrimitive::CSCData::syncErr, L1TMuon::TriggerPrimitive::CSCData::trknmb, and L1TMuon::TriggerPrimitive::CSCData::valid.
TriggerPrimitive::TriggerPrimitive | ( | 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, L1TMuon::TriggerPrimitive::RPCData::bx, calculateRPCGlobalSector(), L1TMuon::TriggerPrimitive::RPCData::layer, and L1TMuon::TriggerPrimitive::RPCData::strip.
TriggerPrimitive::TriggerPrimitive | ( | const TriggerPrimitive & | tp | ) |
Definition at line 151 of file MuonTriggerPrimitive.cc.
|
private |
Definition at line 284 of file MuonTriggerPrimitive.cc.
Referenced by TriggerPrimitive().
|
private |
Definition at line 279 of file MuonTriggerPrimitive.cc.
Referenced by TriggerPrimitive().
|
private |
Definition at line 289 of file MuonTriggerPrimitive.cc.
Referenced by TriggerPrimitive().
|
inline |
Definition at line 157 of file MuonTriggerPrimitive.h.
References _id.
Referenced by L1TMuon::InternalTrack::addStub(), L1TMuon::GeometryTranslator::calcDTSpecificPoint(), L1TwinMux::PrimitiveCombiner::combineDt(), L1TwinMux::PrimitiveCombiner::combineDtRpc(), L1TwinMux::PrimitiveCombiner::combineRpcRpc(), L1TMuon::GeometryTranslator::getCSCSpecificPoint(), L1TMuon::GeometryTranslator::getRPCSpecificPoint(), PrimConv(), L1ITMuonBarrelPrimitiveProducer::produce(), and L1TwinMux::PrimitiveCombiner::radialAngleFromGlobalPhi().
const int TriggerPrimitive::getBX | ( | ) | const |
Definition at line 200 of file MuonTriggerPrimitive.cc.
References _csc, _dt, _rpc, _subsystem, L1TMuon::TriggerPrimitive::RPCData::bx, L1TMuon::TriggerPrimitive::CSCData::bx, L1TMuon::TriggerPrimitive::DTData::bx, Exception, kCSC, kDT, and kRPC.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
|
inline |
Definition at line 141 of file MuonTriggerPrimitive.h.
References _phi.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce(), and L1TwinMux::PrimitiveCombiner::radialAngleFromGlobalPhi().
|
inline |
Definition at line 146 of file MuonTriggerPrimitive.h.
References _eta, _phi, _rho, create_public_lumi_plots::exp, funct::tan(), and theta().
Referenced by L1TwinMux::PrimitiveCombiner::combineDt(), L1TwinMux::PrimitiveCombiner::combineDtRpc(), and L1TwinMux::PrimitiveCombiner::combineRpcRpc().
|
inline |
|
inline |
Definition at line 161 of file MuonTriggerPrimitive.h.
References _csc.
Referenced by L1TMuon::GeometryTranslator::getCSCSpecificPoint(), and PrimConv().
|
inline |
Definition at line 160 of file MuonTriggerPrimitive.h.
References _dt.
Referenced by L1TwinMux::PrimitiveCombiner::addDt(), L1TMuon::GeometryTranslator::calcDTSpecificBend(), L1TMuon::GeometryTranslator::calcDTSpecificPoint(), L1TwinMux::PrimitiveCombiner::combine(), L1TwinMux::PrimitiveCombiner::combineDt(), L1TwinMux::PrimitiveCombiner::combineDtRpc(), L1TwinMux::PrimitiveCombiner::dummyCombineDt(), and L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
Definition at line 172 of file MuonTriggerPrimitive.h.
References _globalsector.
const int TriggerPrimitive::getPattern | ( | ) | const |
Definition at line 248 of file MuonTriggerPrimitive.cc.
References _csc, _subsystem, Exception, kCSC, kDT, kRPC, and L1TMuon::TriggerPrimitive::CSCData::pattern.
Referenced by PrimConv().
|
inline |
Definition at line 162 of file MuonTriggerPrimitive.h.
References _rpc.
Referenced by L1TMuon::GeometryTranslator::getRPCSpecificPoint().
const int TriggerPrimitive::getStrip | ( | ) | const |
Definition at line 216 of file MuonTriggerPrimitive.cc.
References _csc, _rpc, _subsystem, Exception, kCSC, kDT, kRPC, L1TMuon::TriggerPrimitive::RPCData::strip, and L1TMuon::TriggerPrimitive::CSCData::strip.
|
inline |
|
inline |
const int TriggerPrimitive::getWire | ( | ) | const |
Definition at line 232 of file MuonTriggerPrimitive.cc.
References _csc, _subsystem, Exception, kCSC, kDT, L1TMuon::TriggerPrimitive::CSCData::keywire, and kRPC.
const int TriggerPrimitive::Id | ( | ) | const |
Definition at line 263 of file MuonTriggerPrimitive.cc.
References _csc, _subsystem, L1TMuon::TriggerPrimitive::CSCData::cscID, Exception, kCSC, kDT, and kRPC.
Referenced by PrimConv().
TriggerPrimitive & TriggerPrimitive::operator= | ( | const TriggerPrimitive & | tp | ) |
Definition at line 137 of file MuonTriggerPrimitive.cc.
References _csc, _dt, _eta, _globalsector, _id, _phi, _rpc, _subsector, and _subsystem.
bool TriggerPrimitive::operator== | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 165 of file MuonTriggerPrimitive.cc.
References _csc, _dt, _globalsector, _id, _rpc, _subsector, _subsystem, L1TMuon::TriggerPrimitive::CSCData::bend, L1TMuon::TriggerPrimitive::DTData::bendingAngle, L1TMuon::TriggerPrimitive::RPCData::bx, L1TMuon::TriggerPrimitive::CSCData::bx, L1TMuon::TriggerPrimitive::DTData::bx, L1TMuon::TriggerPrimitive::CSCData::bx0, L1TMuon::TriggerPrimitive::DTData::BxCntCode, L1TMuon::TriggerPrimitive::CSCData::cscID, L1TMuon::TriggerPrimitive::CSCData::keywire, L1TMuon::TriggerPrimitive::RPCData::layer, L1TMuon::TriggerPrimitive::CSCData::mpclink, L1TMuon::TriggerPrimitive::CSCData::pattern, L1TMuon::TriggerPrimitive::CSCData::quality, L1TMuon::TriggerPrimitive::DTData::qualityCode, L1TMuon::TriggerPrimitive::DTData::radialAngle, L1TMuon::TriggerPrimitive::DTData::sector, L1TMuon::TriggerPrimitive::DTData::segment_number, L1TMuon::TriggerPrimitive::DTData::station, L1TMuon::TriggerPrimitive::RPCData::strip, L1TMuon::TriggerPrimitive::CSCData::strip, L1TMuon::TriggerPrimitive::CSCData::syncErr, L1TMuon::TriggerPrimitive::DTData::theta_bti_group, L1TMuon::TriggerPrimitive::DTData::theta_code, L1TMuon::TriggerPrimitive::DTData::theta_quality, L1TMuon::TriggerPrimitive::CSCData::trknmb, L1TMuon::TriggerPrimitive::DTData::Ts2TagCode, L1TMuon::TriggerPrimitive::CSCData::valid, and L1TMuon::TriggerPrimitive::DTData::wheel.
void TriggerPrimitive::print | ( | std::ostream & | out | ) | const |
Definition at line 294 of file MuonTriggerPrimitive.cc.
References _csc, _dt, _eta, _phi, _rpc, _subsystem, _theta, L1TMuon::TriggerPrimitive::CSCData::bend, L1TMuon::TriggerPrimitive::DTData::bendingAngle, L1TMuon::TriggerPrimitive::RPCData::bx, L1TMuon::TriggerPrimitive::CSCData::bx, L1TMuon::TriggerPrimitive::DTData::bx, L1TMuon::TriggerPrimitive::CSCData::bx0, L1TMuon::TriggerPrimitive::DTData::BxCntCode, L1TMuon::TriggerPrimitive::CSCData::cscID, Exception, customizeTrackingMonitorSeedNumber::idx, kCSC, kDT, L1TMuon::TriggerPrimitive::CSCData::keywire, kRPC, L1TMuon::TriggerPrimitive::RPCData::layer, L1TMuon::TriggerPrimitive::CSCData::mpclink, L1TMuon::TriggerPrimitive::CSCData::pattern, L1TMuon::TriggerPrimitive::CSCData::quality, L1TMuon::TriggerPrimitive::DTData::qualityCode, L1TMuon::TriggerPrimitive::DTData::radialAngle, L1TMuon::TriggerPrimitive::DTData::segment_number, L1TMuon::TriggerPrimitive::RPCData::strip, L1TMuon::TriggerPrimitive::CSCData::strip, L1TMuon::TriggerPrimitive::CSCData::syncErr, L1TMuon::TriggerPrimitive::DTData::theta_bti_group, L1TMuon::TriggerPrimitive::DTData::theta_code, L1TMuon::TriggerPrimitive::DTData::theta_quality, L1TMuon::TriggerPrimitive::CSCData::trknmb, L1TMuon::TriggerPrimitive::DTData::Ts2TagCode, and L1TMuon::TriggerPrimitive::CSCData::valid.
|
inline |
|
inline |
Definition at line 140 of file MuonTriggerPrimitive.h.
|
inline |
Definition at line 142 of file MuonTriggerPrimitive.h.
References _phi.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
|
inline |
|
inline |
Definition at line 137 of file MuonTriggerPrimitive.h.
References _subsystem.
Referenced by L1TMuon::InternalTrack::addStub(), L1TMuon::GeometryTranslator::calculateBendAngle(), L1TMuon::GeometryTranslator::calculateGlobalEta(), and L1TMuon::GeometryTranslator::calculateGlobalPhi().
|
private |
Definition at line 191 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getCSCData(), getPattern(), getStrip(), getWire(), Id(), operator=(), operator==(), print(), and TriggerPrimitive().
|
private |
Definition at line 190 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getDTData(), operator=(), operator==(), print(), and TriggerPrimitive().
|
private |
Definition at line 200 of file MuonTriggerPrimitive.h.
Referenced by getCMSGlobalEta(), getCMSGlobalPoint(), operator=(), print(), and setCMSGlobalEta().
|
private |
Definition at line 198 of file MuonTriggerPrimitive.h.
Referenced by getGlobalSector(), operator=(), operator==(), and TriggerPrimitive().
|
private |
Definition at line 194 of file MuonTriggerPrimitive.h.
Referenced by detId(), operator=(), operator==(), and rawId().
|
private |
Definition at line 200 of file MuonTriggerPrimitive.h.
Referenced by getCMSGlobalPhi(), getCMSGlobalPoint(), operator=(), print(), and setCMSGlobalPhi().
|
private |
Definition at line 200 of file MuonTriggerPrimitive.h.
Referenced by getCMSGlobalPoint(), getCMSGlobalRho(), and setCMSGlobalRho().
|
private |
Definition at line 192 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getRPCData(), getStrip(), operator=(), operator==(), print(), and TriggerPrimitive().
|
private |
Definition at line 199 of file MuonTriggerPrimitive.h.
Referenced by getSubSector(), operator=(), operator==(), and TriggerPrimitive().
|
private |
Definition at line 196 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getPattern(), getStrip(), getWire(), Id(), operator=(), operator==(), print(), and subsystem().
|
private |
Definition at line 201 of file MuonTriggerPrimitive.h.
Referenced by getThetaBend(), print(), and setThetaBend().