#include <CSCGeometry.h>
Public Types | |
typedef std::vector< const CSCChamber * > | ChamberContainer |
typedef std::vector< const CSCLayer * > | LayerContainer |
Public Types inherited from TrackingGeometry | |
typedef std::vector< GeomDet const * > | DetContainer |
typedef std::vector< DetId > | DetIdContainer |
typedef std::vector< GeomDetType const * > | DetTypeContainer |
typedef std::vector< GeomDetUnit const * > | DetUnitContainer |
typedef std::unordered_map< unsigned int, GeomDet const * > | mapIdToDet |
typedef std::unordered_map< unsigned int, GeomDetUnit const * > | mapIdToDetUnit |
Public Member Functions | |
const CSCChamberSpecs * | buildSpecs (int iChamberType, const std::vector< float > &fpar, const std::vector< float > &fupar, const CSCWireGroupPackage &wg) |
bool | centreTIOffsets () const |
const CSCChamber * | chamber (CSCDetId id) const |
Return the chamber corresponding to given DetId. More... | |
const ChamberContainer & | chambers () const |
Return a vector of all chambers. More... | |
CSCGeometry () | |
Default constructor. More... | |
CSCGeometry (bool debugV, bool gangedstripsME1a_, bool onlywiresME1a_, bool realWireGeometry_, bool useCentreTIOffsets_) | |
Real constructor. More... | |
const DetIdContainer & | detIds () const override |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) More... | |
const DetContainer & | dets () const override |
Returm a vector of all GeomDet (including all GeomDetUnits) More... | |
const DetTypeContainer & | detTypes () const override |
Return a vector of all det types. More... | |
const DetIdContainer & | detUnitIds () const override |
Returm a vector of all GeomDetUnit DetIds. More... | |
const DetUnitContainer & | detUnits () const override |
Returm a vector of all GeomDetUnit. More... | |
const CSCChamberSpecs * | findSpecs (int iChamberType) |
bool | gangedStrips () const |
const GeomDet * | idToDet (DetId) const override |
const GeomDetUnit * | idToDetUnit (DetId) const override |
Return the pointer to the GeomDetUnit corresponding to a given DetId. More... | |
const CSCLayer * | layer (CSCDetId id) const |
Return the layer corresponding to given DetId. More... | |
const LayerContainer & | layers () const |
Return a vector of all layers. More... | |
void | queryModelling () const |
Dump parameters for overall strip and wire modelling. More... | |
bool | realWireGeometry () const |
void | setDebugV (bool dbgv) |
void | setGangedStripsInME1a (bool gs) |
void | setOnlyWiresInME1a (bool ow) |
void | setUseCentreTIOffsets (bool cti) |
void | setUseRealWireGeometry (bool rwg) |
bool | wiresOnly () const |
~CSCGeometry () override | |
Destructor. More... | |
Public Member Functions inherited from TrackingGeometry | |
virtual | ~TrackingGeometry () |
Destructor. More... | |
Private Types | |
typedef std::map< DetId, GeomDet * > | CSCDetMap |
typedef std::map< int, const CSCChamberSpecs *, std::less< int > > | CSCSpecsContainer |
Private Member Functions | |
void | addChamber (CSCChamber *ch) |
Add a chamber with given DetId. More... | |
void | addDet (GeomDet *det) |
Add a GeomDet; not to be called by the builder. More... | |
void | addDetId (DetId id) |
Add a DetId. More... | |
void | addDetType (GeomDetType *type) |
Add a DetType. More... | |
void | addLayer (CSCLayer *l) |
Add a DetUnit. More... | |
Friends | |
class | CSCGeometryBuilder |
class | GeometryAligner |
The model of the geometry of the endcap muon CSC detectors.
Definition at line 24 of file CSCGeometry.h.
typedef std::vector<const CSCChamber*> CSCGeometry::ChamberContainer |
Definition at line 32 of file CSCGeometry.h.
|
private |
Definition at line 26 of file CSCGeometry.h.
|
private |
Definition at line 28 of file CSCGeometry.h.
typedef std::vector<const CSCLayer*> CSCGeometry::LayerContainer |
Definition at line 33 of file CSCGeometry.h.
CSCGeometry::CSCGeometry | ( | ) |
Default constructor.
Definition at line 10 of file CSCGeometry.cc.
References debugV_, and queryModelling().
CSCGeometry::CSCGeometry | ( | bool | debugV, |
bool | gangedstripsME1a_, | ||
bool | onlywiresME1a_, | ||
bool | realWireGeometry_, | ||
bool | useCentreTIOffsets_ | ||
) |
Real constructor.
Definition at line 15 of file CSCGeometry.cc.
References debugV_, and queryModelling().
|
override |
Destructor.
Definition at line 21 of file CSCGeometry.cc.
References specsContainer, and theChambers.
|
private |
Add a chamber with given DetId.
Definition at line 36 of file CSCGeometry.cc.
References addDet(), and theChambers.
Referenced by centreTIOffsets().
|
private |
Add a GeomDet; not to be called by the builder.
Definition at line 56 of file CSCGeometry.cc.
References GeomDet::geographicalId(), theDetIds, theDets, and theMap.
Referenced by addChamber(), addLayer(), and centreTIOffsets().
|
private |
Add a DetId.
Referenced by centreTIOffsets().
|
private |
Add a DetType.
Definition at line 51 of file CSCGeometry.cc.
References theDetTypes.
Referenced by centreTIOffsets().
|
private |
Add a DetUnit.
Definition at line 42 of file CSCGeometry.cc.
References addDet(), CSCLayer::chamber(), GeomDet::geographicalId(), CSCChamber::specs(), theDetTypes, theDetUnitIds, theDetUnits, and theLayers.
Referenced by centreTIOffsets().
const CSCChamberSpecs * CSCGeometry::buildSpecs | ( | int | iChamberType, |
const std::vector< float > & | fpar, | ||
const std::vector< float > & | fupar, | ||
const CSCWireGroupPackage & | wg | ||
) |
Build CSCChamberSpecs for given chamber type.
@ a good candidate to be replaced by a factory?
Definition at line 176 of file CSCGeometry.cc.
References specsContainer.
|
inline |
Use the backed-out offsets for theCentreToIntersection in CSCLayerGeometry
Definition at line 131 of file CSCGeometry.h.
References addChamber(), addDet(), addDetId(), addDetType(), addLayer(), checklumidiff::l, queryModelling(), and useCentreTIOffsets_.
const CSCChamber * CSCGeometry::chamber | ( | CSCDetId | id | ) | const |
Return the chamber corresponding to given DetId.
Definition at line 118 of file CSCGeometry.cc.
References makeMuonMisalignmentScenario::endcap, idToDet(), relativeConstraints::ring, and relativeConstraints::station.
Referenced by RPCEfficiency::analyze(), L1MuonRecoTreeProducer::analyze(), BeamHaloAnalyzer::analyze(), CSCSegmentBuilder::build(), GEMCSCSegmentBuilder::build(), GlobalHaloAlgo::Calculate(), CSCHaloAlgo::Calculate(), l1t::EmtfPtAssignment::calculateAddress(), CSCTriggerGeomManager::chamber(), CSCSegtoRPC::CSCSegtoRPC(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCOfflineMonitor::doSegments(), CSCValidation::doSegments(), CSCValidation::doTimeMonitoring(), CSCEfficiency::filter(), CSCComparatorDigiFitter::fit(), CSCUpgradeMotherboardLUTGenerator::generateLUTsME11(), CSCUpgradeMotherboardLUTGenerator::generateLUTsME21(), CSCUpgradeMotherboardLUTGenerator::generateLUTsME3141(), CSCComparatorDigiFitter::getComparatorDigiCoordinates(), L1TMuon::GeometryTranslator::getCSCSpecificPoint(), AngleConverter::getGlobalEta(), AngleConverter::getProcessorPhi(), geometryXMLparser.CSCAlignable::index(), MuonMesh::isClusteredWith(), MuonMesh::isDuplicateOf(), MuonSimHitProducer::produce(), CSCMotherboardME11GEM::run(), CSCTriggerGeomManager::sectorOfChambersInStation(), and CSCUpgradeMotherboard::setupGeometry().
const CSCGeometry::ChamberContainer & CSCGeometry::chambers | ( | ) | const |
Return a vector of all chambers.
Definition at line 106 of file CSCGeometry.cc.
References theChambers.
Referenced by FWRecoGeometryESProducer::addCSCGeometry(), CSCChamberMasker::beginRun(), AlignableMuon::buildCSCEndcap(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), and ValidateGeometry::validateCSChamberGeometry().
|
overridevirtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implements TrackingGeometry.
Definition at line 87 of file CSCGeometry.cc.
References theDetIds.
|
overridevirtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implements TrackingGeometry.
Definition at line 75 of file CSCGeometry.cc.
References theDets.
Referenced by CSCRecoBadChannelsAnalyzer::analyze().
|
overridevirtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 63 of file CSCGeometry.cc.
References theDetTypes.
Referenced by CSCRecoBadChannelsAnalyzer::analyze().
|
overridevirtual |
Returm a vector of all GeomDetUnit DetIds.
Implements TrackingGeometry.
Definition at line 81 of file CSCGeometry.cc.
References theDetUnitIds.
|
overridevirtual |
Returm a vector of all GeomDetUnit.
Implements TrackingGeometry.
Definition at line 69 of file CSCGeometry.cc.
References theDetUnits.
const CSCChamberSpecs * CSCGeometry::findSpecs | ( | int | iChamberType | ) |
Return the CSCChamberSpecs* for given chamber type if it exists, or 0 if it has not been created.
Definition at line 169 of file CSCGeometry.cc.
References specsContainer.
|
inline |
Ganged strips in ME1a
Definition at line 111 of file CSCGeometry.h.
References gangedstripsME1a_.
Referenced by CSCChamberSpecs::CSCChamberSpecs(), CSCLayerGeometry::CSCLayerGeometry(), and CSCOfflineMonitor::doPedestalNoise().
Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)
Implements TrackingGeometry.
Definition at line 99 of file CSCGeometry.cc.
References mps_fire::i, and theMap.
Referenced by MuonGeometrySanityCheck::analyze(), MuonCSCDetLayerGeometryBuilder::buildLayer(), chamber(), CSCEfficiency::filter(), CSCComparatorDigiFitter::fit(), CSCComparatorDigiFitter::getComparatorDigiCoordinates(), HLTCSCOverlapFilter::hltFilter(), HLTCSCRing2or3Filter::hltFilter(), idToDetUnit(), CSCPairResidualsConstraint::isFiducial(), MuonSegmentProducer::produce(), TrackerToMuonPropagator::produce(), CSCOverlapsTrackPreparation::produce(), CSCPairResidualsConstraint::radius(), CSCPairResidualsConstraint::setZplane(), and TracktoRPC::TracktoRPC().
|
overridevirtual |
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Implements TrackingGeometry.
Definition at line 93 of file CSCGeometry.cc.
References idToDet().
Referenced by BeamHaloAnalyzer::analyze(), GlobalHaloAlgo::Calculate(), CSCHaloAlgo::Calculate(), GlobalHitsProdHist::fillMuon(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProducer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), GlobalRecHitsProducer::fillMuon(), CSCBaseValidation::findLayer(), CSCDigitizer::findLayer(), layer(), and MuonSimHitProducer::produce().
Return the layer corresponding to given DetId.
Definition at line 124 of file CSCGeometry.cc.
References idToDetUnit().
Referenced by MuonCSCChamberResidual::addResidual(), MuonTruth::analyze(), CSCHitAssociator::associateCSCHitId(), CSCHitAssociator::associateHitId(), GEMCSCSegmentBuilder::build(), CSCPairResidualsConstraint::calculatePhi(), CSCOfflineMonitor::doRecHits(), CSCValidation::doRecHits(), CSCEfficiency::fillRechitsSegments_info(), CSCEfficiency::fillWG_info(), CSCValidation::findNonAssociatedRecHits(), CSCRecHitDBuilder::getLayer(), geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
const CSCGeometry::LayerContainer & CSCGeometry::layers | ( | ) | const |
Return a vector of all layers.
Definition at line 112 of file CSCGeometry.cc.
References theLayers.
Referenced by CSCRecoBadChannelsAnalyzer::analyze(), and ValidateGeometry::validateCSCLayerGeometry().
void CSCGeometry::queryModelling | ( | ) | const |
Dump parameters for overall strip and wire modelling.
Definition at line 128 of file CSCGeometry.cc.
References gangedstripsME1a_, LogTrace, onlywiresME1a_, realWireGeometry_, AlCaHLTBitMon_QueryRunRegistry::string, and useCentreTIOffsets_.
Referenced by centreTIOffsets(), and CSCGeometry().
|
inline |
Wire geometry modelled as real hardware (complex groupings of wires and dead regions) or as a pseudo geometry with just one wire grouping per chamber type (as was done in ORCA versions up to and including ORCA_8_8_1).
Definition at line 125 of file CSCGeometry.h.
References realWireGeometry_.
Referenced by CSCLayerGeometry::CSCLayerGeometry().
|
inline |
|
inline |
Definition at line 102 of file CSCGeometry.h.
References gangedstripsME1a_.
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Definition at line 35 of file CSCGeometry.h.
|
friend |
Definition at line 36 of file CSCGeometry.h.
|
private |
Definition at line 172 of file CSCGeometry.h.
Referenced by CSCGeometry(), and setDebugV().
|
private |
Definition at line 174 of file CSCGeometry.h.
Referenced by gangedStrips(), queryModelling(), and setGangedStripsInME1a().
|
private |
Definition at line 175 of file CSCGeometry.h.
Referenced by queryModelling(), setOnlyWiresInME1a(), and wiresOnly().
|
private |
Definition at line 176 of file CSCGeometry.h.
Referenced by queryModelling(), realWireGeometry(), and setUseRealWireGeometry().
|
private |
Definition at line 180 of file CSCGeometry.h.
Referenced by buildSpecs(), findSpecs(), and ~CSCGeometry().
|
private |
Definition at line 154 of file CSCGeometry.h.
Referenced by addChamber(), chambers(), and ~CSCGeometry().
|
private |
Definition at line 164 of file CSCGeometry.h.
|
private |
Definition at line 162 of file CSCGeometry.h.
|
private |
Definition at line 161 of file CSCGeometry.h.
Referenced by addDetType(), addLayer(), and detTypes().
|
private |
Definition at line 165 of file CSCGeometry.h.
Referenced by addLayer(), and detUnitIds().
|
private |
Definition at line 163 of file CSCGeometry.h.
Referenced by addLayer(), and detUnits().
|
private |
Definition at line 168 of file CSCGeometry.h.
Referenced by addLayer(), and layers().
|
private |
Definition at line 157 of file CSCGeometry.h.
|
private |
Definition at line 177 of file CSCGeometry.h.
Referenced by centreTIOffsets(), queryModelling(), and setUseCentreTIOffsets().