#include <CSCGeometry.h>
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 |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) More... | |
virtual const DetContainer & | dets () const |
Returm a vector of all GeomDet (including all GeomDetUnits) More... | |
virtual const DetTypeContainer & | detTypes () const |
Return a vector of all det types. More... | |
virtual const DetIdContainer & | detUnitIds () const |
Returm a vector of all GeomDetUnit DetIds. More... | |
virtual const DetUnitContainer & | detUnits () const |
Returm a vector of all GeomDetUnit. More... | |
const CSCChamberSpecs * | findSpecs (int iChamberType) |
bool | gangedStrips () const |
virtual const GeomDet * | idToDet (DetId) const |
virtual const GeomDetUnit * | idToDetUnit (DetId) const |
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::vector< CSCChamber * > | ChamberContainer |
typedef std::map< DetId, GeomDet * > | CSCDetMap |
typedef std::map< int, const CSCChamberSpecs *, std::less < int > > | CSCSpecsContainer |
typedef std::vector< CSCLayer * > | LayerContainer |
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 |
Additional Inherited Members | |
Public Types inherited from TrackingGeometry | |
typedef std::vector< GeomDet * > | DetContainer |
typedef std::vector< DetId > | DetIdContainer |
typedef std::vector < GeomDetType * > | DetTypeContainer |
typedef std::vector < GeomDetUnit * > | DetUnitContainer |
typedef __gnu_cxx::hash_map < unsigned int, GeomDet * > | mapIdToDet |
typedef __gnu_cxx::hash_map < unsigned int, GeomDetUnit * > | mapIdToDetUnit |
The model of the geometry of the endcap muon CSC detectors.
Definition at line 24 of file CSCGeometry.h.
|
private |
Definition at line 29 of file CSCGeometry.h.
|
private |
Definition at line 26 of file CSCGeometry.h.
|
private |
Definition at line 28 of file CSCGeometry.h.
|
private |
Definition at line 30 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 130 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().
|
virtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implements TrackingGeometry.
Definition at line 87 of file CSCGeometry.cc.
References theDetIds.
|
virtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implements TrackingGeometry.
Definition at line 75 of file CSCGeometry.cc.
References theDets.
|
virtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 63 of file CSCGeometry.cc.
References theDetTypes.
|
virtual |
Returm a vector of all GeomDetUnit DetIds.
Implements TrackingGeometry.
Definition at line 81 of file CSCGeometry.cc.
References theDetUnitIds.
|
virtual |
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 110 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().
|
virtual |
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(), MuonSimHitsValidAnalyzer::fillCSC(), 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(), MuonTruth::associateCSCHitId(), MuonTruth::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_, 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 124 of file CSCGeometry.h.
References realWireGeometry_.
Referenced by CSCLayerGeometry::CSCLayerGeometry().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Definition at line 34 of file CSCGeometry.h.
|
friend |
Definition at line 35 of file CSCGeometry.h.
|
private |
Definition at line 171 of file CSCGeometry.h.
Referenced by CSCGeometry(), and setDebugV().
|
private |
Definition at line 173 of file CSCGeometry.h.
Referenced by gangedStrips(), queryModelling(), and setGangedStripsInME1a().
|
private |
Definition at line 174 of file CSCGeometry.h.
Referenced by queryModelling(), setOnlyWiresInME1a(), and wiresOnly().
|
private |
Definition at line 175 of file CSCGeometry.h.
Referenced by queryModelling(), realWireGeometry(), and setUseRealWireGeometry().
|
private |
Definition at line 179 of file CSCGeometry.h.
Referenced by buildSpecs(), findSpecs(), and ~CSCGeometry().
|
private |
Definition at line 153 of file CSCGeometry.h.
Referenced by addChamber(), chambers(), and ~CSCGeometry().
|
private |
Definition at line 163 of file CSCGeometry.h.
|
private |
Definition at line 161 of file CSCGeometry.h.
|
private |
Definition at line 160 of file CSCGeometry.h.
Referenced by addDetType(), addLayer(), and detTypes().
|
private |
Definition at line 164 of file CSCGeometry.h.
Referenced by addLayer(), and detUnitIds().
|
private |
Definition at line 162 of file CSCGeometry.h.
Referenced by addLayer(), and detUnits().
|
private |
Definition at line 167 of file CSCGeometry.h.
Referenced by addLayer(), and layers().
|
private |
Definition at line 156 of file CSCGeometry.h.
|
private |
Definition at line 176 of file CSCGeometry.h.
Referenced by centreTIOffsets(), queryModelling(), and setUseCentreTIOffsets().