#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... | |
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... | |
const CSCChamberSpecs * | findSpecs (int iChamberType) |
bool | gangedStrips () const |
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 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 |
virtual | ~CSCGeometry () |
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().
|
virtual |
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.
|
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(), and addLayer().
|
private |
|
private |
Add a DetUnit.
Definition at line 42 of file CSCGeometry.cc.
References addDet(), GeomDet::geographicalId(), theDetTypes, theDetUnitIds, theDetUnits, theLayers, and CSCLayer::type().
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 useCentreTIOffsets_.
const CSCChamber * CSCGeometry::chamber | ( | CSCDetId | id | ) | const |
Return the chamber corresponding to given DetId.
Definition at line 118 of file CSCGeometry.cc.
References Reference_intrackfit_cff::endcap, idToDet(), relativeConstraints::ring, and relativeConstraints::station.
Referenced by CSCSegmentBuilder::build(), CSCHaloAlgo::Calculate(), CSCTriggerGeomManager::chamber(), geometryXMLparser.CSCAlignable::index(), MuonMesh::isClusteredWith(), MuonSimHitProducer::produce(), and CSCTriggerGeomManager::sectorOfChambersInStation().
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(), and AlignableMuon::buildCSCEndcap().
|
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.
|
overridevirtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 63 of file CSCGeometry.cc.
References theDetTypes.
|
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(), and CSCLayerGeometry::CSCLayerGeometry().
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.
Referenced by MuonCSCDetLayerGeometryBuilder::buildLayer(), chamber(), idToDetUnit(), CSCPairResidualsConstraint::isFiducial(), CSCPairResidualsConstraint::radius(), and CSCPairResidualsConstraint::setZplane().
|
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 GlobalHaloAlgo::Calculate(), CSCHaloAlgo::Calculate(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::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(), CSCPairResidualsConstraint::calculatePhi(), CSCRecHitDBuilder::getLayer(), geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
const CSCGeometry::LayerContainer & CSCGeometry::layers | ( | ) | const |
void CSCGeometry::queryModelling | ( | ) | const |
Dump parameters for overall strip and wire modelling.
Definition at line 128 of file CSCGeometry.cc.
References gangedstripsME1a_, trackerHitRTTI::gs, LogTrace, onlywiresME1a_, realWireGeometry_, AlCaHLTBitMon_QueryRunRegistry::string, and useCentreTIOffsets_.
Referenced by 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_, and trackerHitRTTI::gs.
|
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().