#include <CSCDetId.h>
Public Member Functions | |
int | chamber () const |
CSCDetId | chamberId () const |
std::string | chamberName () const |
int | channel (int istrip) |
CSCDetId () | |
CSCDetId (uint32_t id) | |
CSCDetId (DetId id) | |
CSCDetId (int iendcap, int istation, int iring, int ichamber, int ilayer=0) | |
int | endcap () const |
unsigned short | iChamberType () const |
bool | isME11 () const |
bool | isME12 () const |
bool | isME13 () const |
bool | isME1a () const |
bool | isME1b () const |
bool | isME21 () const |
bool | isME22 () const |
bool | isME31 () const |
bool | isME32 () const |
bool | isME41 () const |
bool | isME42 () const |
int | layer () const |
std::string | layerName () const |
int | ring () const |
int | station () const |
int | triggerCscId () const |
int | triggerSector () const |
short int | zendcap () const |
Public Member Functions inherited from DetId | |
constexpr Detector | det () const |
get the detector field from this detid More... | |
constexpr | DetId () |
Create an empty or null id (also for persistence) More... | |
constexpr | DetId (uint32_t id) |
Create an id from a raw number. More... | |
constexpr | DetId (Detector det, int subdet) |
Create an id, filling the detector and subdetector fields as specified. More... | |
constexpr bool | null () const |
is this a null id ? More... | |
constexpr | operator uint32_t () const |
constexpr bool | operator!= (DetId id) const |
inequality More... | |
constexpr uint32_t | operator() () const |
constexpr bool | operator< (DetId id) const |
comparison More... | |
constexpr bool | operator== (DetId id) const |
equality More... | |
constexpr uint32_t | rawId () const |
get the raw id More... | |
constexpr int | subdetId () const |
get the contents of the subdetector field (not cast into any detector's numbering enum) More... | |
Static Public Member Functions | |
static int | chamber (int index) |
static std::string | chamberName (int endcap, int station, int ring, int chamber) |
static std::string | chamberName (int iChamberType) |
static int | endcap (int index) |
static unsigned short | iChamberType (unsigned short istation, unsigned short iring) |
static int | layer (int index) |
static std::string | layerName (int endcap, int station, int ring, int chamber, int layer) |
static int | maxChamberId () |
static int | maxEndcapId () |
static int | maxLayerId () |
static int | maxRingId () |
static int | maxStationId () |
static int | minChamberId () |
static int | minEndcapId () |
static int | minLayerId () |
static int | minRingId () |
static int | minStationId () |
static int | rawIdMaker (int iendcap, int istation, int iring, int ichamber, int ilayer) |
static int | ring (int index) |
static int | station (int index) |
Private Types | |
enum | eMaskBitDet { MASK_ENDCAP = 07, MASK_STATION = 07, MASK_RING = 07, MASK_CHAMBER = 077, MASK_LAYER = 07 } |
enum | eMaxNum { MAX_ENDCAP = 2, MAX_STATION = 4, MAX_RING = 4, MAX_CHAMBER = 36, MAX_LAYER = 6 } |
enum | eMinNum { MIN_ENDCAP = 1, MIN_STATION = 1, MIN_RING = 1, MIN_CHAMBER = 1, MIN_LAYER = 1 } |
enum | eNumBitDet { BITS_ENDCAP = 3, BITS_STATION = 3, BITS_RING = 3, BITS_CHAMBER = 6, BITS_LAYER = 3 } |
enum | eStartBitDet { START_CHAMBER = BITS_LAYER, START_RING = START_CHAMBER + BITS_CHAMBER, START_STATION = START_RING + BITS_RING, START_ENDCAP = START_STATION + BITS_STATION } |
Static Private Member Functions | |
static int | detIdToInt (int iring) |
static uint32_t | init (int iendcap, int istation, int iring, int ichamber, int ilayer) |
static int | intToDetId (int iring) |
Additional Inherited Members | |
Public Types inherited from DetId | |
enum | Detector { Tracker = 1, Muon = 2, Ecal = 3, Hcal = 4, Calo = 5, Forward = 6, VeryForward = 7, HGCalEE = 8, HGCalHSi = 9, HGCalHSc = 10, HGCalTrigger = 11 } |
Static Public Attributes inherited from DetId | |
static const int | kDetMask = 0xF |
static const int | kDetOffset = 28 |
static const int | kSubdetMask = 0x7 |
static const int | kSubdetOffset = 25 |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Identifier class for hierarchy of Endcap Muon detector components.
Ported from MuEndDetectorId but now derived from DetId and updated accordingly.
Allows access to hardware integer labels of the subcomponents of the Muon Endcap CSC detector system.
The STATIC member functions can be used to translate back and forth between a layer/chamber 'rawId' and the set of subdetector labels.
Definition at line 26 of file CSCDetId.h.
|
private |
Enumerator | |
---|---|
MASK_ENDCAP | |
MASK_STATION | |
MASK_RING | |
MASK_CHAMBER | |
MASK_LAYER |
Definition at line 312 of file CSCDetId.h.
|
private |
Enumerator | |
---|---|
MAX_ENDCAP | |
MAX_STATION | |
MAX_RING | |
MAX_CHAMBER | |
MAX_LAYER |
Definition at line 303 of file CSCDetId.h.
|
private |
Enumerator | |
---|---|
MIN_ENDCAP | |
MIN_STATION | |
MIN_RING | |
MIN_CHAMBER | |
MIN_LAYER |
Definition at line 305 of file CSCDetId.h.
|
private |
Enumerator | |
---|---|
BITS_ENDCAP | |
BITS_STATION | |
BITS_RING | |
BITS_CHAMBER | |
BITS_LAYER |
Definition at line 309 of file CSCDetId.h.
|
private |
Enumerator | |
---|---|
START_CHAMBER | |
START_RING | |
START_STATION | |
START_ENDCAP |
Definition at line 315 of file CSCDetId.h.
|
inline |
Default constructor; fills the common part in the base and leaves 0 in all other fields
Definition at line 30 of file CSCDetId.h.
Referenced by chamberId().
|
inline |
Construct from a packed id. It is required that the Detector part of id is Muon and the SubDet part is CSC, otherwise an exception is thrown.
Definition at line 34 of file CSCDetId.h.
|
inline |
Definition at line 35 of file CSCDetId.h.
|
inline |
Construct from fully qualified identifier. Input values are required to be within legal ranges, otherwise an exception is thrown.
iendcap: 1=forward (+Z), 2=backward(-Z)
Definition at line 41 of file CSCDetId.h.
References DetId::id_, and init().
|
inline |
Return Chamber label.
Definition at line 62 of file CSCDetId.h.
References DetId::id_, MASK_CHAMBER, and START_CHAMBER.
Referenced by OMTFinputMaker::acceptDigi(), CscDigiToStubsConverterOmtf::acceptDigi(), CSCPairResidualsConstraint::addTrack(), CSCChamberMasker::ageDigis(), CSCStubResolutionValidation::analyze(), L1TdeCSCTPG::analyze(), MuonAlignmentAnalyzer::analyze(), MuonGeometrySanityCheck::analyze(), CSCChamberMasker::beginRun(), CSCGeometryParsFromDD::build(), CSCRecHitDBuilder::build(), GEMCSCSegmentBuilder::build(), CSCGeometryBuilder::buildChamber(), chamberName(), MuonAlignmentFromReference::chamberPrettyNameFromId(), PrimitiveConversion::convert_csc(), CSCChamberFitter::CSCChamberFitter(), CSCReadoutMapping::detId(), CSCDigitizer::doAction(), CSCOfflineMonitor::doBXMonitor(), CSCSkim::doCSCSkimming(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSkim::doMessyEventSkimming(), CSCOfflineMonitor::doOccupancies(), CSCValidation::doOccupancies(), CSCValidation::doRecHits(), CSCValidation::doTimeMonitoring(), CSCPairResidualsConstraint::dphidzFromTrack(), CSCEfficiency::fillRechitsSegments_info(), CSCEfficiency::fillSimhit_info(), MuonGeometryArrange::fillTree(), CSCValidation::findNonAssociatedRecHits(), MuonAlignmentFromReference::fitAndAlign(), cscdqm::EventProcessor::getCSCFromMap(), CSCStubMatcher::getGlobalPosition(), OMTFinputMaker::getInputNumber(), TrackerMuonHitExtractor::getMuonHits(), AngleConverter::getProcessorPhi(), AngleConverterBase::getProcessorPhi(), HLTCSCOverlapFilter::hltFilter(), geometryXMLparser.CSCAlignable::index(), DetIdInfo::info(), TAMuonChamberMatch::info(), fireworks::info(), TrackerMuonHitExtractor::init(), cscdqm::Summary::isChamberStandby(), layerName(), CSCSimHitMatcher::LocalBendingInChamber(), CSCStubMatcher::matchALCTsToSimTrack(), CSCStubMatcher::matchCLCTsToSimTrack(), MuonSegmentMatcher::matchCSC(), CSCStubMatcher::matchLCTsToSimTrack(), CSCDigiMatcher::nLayersWithComparatorInChamber(), CSCDigiMatcher::nLayersWithStripInChamber(), CSCDigiMatcher::nLayersWithWireInChamber(), DataROOTDumper2::observeEventEnd(), muon::overlap(), omtf::CscPacker::pack(), CSCChipSpeedCorrectionDBConditions::prefillDBChipSpeedCorrection(), MuonTrackProducer::produce(), CSCDCCUnpacker::produce(), CSCChamberFitter::radiusCorrection(), CSCOverlapsAlignmentAlgorithm::run(), AlignmentCSCOverlapSelector::select(), PrimitiveSelection::select_csc(), SectorProcessorShower::select_shower(), CSCPairResidualsConstraint::setZplane(), CSCSegtoRPC::thePoints(), triggerCscId(), L1TMuon::TriggerPrimitive::TriggerPrimitive(), and triggerSector().
|
inlinestatic |
Return Chamber label for supplied CSCDetId index.
Definition at line 162 of file CSCDetId.h.
References MASK_CHAMBER, and START_CHAMBER.
Referenced by geometryXMLparser.CSCAlignable::index().
|
inline |
Chamber CSCDetId from a Layer CSCDetId
Definition at line 47 of file CSCDetId.h.
References CSCDetId(), DetId::id_, and layer().
Referenced by GlobalMuonRefitter::checkMuonHits(), CSCDigitizer::doAction(), CSCValidation::doTimeMonitoring(), AlignmentMonitorMuonResiduals::event(), CSCSegmentValidation::fillLayerHitsPerChamber(), CSCStripElectronicsSim::fillMissingLayer(), CSCChamber::layer(), CSCDigitizer::layersMissing(), CSCDigiMatcher::matchComparatorsToSimTrack(), CSCRecHitMatcher::matchCSCRecHit2DsToSimTrack(), CSCDigiMatcher::matchStripsToSimTrack(), CSCDigiMatcher::matchWiresToSimTrack(), CSCDetIdSameChamberCompare::operator()(), CSCDetIdSameChamberComparator::operator()(), and GlobalMuonRefitter::selectMuonHits().
|
static |
Returns the chamber name in the format ME$sign$station/$ring/$chamber. Example: ME+1/1/9
Definition at line 74 of file CSCDetId.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CSCDigiFilter::filterDigis(), and CSCCathodeLCTProcessor::getDigis().
|
static |
Definition at line 85 of file CSCDetId.cc.
References mergeVDriftHistosByStation::stations, and AlCaHLTBitMon_QueryRunRegistry::string.
std::string CSCDetId::chamberName | ( | ) | const |
Definition at line 92 of file CSCDetId.cc.
References chamber(), endcap(), ring(), and station().
Referenced by CSCRecHit2DValidation::bookHistograms(), CSCSegmentValidation::bookHistograms(), CSCCLCTDigiValidation::bookHistograms(), CSCCorrelatedLCTDigiValidation::bookHistograms(), CSCALCTDigiValidation::bookHistograms(), CSCWireDigiValidation::bookHistograms(), CSCStubResolutionValidation::bookHistograms(), CSCStubEfficiencyValidation::bookHistograms(), CSCComparatorDigiValidation::bookHistograms(), GEMEffByGEMCSCSegmentSource::bookMisc(), CSCBaseboard::CSCBaseboard(), MuonCSCDigisHarvestor::dqmEndJob(), and CSCCathodeLCTProcessor::run().
|
inline |
Geometric channel no. from geometric strip no. - identical except for ME1a ganged strips
Note that 'Geometric' means increasing number corresponds to increasing local x coordinate.
Definition at line 105 of file CSCDetId.h.
References ring().
Referenced by CSCRecHit2D::sharesInput().
|
inlinestaticprivate |
Definition at line 291 of file CSCDetId.h.
References mps_fire::i.
Referenced by ring().
|
inline |
Return Endcap label. 1=forward (+Z); 2=backward (-Z)
Definition at line 85 of file CSCDetId.h.
References DetId::id_, MASK_ENDCAP, and START_ENDCAP.
Referenced by OMTFinputMaker::acceptDigi(), CscDigiToStubsConverterOmtf::acceptDigi(), CSCComparatorData::add(), CSCDigiToRaw::add(), CSCPairResidualsConstraint::addTrack(), CSCChamberMasker::ageDigis(), CSCALCTDigiValidation::analyze(), CSCCLCTDigiValidation::analyze(), CSCCLCTPreTriggerDigiValidation::analyze(), CSCCorrelatedLCTDigiValidation::analyze(), CSCStubResolutionValidation::analyze(), CSCAFEBConnectAnalysis::analyze(), CSCAFEBThrAnalysis::analyze(), MuonAlignmentAnalyzer::analyze(), MuonGeometrySanityCheck::analyze(), BeamHaloAnalyzer::analyze(), CSCChamberMasker::beginRun(), CSCGeometryParsFromDD::build(), CSCRecHitDBuilder::build(), GEMCSCSegmentBuilder::build(), CSCGeometryBuilder::buildChamber(), AlignableMuon::buildCSCEndcap(), CSCPairResidualsConstraint::calculatePhi(), chamberName(), MuonAlignmentFromReference::chamberPrettyNameFromId(), CSCComparatorData::comparatorDigis(), PrimitiveConversion::convert_csc(), CSCChamberFitter::CSCChamberFitter(), CSCReadoutMapping::detId(), CSCCFEBData::digis(), CSCDigitizer::doAction(), CSCOfflineMonitor::doBXMonitor(), CSCSkim::doCertainChamberSelection(), CSCSkim::doCSCSkimming(), CSCSkim::doDTOverlap(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSkim::doHaloLike(), CSCSkim::doMessyEventSkimming(), CSCOfflineMonitor::doOccupancies(), CSCValidation::doOccupancies(), CSCSkim::doOverlapSkimming(), CSCOfflineMonitor::doRecHits(), CSCValidation::doRecHits(), CSCValidation::doSegments(), CSCValidation::doTimeMonitoring(), CSCPairResidualsConstraint::dphidzFromTrack(), csc::L1TrackId::endcap(), AlignmentMonitorMuonResiduals::event(), CSCEfficiency::fillRechitsSegments_info(), CSCEfficiency::fillSimhit_info(), CSCValidation::findNonAssociatedRecHits(), MuonAlignmentFromReference::fitAndAlign(), cscdqm::EventProcessor::getCSCFromMap(), CSCStubMatcher::getGlobalPosition(), TrackerMuonHitExtractor::getMuonHits(), AngleConverterBase::getProcessorPhi(), HLTCSCOverlapFilter::hltFilter(), geometryXMLparser.CSCAlignable::index(), DetIdInfo::info(), TAMuonChamberMatch::info(), fireworks::info(), TrackerMuonHitExtractor::init(), cscdqm::Summary::isChamberStandby(), layerName(), CSCMuonPortCard::loadLCTs(), CSCSimHitMatcher::LocalBendingInChamber(), CSCStubMatcher::matchALCTsToSimTrack(), CSCStubMatcher::matchCLCTsToSimTrack(), MuonSegmentMatcher::matchCSC(), CSCStubMatcher::matchLCTsToSimTrack(), CSCDigiMatcher::nLayersWithComparatorInChamber(), CSCDigiMatcher::nLayersWithStripInChamber(), CSCDigiMatcher::nLayersWithWireInChamber(), CSCDetIdSameDetLayerComparator::operator()(), muon::overlap(), CSCChipSpeedCorrectionDBConditions::prefillDBChipSpeedCorrection(), cscdqm::EventProcessor::processCSC(), MuonTrackProducer::produce(), MuonSimHitProducer::produce(), CSCDCCUnpacker::produce(), CSCChamberFitter::radiusCorrection(), CSCOverlapsAlignmentAlgorithm::run(), AlignmentCSCOverlapSelector::select(), AlignmentCSCBeamHaloSelector::select(), AlignmentCSCTrackSelector::select(), PrimitiveSelection::select_csc(), SectorProcessorShower::select_shower(), CSCPairResidualsConstraint::setZplane(), CSCSegtoRPC::thePoints(), TracktoRPC::thePoints(), L1TMuon::TriggerPrimitive::TriggerPrimitive(), ValidateGeometry::validateCSChamberGeometry(), ValidateGeometry::validateCSCLayerGeometry(), and zendcap().
|
inlinestatic |
Return Endcap label for supplied CSCDetId index.
Definition at line 185 of file CSCDetId.h.
References MASK_ENDCAP, and START_ENDCAP.
Referenced by geometryXMLparser.CSCAlignable::index().
|
inline |
Chamber type (integer 1-10)
Definition at line 96 of file CSCDetId.h.
References iChamberType(), ring(), and station().
Referenced by CSCALCTDigiValidation::analyze(), CSCCLCTDigiValidation::analyze(), CSCCLCTPreTriggerDigiValidation::analyze(), CSCCorrelatedLCTDigiValidation::analyze(), CSCStubEfficiencyValidation::analyze(), CSCSegAlgoRU::areHitsCloseInGlobalPhi(), CSCSegAlgoRU::areHitsCloseInR(), GEMEffByGEMCSCSegmentSource::checkCoincidenceGE11(), CSCOfflineMonitor::doEfficiencies(), CSCAnodeLCTProcessor::encodeHighMultiplicityBits(), CSCCathodeLCTProcessor::encodeHighMultiplicityBits(), CSCDigiToRaw::findEventData(), CSCMake2DRecHit::hitFromStripAndWire(), iChamberType(), CSCSegAlgoRU::isHitNearSegment(), isME12(), isME13(), isME1a(), isME1b(), isME21(), isME22(), isME31(), isME32(), isME41(), isME42(), and CSCALCTHeader::selfTest().
|
static |
Return a unique integer 1-10 for a station, ring pair: 1 for S = 1 and R=4 inner strip part of ME11 (ME1a) 2,3,4 = R+1 for S = 1 and R = 1,2,3 (ME11 means ME1b) 5-10 = 2*S+R for S = 2,3,4 and R = 1,2
Definition at line 52 of file CSCDetId.cc.
References mps_fire::i.
|
inlinestaticprivate |
Method for initialization within ctors.
Definition at line 264 of file CSCDetId.h.
References intToDetId(), MASK_CHAMBER, MASK_ENDCAP, MASK_LAYER, MASK_RING, MASK_STATION, START_CHAMBER, START_ENDCAP, START_RING, and START_STATION.
Referenced by CSCDetId(), and rawIdMaker().
|
inlinestaticprivate |
Methods for reordering CSCDetId for ME1 detectors.
Internally the chambers are ordered (Station/Ring) as: ME1/a (1/1), ME1/b (1/2), ME1/2 (1/3), ME1/3 (1/4) i.e. they are labelled within the DetId as if ME1a, ME1b, ME12, ME13 are rings 1, 2, 3, 4. The offline software always considers rings 1, 2, 3, 4 as ME1b, ME12, ME13, ME1a so that at least ME12 and ME13 have ring numbers which match in hardware and software!
Definition at line 282 of file CSCDetId.h.
References mps_fire::i.
Referenced by init().
bool CSCDetId::isME11 | ( | ) | const |
Definition at line 64 of file CSCDetId.cc.
References isME1a(), isME1b(), and or.
Referenced by L1TdeCSCTPG::analyze(), GEMEffByGEMCSCSegmentSource::analyze(), and GEMEffByGEMCSCSegmentSource::isME11SegmentMatched().
bool CSCDetId::isME12 | ( | ) | const |
bool CSCDetId::isME13 | ( | ) | const |
bool CSCDetId::isME1a | ( | ) | const |
Simple accessors
Definition at line 62 of file CSCDetId.cc.
References iChamberType(), ring(), and station().
Referenced by isME11().
bool CSCDetId::isME1b | ( | ) | const |
Definition at line 63 of file CSCDetId.cc.
References iChamberType(), ring(), and station().
Referenced by isME11().
bool CSCDetId::isME21 | ( | ) | const |
Definition at line 67 of file CSCDetId.cc.
References iChamberType(), ring(), and station().
Referenced by L1TdeCSCTPG::analyze().
bool CSCDetId::isME22 | ( | ) | const |
Definition at line 68 of file CSCDetId.cc.
References iChamberType(), ring(), and station().
Referenced by L1TdeCSCTPG::analyze().
bool CSCDetId::isME31 | ( | ) | const |
bool CSCDetId::isME32 | ( | ) | const |
Definition at line 70 of file CSCDetId.cc.
References iChamberType(), ring(), and station().
Referenced by L1TdeCSCTPG::analyze().
bool CSCDetId::isME41 | ( | ) | const |
bool CSCDetId::isME42 | ( | ) | const |
Definition at line 72 of file CSCDetId.cc.
References iChamberType(), ring(), and station().
Referenced by L1TdeCSCTPG::analyze().
|
inline |
Return Layer label.
Definition at line 56 of file CSCDetId.h.
References DetId::id_, and MASK_LAYER.
Referenced by CSCComparatorData::add(), CSCDigiToRaw::add(), CSCChamberMasker::ageDigis(), CSCSegAlgoSK::areHitsCloseInGlobalPhi(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoRU::areHitsCloseInGlobalPhi(), CSCSegAlgoRU::areHitsCloseInR(), CSCSegAlgoRU::baseline(), CSCGeometryParsFromDD::build(), CSCRecHitDBuilder::build(), CSCGeometryBuilder::buildChamber(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoRU::buildSegments(), chamberId(), CSCComparatorData::comparatorDigis(), CSCCondSegFit::correctTheCovX(), CSCSegFit::derivativeMatrix(), CSCCFEBData::digis(), CSCDigitizer::doAction(), CSCSkim::doCSCSkimming(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSkim::doMessyEventSkimming(), CSCValidation::doRecHits(), CSCOfflineMonitor::doResolution(), CSCValidation::doResolution(), CSCEfficiency::fillRechitsSegments_info(), CSCEfficiency::fillSimhit_info(), CSCValidation::findNonAssociatedRecHits(), CSCCondSegFit::fit(), CSCSegFit::fit2(), CSCSegFit::fitlsq(), CSCStubMatcher::getGlobalPosition(), MuonChamberResidual::hitlayer(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), DetIdInfo::info(), TAMuonChamberMatch::info(), fireworks::info(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), CSCSegAlgoRU::isHitNearSegment(), CSCChamber::layer(), layerName(), CSCDigitizer::layersMissing(), MuonSimHitProducer::produce(), CSCSegAlgoShowering::pruneFromResidual(), CSCSegAlgoDF::pruneFromResidual(), CSCEventData::selfTest(), CSCCondSegFit::setChi2(), CSCSegFit::setChi2(), CSCSegAlgoShowering::showerSeg(), L1TMuon::TriggerPrimitive::TriggerPrimitive(), and CSCSegAlgoTC::tryAddingHitsToSegment().
|
inlinestatic |
Return Layer label for supplied CSCDetId index.
Definition at line 156 of file CSCDetId.h.
References MASK_LAYER.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
static |
Returns the layer name in the format ME$sign$station/$ring/$chamber/$layer. Example: ME+1/1/9/1
Definition at line 79 of file CSCDetId.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
std::string CSCDetId::layerName | ( | ) | const |
|
inlinestatic |
Definition at line 241 of file CSCDetId.h.
References MAX_CHAMBER.
Referenced by MuonCSCDetLayerGeometryBuilder::buildLayer(), CSCCrosstalkConditions::prefillCrosstalk(), CSCFakeCrosstalkConditions::prefillCrosstalk(), CSCGainsConditions::prefillGains(), CSCFakeGainsConditions::prefillGains(), CSCFakeNoiseMatrixConditions::prefillNoiseMatrix(), CSCNoiseMatrixConditions::prefillNoiseMatrix(), CSCFakePedestalsConditions::prefillPedestals(), CSCTriggerNumbering::triggerCscIdFromLabels(), CSCTriggerNumbering::triggerSectorFromLabels(), and CSCTriggerNumbering::triggerSubSectorFromLabels().
|
inlinestatic |
Definition at line 235 of file CSCDetId.h.
References MAX_ENDCAP.
Referenced by L1TdeCSCTPG::analyze(), CSCTFTrackBuilder::buildTracks(), CSCTFTrackBuilder::CSCTFTrackBuilder(), CSCTFTrackBuilder::initialize(), FWRPZViewGeometry::makeMuonGeometryRhoZ(), CSCCrosstalkConditions::prefillCrosstalk(), CSCFakeCrosstalkConditions::prefillCrosstalk(), CSCGainsConditions::prefillGains(), CSCFakeGainsConditions::prefillGains(), CSCFakeNoiseMatrixConditions::prefillNoiseMatrix(), CSCNoiseMatrixConditions::prefillNoiseMatrix(), CSCFakePedestalsConditions::prefillPedestals(), CSCTFDTReceiver::process(), and CSCTFTrackBuilder::~CSCTFTrackBuilder().
|
inlinestatic |
Definition at line 243 of file CSCDetId.h.
References MAX_LAYER.
Referenced by CSCComparatorData::check(), CSCComparatorData::comparatorDigis(), CSCAnodeData2006::CSCAnodeData2006(), MuonShowerDigiFiller::fill(), CSCAnodeData2007::index(), CSCStubMatcher::matchCLCTsToSimTrack(), operator<<(), CSCCrosstalkConditions::prefillCrosstalk(), CSCFakeCrosstalkConditions::prefillCrosstalk(), CSCGainsConditions::prefillGains(), CSCFakeGainsConditions::prefillGains(), CSCFakeNoiseMatrixConditions::prefillNoiseMatrix(), CSCNoiseMatrixConditions::prefillNoiseMatrix(), CSCFakePedestalsConditions::prefillPedestals(), CSCDCCUnpacker::produce(), CSCCFEBTimeSlice::setControllerWord(), CSCCFEBData::stripDigis(), CSCEventData::stripDigis(), CSCCFEBTimeSlice::timeSample(), CSCAnodeData::wireDigis(), CSCEventData::wireDigis(), and CSCComparatorData::zero().
|
inlinestatic |
Definition at line 239 of file CSCDetId.h.
References MAX_RING.
Referenced by MuonCSCDetLayerGeometryBuilder::buildLayers(), CSCCrosstalkConditions::prefillCrosstalk(), CSCFakeCrosstalkConditions::prefillCrosstalk(), CSCGainsConditions::prefillGains(), CSCFakeGainsConditions::prefillGains(), CSCFakeNoiseMatrixConditions::prefillNoiseMatrix(), CSCNoiseMatrixConditions::prefillNoiseMatrix(), CSCFakePedestalsConditions::prefillPedestals(), CSCTriggerNumbering::triggerCscIdFromLabels(), and CSCTriggerNumbering::triggerSectorFromLabels().
|
inlinestatic |
Definition at line 237 of file CSCDetId.h.
References MAX_STATION.
Referenced by L1TdeCSCTPG::analyze(), MuonCSCDetLayerGeometryBuilder::buildLayers(), CSCTriggerNumbering::chamberFromTriggerLabels(), CSCTFSPCoreLogic::loadData(), CSCCrosstalkConditions::prefillCrosstalk(), CSCFakeCrosstalkConditions::prefillCrosstalk(), CSCGainsConditions::prefillGains(), CSCFakeGainsConditions::prefillGains(), CSCFakeNoiseMatrixConditions::prefillNoiseMatrix(), CSCNoiseMatrixConditions::prefillNoiseMatrix(), CSCFakePedestalsConditions::prefillPedestals(), CSCTriggerNumbering::ringFromTriggerLabels(), CSCTriggerNumbering::sectorFromTriggerLabels(), CSCTriggerNumbering::triggerCscIdFromLabels(), CSCTriggerNumbering::triggerSectorFromLabels(), and CSCTriggerNumbering::triggerSubSectorFromLabels().
|
inlinestatic |
Definition at line 240 of file CSCDetId.h.
References MIN_CHAMBER.
Referenced by MuonCSCDetLayerGeometryBuilder::buildLayer(), CSCCrosstalkConditions::prefillCrosstalk(), CSCFakeCrosstalkConditions::prefillCrosstalk(), CSCGainsConditions::prefillGains(), CSCFakeGainsConditions::prefillGains(), CSCFakeNoiseMatrixConditions::prefillNoiseMatrix(), CSCNoiseMatrixConditions::prefillNoiseMatrix(), CSCFakePedestalsConditions::prefillPedestals(), CSCTriggerNumbering::triggerCscIdFromLabels(), CSCTriggerNumbering::triggerSectorFromLabels(), and CSCTriggerNumbering::triggerSubSectorFromLabels().
|
inlinestatic |
Lower and upper counts for the subdetector hierarchy
Definition at line 234 of file CSCDetId.h.
References MIN_ENDCAP.
Referenced by L1TdeCSCTPG::analyze(), CSCTFTrackBuilder::buildTracks(), CSCTFTrackBuilder::CSCTFTrackBuilder(), CSCTFTrackBuilder::initialize(), FWRPZViewGeometry::makeMuonGeometryRhoZ(), CSCCrosstalkConditions::prefillCrosstalk(), CSCFakeCrosstalkConditions::prefillCrosstalk(), CSCGainsConditions::prefillGains(), CSCFakeGainsConditions::prefillGains(), CSCFakeNoiseMatrixConditions::prefillNoiseMatrix(), CSCNoiseMatrixConditions::prefillNoiseMatrix(), CSCFakePedestalsConditions::prefillPedestals(), CSCTFDTReceiver::process(), and CSCTFTrackBuilder::~CSCTFTrackBuilder().
|
inlinestatic |
Definition at line 242 of file CSCDetId.h.
References MIN_LAYER.
Referenced by CSCComparatorData::check(), CSCComparatorData::comparatorDigis(), CSCAnodeData2006::CSCAnodeData2006(), CSCStubMatcher::matchCLCTsToSimTrack(), operator<<(), CSCCrosstalkConditions::prefillCrosstalk(), CSCFakeCrosstalkConditions::prefillCrosstalk(), CSCGainsConditions::prefillGains(), CSCFakeGainsConditions::prefillGains(), CSCFakeNoiseMatrixConditions::prefillNoiseMatrix(), CSCNoiseMatrixConditions::prefillNoiseMatrix(), CSCFakePedestalsConditions::prefillPedestals(), CSCDCCUnpacker::produce(), CSCCFEBTimeSlice::setControllerWord(), CSCCFEBData::stripDigis(), CSCEventData::stripDigis(), CSCCFEBTimeSlice::timeSample(), CSCAnodeData::wireDigis(), CSCEventData::wireDigis(), and CSCComparatorData::zero().
|
inlinestatic |
Definition at line 238 of file CSCDetId.h.
References MIN_RING.
Referenced by MuonCSCDetLayerGeometryBuilder::buildLayers(), CSCCrosstalkConditions::prefillCrosstalk(), CSCFakeCrosstalkConditions::prefillCrosstalk(), CSCGainsConditions::prefillGains(), CSCFakeGainsConditions::prefillGains(), CSCFakeNoiseMatrixConditions::prefillNoiseMatrix(), CSCNoiseMatrixConditions::prefillNoiseMatrix(), CSCFakePedestalsConditions::prefillPedestals(), CSCTriggerNumbering::triggerCscIdFromLabels(), and CSCTriggerNumbering::triggerSectorFromLabels().
|
inlinestatic |
Definition at line 236 of file CSCDetId.h.
References MIN_STATION.
Referenced by L1TdeCSCTPG::analyze(), CSCTriggerNumbering::chamberFromTriggerLabels(), CSCTFSPCoreLogic::loadData(), CSCCrosstalkConditions::prefillCrosstalk(), CSCFakeCrosstalkConditions::prefillCrosstalk(), CSCGainsConditions::prefillGains(), CSCFakeGainsConditions::prefillGains(), CSCFakeNoiseMatrixConditions::prefillNoiseMatrix(), CSCNoiseMatrixConditions::prefillNoiseMatrix(), CSCFakePedestalsConditions::prefillPedestals(), CSCTriggerNumbering::ringFromTriggerLabels(), CSCTriggerNumbering::sectorFromTriggerLabels(), CSCTriggerNumbering::triggerCscIdFromLabels(), CSCTriggerNumbering::triggerSectorFromLabels(), and CSCTriggerNumbering::triggerSubSectorFromLabels().
|
inlinestatic |
Returns the unique integer 'rawId' which labels each CSC layer.
The arguments are the integer labels for, respectively,
endcap, station, ring, chamber, layer.
Definition at line 146 of file CSCDetId.h.
References MuonSubdetId::CSC, init(), DetId::kDetOffset, DetId::kSubdetOffset, and DetId::Muon.
Referenced by CSCNumberingScheme::baseNumberToUnitNumber(), CSCChamberMasker::beginRun(), CSCReadoutMapping::findHardwareId(), CSCTriggerSimpleMapping::hwId(), CSCTriggerMapping::swId(), and CSCReadoutMapping::swId().
|
inline |
Return Ring label.
Definition at line 68 of file CSCDetId.h.
References detIdToInt(), DetId::id_, MASK_RING, MASK_STATION, START_RING, and START_STATION.
Referenced by OMTFinputMaker::acceptDigi(), CscDigiToStubsConverterOmtf::acceptDigi(), CSCComparatorData::add(), CSCDigiToRaw::add(), CSCPairResidualsConstraint::addTrack(), CSCChamberMasker::ageDigis(), CSCStubResolutionValidation::analyze(), MuonAlignmentAnalyzer::analyze(), MuonGeometrySanityCheck::analyze(), CSCSegAlgoRU::baseline(), CSCChamberMasker::beginRun(), CSCGeometryBuilder::build(), FWCSCWireDigiProxyBuilder::build(), CSCGeometryParsFromDD::build(), CSCRecHitDBuilder::build(), GEMCSCSegmentBuilder::build(), CSCGeometryBuilder::buildChamber(), AlignableMuon::buildCSCEndcap(), CSCPairResidualsConstraint::calculatePhi(), CSCSimHitMatcher::chamberIds(), chamberName(), MuonAlignmentFromReference::chamberPrettyNameFromId(), channel(), CSCComparatorData::comparatorDigis(), PrimitiveConversion::convert_csc(), AngleConverterBase::cscChamberEtaSize(), CSCChamberFitter::CSCChamberFitter(), CSCReadoutMapping::detId(), CSCSimHitMatcher::detIds(), CSCCFEBData::digis(), CSCDigitizer::doAction(), CSCOfflineMonitor::doBXMonitor(), CSCSkim::doCSCSkimming(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSkim::doMessyEventSkimming(), CSCOfflineMonitor::doOccupancies(), CSCValidation::doOccupancies(), CSCValidation::doRecHits(), CSCOfflineMonitor::doResolution(), CSCValidation::doResolution(), CSCValidation::doTimeMonitoring(), CSCPairResidualsConstraint::dphidzFromTrack(), CSCRecHitTrait::emplace_back(), AlignmentMonitorMuonResiduals::event(), CSCConfigurableStripConditions::fetchNoisifier(), MuonMesh::fillMesh(), CSCEfficiency::fillRechitsSegments_info(), CSCEfficiency::fillSimhit_info(), CSCDigiToRaw::findEventData(), CSCValidation::findNonAssociatedRecHits(), MuonAlignmentFromReference::fitAndAlign(), CSCConfigurableStripConditions::gain(), CSCDriftSim::gasGain(), cscdqm::EventProcessor::getCSCFromMap(), CSCStubMatcher::getGlobalPosition(), OMTFinputMaker::getInputNumber(), OMTFConfiguration::getLayerNumber(), TrackerMuonHitExtractor::getMuonHits(), AngleConverter::getProcessorPhi(), AngleConverterBase::getProcessorPhi(), CSCValidation::getthisSignal(), CSCValidation::getWidth(), HLTCSCOverlapFilter::hltFilter(), iChamberType(), geometryXMLparser.CSCAlignable::index(), DetIdInfo::info(), TAMuonChamberMatch::info(), fireworks::info(), TrackerMuonHitExtractor::init(), cscdqm::Summary::isChamberStandby(), CSCPairResidualsConstraint::isFiducial(), isME12(), isME13(), isME1a(), isME1b(), isME21(), isME22(), isME31(), isME32(), isME41(), isME42(), layerName(), CSCSimHitMatcher::LocalBendingInChamber(), MuonSeedOrcaPatternRecognition::markAsUsed(), CSCSimHitMatcher::match(), CSCStubMatcher::matchALCTsToSimTrack(), CSCStubMatcher::matchCLCTsToSimTrack(), MuonSegmentMatcher::matchCSC(), CSCStubMatcher::matchLCTsToSimTrack(), CSCDigiMatcher::nLayersWithComparatorInChamber(), CSCDigiMatcher::nLayersWithStripInChamber(), CSCDigiMatcher::nLayersWithWireInChamber(), CSCDetIdSameDetLayerComparator::operator()(), muon::overlap(), CSCChipSpeedCorrectionDBConditions::prefillDBChipSpeedCorrection(), cscdqm::EventProcessor::processCSC(), MuonTrackProducer::produce(), MuonSimHitProducer::produce(), CSCDCCUnpacker::produce(), MuonMesh::pruneMesh(), MuonSeedPtExtractor::pT_extract(), CSCChamberFitter::radiusCorrection(), CSCDigiValidator::relabelCompDigis(), CSCOverlapsAlignmentAlgorithm::run(), CSCHitFromStripOnly::runStrip(), PrimitiveSelection::select_csc(), CSCDigiMatcher::selectDetIds(), CSCStubMatcher::selectDetIds(), CSCPairResidualsConstraint::setZplane(), SETSeedFinder::sortByLayer(), MuonSeedPtExtractor::stationCode(), CSCSegtoRPC::thePoints(), triggerCscId(), L1TMuon::TriggerPrimitive::TriggerPrimitive(), triggerSector(), and ValidateGeometry::validateCSCLayerGeometry().
|
inlinestatic |
Return Ring label for supplied CSCDetId index.
Definition at line 168 of file CSCDetId.h.
References detIdToInt(), MASK_RING, MASK_STATION, START_RING, and START_STATION.
Referenced by geometryXMLparser.CSCAlignable::index().
|
inline |
Return Station label.
Definition at line 79 of file CSCDetId.h.
References DetId::id_, MASK_STATION, and START_STATION.
Referenced by OMTFinputMaker::acceptDigi(), CscDigiToStubsConverterOmtf::acceptDigi(), CSCComparatorData::add(), CSCDigiToRaw::add(), CSCPairResidualsConstraint::addTrack(), AlignmentMonitorMuonResiduals::afterAlignment(), CSCChamberMasker::ageDigis(), CSCStubResolutionValidation::analyze(), MuonAlignmentAnalyzer::analyze(), MuonGeometrySanityCheck::analyze(), CSCSegAlgoRU::baseline(), CSCChamberMasker::beginRun(), CSCGeometryBuilder::build(), FWCSCWireDigiProxyBuilder::build(), CSCGeometryParsFromDD::build(), CSCRecHitDBuilder::build(), GEMCSCSegmentBuilder::build(), CSCGeometryBuilder::buildChamber(), AlignableMuon::buildCSCEndcap(), CSCPairResidualsConstraint::calculatePhi(), CSCSimHitMatcher::chamberIds(), chamberName(), MuonAlignmentFromReference::chamberPrettyNameFromId(), CSCComparatorData::comparatorDigis(), PrimitiveConversion::convert_csc(), AngleConverterBase::cscChamberEtaSize(), CSCChamberFitter::CSCChamberFitter(), CSCReadoutMapping::detId(), CSCSimHitMatcher::detIds(), CSCCFEBData::digis(), CSCDigitizer::doAction(), CSCOfflineMonitor::doBXMonitor(), CSCSkim::doCSCSkimming(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSkim::doMessyEventSkimming(), CSCOfflineMonitor::doOccupancies(), CSCValidation::doOccupancies(), CSCOfflineMonitor::doPedestalNoise(), CSCOfflineMonitor::doRecHits(), CSCValidation::doRecHits(), CSCOfflineMonitor::doResolution(), CSCValidation::doResolution(), CSCValidation::doTimeMonitoring(), CSCPairResidualsConstraint::dphidzFromTrack(), CSCRecHitTrait::emplace_back(), AlignmentMonitorMuonResiduals::event(), CSCConfigurableStripConditions::fetchNoisifier(), CSCEfficiency::fillRechitsSegments_info(), CSCEfficiency::fillSimhit_info(), CSCDigiToRaw::findEventData(), CSCValidation::findNonAssociatedRecHits(), MuonAlignmentFromReference::fitAndAlign(), CSCConfigurableStripConditions::gain(), CSCDriftSim::gasGain(), cscdqm::EventProcessor::getCSCFromMap(), CSCStubMatcher::getGlobalPosition(), OMTFinputMaker::getInputNumber(), OMTFConfiguration::getLayerNumber(), TrackerMuonHitExtractor::getMuonHits(), AngleConverter::getProcessorPhi(), AngleConverterBase::getProcessorPhi(), GlobalMuonRefitter::getRidOfSelectStationHits(), CSCValidation::getthisSignal(), CSCValidation::getWidth(), HLTCSCOverlapFilter::hltFilter(), iChamberType(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), DetIdInfo::info(), TAMuonChamberMatch::info(), fireworks::info(), TrackerMuonHitExtractor::init(), cscdqm::Summary::isChamberStandby(), CSCPairResidualsConstraint::isFiducial(), isME12(), isME13(), isME1a(), isME1b(), isME21(), isME22(), isME31(), isME32(), isME41(), isME42(), layerName(), CSCMuonPortCard::loadLCTs(), CSCSimHitMatcher::LocalBendingInChamber(), CSCSimHitMatcher::match(), CSCStubMatcher::matchALCTsToSimTrack(), CSCStubMatcher::matchCLCTsToSimTrack(), MuonSegmentMatcher::matchCSC(), CSCStubMatcher::matchLCTsToSimTrack(), TrackTransformerForGlobalCosmicMuons::MuonKeep(), CSCDigiMatcher::nLayersWithComparatorInChamber(), CSCDigiMatcher::nLayersWithStripInChamber(), CSCDigiMatcher::nLayersWithWireInChamber(), CSCDetIdSameDetLayerComparator::operator()(), muon::overlap(), omtf::CscPacker::pack(), CSCChipSpeedCorrectionDBConditions::prefillDBChipSpeedCorrection(), cscdqm::EventProcessor::processCSC(), MuonTrackProducer::produce(), MuonSimHitProducer::produce(), CSCDCCUnpacker::produce(), MuonSeedPtExtractor::pT_extract(), CSCChamberFitter::radiusCorrection(), CSCDigiValidator::relabelCompDigis(), CSCOverlapsAlignmentAlgorithm::run(), MuonSeedCleaner::SeedCandidates(), AlignmentCSCOverlapSelector::select(), AlignmentCSCBeamHaloSelector::select(), AlignmentCSCTrackSelector::select(), PrimitiveSelection::select_csc(), SectorProcessorShower::select_shower(), CSCDigiMatcher::selectDetIds(), CSCStubMatcher::selectDetIds(), CSCPairResidualsConstraint::setZplane(), SETSeedFinder::sortByLayer(), TAMuonChamberMatch::station(), csc::L1TrackId::station(), reco::MuonChamberMatch::station(), CSCRecHitTrait::station(), MuonSeedPtExtractor::stationCode(), DynamicTruncation::stationfromDet(), CSCSegtoRPC::thePoints(), triggerCscId(), L1TMuon::TriggerPrimitive::TriggerPrimitive(), triggerSector(), and ValidateGeometry::validateCSCLayerGeometry().
|
inlinestatic |
Return Station label for supplied CSCDetId index.
Definition at line 179 of file CSCDetId.h.
References MASK_STATION, and START_STATION.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
int CSCDetId::triggerCscId | ( | ) | const |
Return trigger-level CSC id within a sector for an Endcap Muon chamber.
This id is an index within a sector such that the 3 inner ring chambers (20 degrees each) are 1, 2, 3 (increasing counterclockwise) and the 6 outer ring chambers (10 degrees each) are 4, 5, 6, 7, 8, 9 (again increasing counter-clockwise.)
This method knows which chambers are part of which sector and returns the chamber label/index/identifier accordingly. Beware that this information is liable to change according to hardware and software changes.
Definition at line 22 of file CSCDetId.cc.
References chamber(), mps_fire::result, ring(), and station().
int CSCDetId::triggerSector | ( | ) | const |
Return trigger-level sector id for an Endcap Muon chamber.
This method encapsulates the information about which chambers are in which sectors, and may need updating according to hardware changes, or software chamber indexing.
Station 1 has 3 rings of 10-degree chambers.
Stations 2, 3, 4 have an inner ring of 20-degree chambers and an outer ring of 10-degree chambers.
Sectors are 60 degree slices of a station, covering both rings.
For Station 1, there are subsectors of 30 degrees: 9 10-degree chambers (3 each from ME1/1, ME1/2, ME1/3.)
The first sector starts at phi = 15 degrees so it matches Barrel Muon sectors. We count from one not zero.
Definition at line 3 of file CSCDetId.cc.
References chamber(), mps_fire::result, ring(), and station().
Referenced by PrimitiveConversion::convert_csc(), CSCMuonPortCard::loadLCTs(), MuonIdProducer::sectorPhi(), PrimitiveSelection::select_csc(), and SectorProcessorShower::select_shower().
|
inline |
What is the sign of global z?
Definition at line 91 of file CSCDetId.h.
References endcap().
Referenced by CSCTriggerPrimitivesBuilder::build(), CSCOfflineMonitor::doEfficiencies(), AngleConverter::getProcessorPhi(), and CSCStubMatcher::matchLCTsToSimTrack().