#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 &) | |
TriggerPrimitive (const TriggerPrimitive &tp1, const TriggerPrimitive &tp2) | |
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.
References L1TMuon::TriggerPrimitive::RPCData::bx, L1TMuon::TriggerPrimitive::RPCData::layer, operator=(), operator==(), and L1TMuon::TriggerPrimitive::RPCData::strip.
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 133 of file MuonTriggerPrimitive.cc.
References _globalsector, _rpc, _subsector, L1TMuon::TriggerPrimitive::RPCData::bx, calculateRPCGlobalSector(), L1TMuon::TriggerPrimitive::RPCData::layer, digi_MixPreMix_cfi::strip, and L1TMuon::TriggerPrimitive::RPCData::strip.
TriggerPrimitive::TriggerPrimitive | ( | const TriggerPrimitive & | tp | ) |
Definition at line 172 of file MuonTriggerPrimitive.cc.
TriggerPrimitive::TriggerPrimitive | ( | const TriggerPrimitive & | tp1, |
const TriggerPrimitive & | tp2 | ||
) |
Definition at line 112 of file MuonTriggerPrimitive.cc.
References _csc, _id, _subsystem, L1TMuon::TriggerPrimitive::CSCData::bend, L1TMuon::TriggerPrimitive::CSCData::bx, L1TMuon::TriggerPrimitive::CSCData::bx0, L1TMuon::TriggerPrimitive::CSCData::cscID, detId(), kCSC, 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.
|
private |
Definition at line 305 of file MuonTriggerPrimitive.cc.
Referenced by getSubSector(), and TriggerPrimitive().
|
private |
Definition at line 300 of file MuonTriggerPrimitive.cc.
Referenced by getSubSector(), and TriggerPrimitive().
|
private |
Definition at line 310 of file MuonTriggerPrimitive.cc.
Referenced by getSubSector(), and TriggerPrimitive().
|
inline |
Definition at line 160 of file MuonTriggerPrimitive.h.
References _id.
Referenced by L1TMuon::InternalTrack::addStub(), L1TMuon::GeometryTranslator::calcDTSpecificPoint(), L1TwinMux::PrimitiveCombiner::combineDt(), L1TwinMux::PrimitiveCombiner::combineDtRpc(), L1TwinMux::PrimitiveCombiner::combineRpcRpc(), PrimitiveConverter::convert(), PrimitiveConverterRPC::convert(), L1TMuon::GeometryTranslator::getCSCSpecificPoint(), L1TMuon::GeometryTranslator::getRPCSpecificPoint(), L1ITMuonBarrelPrimitiveProducer::produce(), L1TwinMux::PrimitiveCombiner::radialAngleFromGlobalPhi(), and TriggerPrimitive().
const int TriggerPrimitive::getBX | ( | ) | const |
Definition at line 221 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 getRPCData(), and L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
|
inline |
Definition at line 144 of file MuonTriggerPrimitive.h.
References _phi.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce(), and L1TwinMux::PrimitiveCombiner::radialAngleFromGlobalPhi().
|
inline |
Definition at line 149 of file MuonTriggerPrimitive.h.
References _eta, _phi, _rho, JetChargeProducer_cfi::exp, funct::tan(), and theta().
Referenced by L1TwinMux::PrimitiveCombiner::combineDt(), L1TwinMux::PrimitiveCombiner::combineDtRpc(), and L1TwinMux::PrimitiveCombiner::combineRpcRpc().
|
inline |
|
inline |
Definition at line 164 of file MuonTriggerPrimitive.h.
References _csc.
Referenced by PrimitiveConverter::convert(), and L1TMuon::GeometryTranslator::getCSCSpecificPoint().
|
inline |
Definition at line 163 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 175 of file MuonTriggerPrimitive.h.
References _globalsector.
const int TriggerPrimitive::getPattern | ( | ) | const |
Definition at line 269 of file MuonTriggerPrimitive.cc.
References _csc, _subsystem, Exception, kCSC, kDT, kRPC, and L1TMuon::TriggerPrimitive::CSCData::pattern.
Referenced by PrimitiveConverter::convert(), and getRPCData().
|
inline |
Definition at line 165 of file MuonTriggerPrimitive.h.
References _rpc, getBX(), getPattern(), getStrip(), and getWire().
Referenced by PrimitiveConverterRPC::convert(), and L1TMuon::GeometryTranslator::getRPCSpecificPoint().
const int TriggerPrimitive::getStrip | ( | ) | const |
Definition at line 237 of file MuonTriggerPrimitive.cc.
References _csc, _rpc, _subsystem, Exception, kCSC, kDT, kRPC, L1TMuon::TriggerPrimitive::RPCData::strip, and L1TMuon::TriggerPrimitive::CSCData::strip.
Referenced by getRPCData().
|
inline |
Definition at line 176 of file MuonTriggerPrimitive.h.
References _subsector, calculateCSCGlobalSector(), calculateDTGlobalSector(), calculateRPCGlobalSector(), and print().
|
inline |
const int TriggerPrimitive::getWire | ( | ) | const |
Definition at line 253 of file MuonTriggerPrimitive.cc.
References _csc, _subsystem, Exception, kCSC, kDT, L1TMuon::TriggerPrimitive::CSCData::keywire, and kRPC.
Referenced by getRPCData().
const int TriggerPrimitive::Id | ( | ) | const |
Definition at line 284 of file MuonTriggerPrimitive.cc.
References _csc, _subsystem, L1TMuon::TriggerPrimitive::CSCData::cscID, Exception, kCSC, kDT, and kRPC.
Referenced by PrimitiveConverter::convert(), and rawId().
TriggerPrimitive & TriggerPrimitive::operator= | ( | const TriggerPrimitive & | tp | ) |
Definition at line 158 of file MuonTriggerPrimitive.cc.
References _csc, _dt, _eta, _globalsector, _id, _phi, _rpc, _subsector, and _subsystem.
Referenced by TriggerPrimitive().
bool TriggerPrimitive::operator== | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 186 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.
Referenced by TriggerPrimitive().
void TriggerPrimitive::print | ( | std::ostream & | out | ) | const |
Definition at line 315 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, training_settings::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.
Referenced by getSubSector().
|
inline |
Definition at line 172 of file MuonTriggerPrimitive.h.
|
inline |
Definition at line 143 of file MuonTriggerPrimitive.h.
References _eta, and stringResolutionProvider_cfi::eta.
|
inline |
Definition at line 145 of file MuonTriggerPrimitive.h.
References _phi.
Referenced by L1ITMuonBarrelPrimitiveProducer::produce().
|
inline |
|
inline |
|
inline |
Definition at line 140 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 194 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getCSCData(), getPattern(), getStrip(), getWire(), Id(), operator=(), operator==(), print(), and TriggerPrimitive().
|
private |
Definition at line 193 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getDTData(), operator=(), operator==(), print(), and TriggerPrimitive().
|
private |
Definition at line 203 of file MuonTriggerPrimitive.h.
Referenced by getCMSGlobalEta(), getCMSGlobalPoint(), operator=(), print(), and setCMSGlobalEta().
|
private |
Definition at line 201 of file MuonTriggerPrimitive.h.
Referenced by getGlobalSector(), operator=(), operator==(), and TriggerPrimitive().
|
private |
Definition at line 197 of file MuonTriggerPrimitive.h.
Referenced by detId(), operator=(), operator==(), rawId(), and TriggerPrimitive().
|
private |
Definition at line 203 of file MuonTriggerPrimitive.h.
Referenced by getCMSGlobalPhi(), getCMSGlobalPoint(), operator=(), print(), and setCMSGlobalPhi().
|
private |
Definition at line 203 of file MuonTriggerPrimitive.h.
Referenced by getCMSGlobalPoint(), getCMSGlobalRho(), and setCMSGlobalRho().
|
private |
Definition at line 195 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getRPCData(), getStrip(), operator=(), operator==(), print(), and TriggerPrimitive().
|
private |
Definition at line 202 of file MuonTriggerPrimitive.h.
Referenced by getSubSector(), operator=(), operator==(), and TriggerPrimitive().
|
private |
Definition at line 199 of file MuonTriggerPrimitive.h.
Referenced by getBX(), getPattern(), getStrip(), getWire(), Id(), operator=(), operator==(), print(), subsystem(), and TriggerPrimitive().
|
private |
Definition at line 204 of file MuonTriggerPrimitive.h.
Referenced by getThetaBend(), print(), and setThetaBend().