#include <RPCGeometry.h>
Public Member Functions | |
void | add (RPCRoll *roll) |
Add a RPC roll to the Geometry. More... | |
void | add (RPCChamber *ch) |
Add a RPC roll to the Geometry. More... | |
const RPCChamber * | chamber (RPCDetId id) const |
const std::vector< const RPCChamber * > & | chambers () const |
Return a vector of all RPC chambers. 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 DetContainer & | detUnits () const override |
Returm a vector of all GeomDet. More... | |
const GeomDet * | idToDet (DetId) const override |
const GeomDet * | idToDetUnit (DetId) const override |
Return the pointer to the GeomDetUnit corresponding to a given DetId. More... | |
const RPCRoll * | roll (RPCDetId id) const |
Return a roll given its id. More... | |
const std::vector< const RPCRoll * > & | rolls () const |
Return a vector of all RPC rolls. More... | |
RPCGeometry () | |
Default constructor. More... | |
~RPCGeometry () override | |
Destructor. More... | |
Public Member Functions inherited from TrackingGeometry | |
virtual | ~TrackingGeometry () |
Destructor. More... | |
Private Attributes | |
std::vector< const RPCChamber * > | allChambers |
std::vector< const RPCRoll * > | allRolls |
DetIdContainer | theDetIds |
DetContainer | theDets |
mapIdToDet | theMap |
DetIdContainer | theRollIds |
DetContainer | theRolls |
DetTypeContainer | theRollTypes |
Additional Inherited Members | |
Public Types inherited from TrackingGeometry | |
using | DetContainer = std::vector< const GeomDet * > |
using | DetIdContainer = std::vector< DetId > |
using | DetTypeContainer = std::vector< const GeomDetType * > |
using | mapIdToDet = std::unordered_map< unsigned int, const GeomDet * > |
using | mapIdToDetUnit = std::unordered_map< unsigned int, const GeomDet * > |
The model of the geometry of RPC.
Definition at line 22 of file RPCGeometry.h.
RPCGeometry::RPCGeometry | ( | ) |
Default constructor.
Implementation of the Model for RPC Geometry
Definition at line 10 of file RPCGeometry.cc.
|
override |
Destructor.
Definition at line 13 of file RPCGeometry.cc.
void RPCGeometry::add | ( | RPCRoll * | roll | ) |
Add a RPC roll to the Geometry.
Definition at line 81 of file RPCGeometry.cc.
References allRolls, GeomDet::geographicalId(), roll(), theDetIds, theDets, theMap, theRollIds, theRolls, theRollTypes, and RPCRoll::type().
Referenced by RPCGeometryBuilderFromDDD::buildGeometry(), and counter.Counter::register().
void RPCGeometry::add | ( | RPCChamber * | ch | ) |
Add a RPC roll to the Geometry.
Definition at line 94 of file RPCGeometry.cc.
References allChambers, chamber(), GeomDet::geographicalId(), theDetIds, theDets, and theMap.
Referenced by counter.Counter::register().
const RPCChamber * RPCGeometry::chamber | ( | RPCDetId | id | ) | const |
Definition at line 71 of file RPCGeometry.cc.
References idToDet().
Referenced by add(), RPCSeedPattern::extropolateStep(), geometryXMLparser.CSCAlignable::index(), MuonSimHitProducer::produce(), and RPCCosmicSeedrecHitFinder::setEdge().
const std::vector< const RPCChamber * > & RPCGeometry::chambers | ( | ) | const |
Return a vector of all RPC chambers.
Definition at line 63 of file RPCGeometry.cc.
References allChambers.
Referenced by RPCGeometryServTest::analyze().
|
overridevirtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implements TrackingGeometry.
Definition at line 43 of file RPCGeometry.cc.
References theDetIds.
Referenced by RPCCosmicSeedrecHitFinder::setEdge().
|
overridevirtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implements TrackingGeometry.
Definition at line 33 of file RPCGeometry.cc.
References theDets.
Referenced by RPCGeometryServTest::analyze(), RPCMonitorDigi::bookHistograms(), RPCRecHitValid::bookHistograms(), RPCEfficiency::bookHistograms(), RPCConeBuilder::buildCones(), CSCObjectMap::CSCObjectMap(), RPCEfficiencySecond::dqmEndJob(), DTObjectMap::DTObjectMap(), RPCDqmClient::getRPCdetId(), RPCSynchronizer::getSimHitBx(), RPCSynchronizer::getSimHitBxAndTimingForIRPC(), RecHitProcessor::process(), and RecHitProcessor::processLook().
|
overridevirtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 23 of file RPCGeometry.cc.
References theRollTypes.
Referenced by RPCGeometryServTest::analyze().
|
overridevirtual |
Returm a vector of all GeomDetUnit DetIds.
Implements TrackingGeometry.
Definition at line 38 of file RPCGeometry.cc.
References theRollIds.
|
overridevirtual |
Returm a vector of all GeomDet.
Implements TrackingGeometry.
Definition at line 28 of file RPCGeometry.cc.
References theRolls.
Referenced by RPCGeometryServTest::analyze().
Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)
Implements TrackingGeometry.
Definition at line 53 of file RPCGeometry.cc.
References relativeConstraints::geom, mps_fire::i, LogDebug, and theMap.
Referenced by MuonRPCDetLayerGeometryBuilder::buildBarrelLayers(), MuonRPCDetLayerGeometryBuilder::buildLayer(), chamber(), idToDetUnit(), TracktoRPC::TracktoRPC(), and TracktoRPC::ValidRPCSurface().
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Implements TrackingGeometry.
Definition at line 48 of file RPCGeometry.cc.
References idToDet().
Referenced by GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), RPCDigitizer::findDet(), IRPCDigitizer::findDet(), RPCSeedOverlapper::isShareHit(), MuonSimHitProducer::produce(), roll(), and ValidateGeometry::validateRPCGeometry().
Return a roll given its id.
Definition at line 75 of file RPCGeometry.cc.
References idToDetUnit().
Referenced by add(), BetaCalculatorRPC::addInfoToCandidate(), RPCPointVsRecHit::analyze(), RPCDigiValid::analyze(), RPCRecHitValid::analyze(), RPCEfficiency::analyze(), L1MuonRecoTreeProducer::analyze(), RPCRecHitValid::bookHistograms(), CSCSegtoRPC::CSCSegtoRPC(), DTSegtoRPC::DTSegtoRPC(), GlobalDigisAnalyzer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), GlobalRecHitsProducer::fillMuon(), AngleConverter::getGlobalEta(), AngleConverter::getProcessorPhi(), L1TMuon::GeometryTranslator::getRPCSpecificPoint(), HLTRPCTrigNoSyncFilter::hltFilter(), RPCtoDTTranslator::localX(), HSCPValidator::makeSimDigiPlotsRPC(), RPCGeomServ::name(), RecHitProcessor::process(), RecHitProcessor::processLook(), RPCRecHitProducer::produce(), RPCtoDTTranslator::radialAngle(), RPCGeomServ::shortname(), RPCMonitorDigi::stripsInRoll(), and TracktoRPC::TracktoRPC().
const std::vector< const RPCRoll * > & RPCGeometry::rolls | ( | ) | const |
Return a vector of all RPC rolls.
Definition at line 67 of file RPCGeometry.cc.
References allRolls.
Referenced by FWRecoGeometryESProducer::addRPCGeometry(), FWTGeoRecoGeometryESProducer::addRPCGeometry(), RPCGeometryServTest::analyze(), RPCChamberMasker::beginRun(), RPCDigitizer::doAction(), IRPCDigitizer::doAction(), RPCRecHitFilter::filter(), and ValidateGeometry::validateRPCGeometry().
|
private |
Definition at line 84 of file RPCGeometry.h.
Referenced by add(), and chambers().
|
private |
Definition at line 83 of file RPCGeometry.h.
|
private |
Definition at line 78 of file RPCGeometry.h.
|
private |
Definition at line 75 of file RPCGeometry.h.
|
private |
Definition at line 81 of file RPCGeometry.h.
|
private |
Definition at line 77 of file RPCGeometry.h.
Referenced by add(), and detUnitIds().
|
private |
Definition at line 74 of file RPCGeometry.h.
Referenced by add(), and detUnits().
|
private |
Definition at line 76 of file RPCGeometry.h.
Referenced by add(), and detTypes().