11 onlywiresME1a_(
false), realWireGeometry_(
true), useCentreTIOffsets_(
false) {
24 for (ChamberContainer::const_iterator ich=
theChambers.begin();
28 for ( CSCSpecsContainer::const_iterator it =
100 CSCDetMap::const_iterator
i =
theMap.find(
id);
101 return (i !=
theMap.end()) ?
102 i->second :
nullptr ;
132 LogTrace(
"CSCGeometry|CSC") <<
"CSCGeometry::queryModelling entered...";
134 edm::LogInfo(
"CSC") <<
"CSCGeometry version 18-Oct-2012 queryModelling...\n";
142 edm::LogInfo(
"CSC") <<
"CSCGeometry: in ME1a use " << gs <<
" strips" <<
"\n";
148 wo =
"WIRES & STRIPS";
150 edm::LogInfo(
"CSC") <<
"CSCGeometry: in ME1a use " << wo <<
"\n";
158 edm::LogInfo(
"CSC") <<
"CSCGeometry: wires are modelled using " << wg <<
" wire geometry " <<
"\n";
166 edm::LogInfo(
"CSC") <<
"CSCGeometry: strip plane centre-to-intersection ideal " << cti <<
" corrections " <<
"\n";
171 CSCSpecsContainer::const_iterator it =
specsContainer.find( iChamberType );
177 const std::vector<float>& fpar,
178 const std::vector<float>& fupar,
CSCSpecsContainer specsContainer
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
void addDet(GeomDet *det)
Add a GeomDet; not to be called by the builder.
const CSCChamberSpecs * buildSpecs(int iChamberType, const std::vector< float > &fpar, const std::vector< float > &fupar, const CSCWireGroupPackage &wg)
const GeomDet * idToDet(DetId) const override
void queryModelling() const
Dump parameters for overall strip and wire modelling.
void addChamber(CSCChamber *ch)
Add a chamber with given DetId.
const ChamberContainer & chambers() const
Return a vector of all chambers.
ChamberContainer theChambers
DetTypeContainer theDetTypes
void addLayer(CSCLayer *l)
Add a DetUnit.
const CSCChamberSpecs * findSpecs(int iChamberType)
Container::value_type value_type
bool realWireGeometry() const
void addDetType(GeomDetType *type)
Add a DetType.
const CSCChamberSpecs * specs() const
DetId geographicalId() const
The label of this GeomDet.
const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
const CSCChamber * chamber(CSCDetId id) const
Return the chamber corresponding to given DetId.
DetIdContainer theDetUnitIds
std::vector< DetId > DetIdContainer
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
std::vector< const CSCChamber * > ChamberContainer
CSCGeometry()
Default constructor.
std::vector< const GeomDet * > DetContainer
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
const CSCLayer * layer(CSCDetId id) const
Return the layer corresponding to given DetId.
std::vector< const CSCLayer * > LayerContainer
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
~CSCGeometry() override
Destructor.
std::vector< const GeomDetType * > DetTypeContainer
const CSCChamber * chamber() const
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
const LayerContainer & layers() const
Return a vector of all layers.