#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... | |
virtual const DetIdContainer & | detIds () const override |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) More... | |
virtual const DetContainer & | dets () const override |
Returm a vector of all GeomDet (including all GeomDetUnits) More... | |
virtual const DetTypeContainer & | detTypes () const override |
Return a vector of all det types. More... | |
virtual const DetIdContainer & | detUnitIds () const override |
Returm a vector of all GeomDetUnit DetIds. More... | |
virtual const DetUnitContainer & | detUnits () const override |
Returm a vector of all GeomDetUnit. More... | |
virtual const GeomDet * | idToDet (DetId) const override |
virtual const GeomDetUnit * | 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... | |
virtual | ~RPCGeometry () |
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 |
DetUnitContainer | theRolls |
DetTypeContainer | theRollTypes |
Additional Inherited Members | |
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 |
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.
|
virtual |
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(), CSCMotherboardME3141RPC::createRPCRollLUT(), RPCSeedPattern::extropolateStep(), CSCMotherboardME3141RPC::hasRE31andRE41(), geometryXMLparser.CSCAlignable::index(), MuonSimHitProducer::produce(), CSCMotherboardME3141RPC::retrieveRPCDigis(), CSCMotherboardME3141RPC::run(), 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(), RPCRecHitValid::bookHistograms(), RPCMonitorDigi::bookHistograms(), RPCEfficiency::bookHistograms(), RPCConeBuilder::buildCones(), CSCObjectMap::CSCObjectMap(), RPCEfficiencySecond::dqmEndJob(), DTObjectMap::DTObjectMap(), RPCDqmClient::getRPCdetId(), RPCSynchronizer::getSimHitBx(), and RPCSynchronizer::getSimHitBxAndTimingForIRPC().
|
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 GeomDetUnit.
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().
|
overridevirtual |
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(), PrimitiveConverterRPC::convert(), CSCSegtoRPC::CSCSegtoRPC(), DTSegtoRPC::DTSegtoRPC(), GlobalDigisAnalyzer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), GlobalRecHitsProducer::fillMuon(), AngleConverter::getGlobalEta(), AngleConverter::getProcessorPhi(), L1TMuon::GeometryTranslator::getRPCSpecificPoint(), HLTRPCTrigNoSyncFilter::hltFilter(), HSCPValidator::makeSimDigiPlotsRPC(), RPCGeomServ::name(), RPCRecHitProducer::produce(), 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().