11 onlywiresME1a(
false), useRealWireGeometry(
true), useCentreTIOffsets(
false) {
18 for (ChamberContainer::const_iterator ich=
theChambers.begin();
22 for ( CSCSpecsContainer::const_iterator it =
94 CSCDetMap::const_iterator
i =
theMap.find(
id);
95 return (i !=
theMap.end()) ?
131 LogTrace(
"CSCGeometry|CSC") <<
"CSCGeometry::queryModelling entered...";
133 std::string gs =
" ";
139 edm::LogInfo(
"CSC") <<
"CSCGeometry: in ME1a use " << gs <<
" strips" <<
"\n";
141 std::string wo =
" ";
145 wo =
"WIRES & STRIPS";
147 edm::LogInfo(
"CSC") <<
"CSCGeometry: in ME1a use " << wo <<
"\n";
149 std::string wg =
" ";
155 edm::LogInfo(
"CSC") <<
"CSCGeometry: wires are modelled using " << wg <<
" wire geometry " <<
"\n";
157 std::string cti =
" ";
163 edm::LogInfo(
"CSC") <<
"CSCGeometry: strip plane centre-to-intersection ideal " << cti <<
" corrections " <<
"\n";
168 CSCSpecsContainer::const_iterator it =
specsContainer.find( iChamberType );
174 const std::vector<float>& fpar,
175 const std::vector<float>& fupar,
CSCSpecsContainer specsContainer
void addDet(GeomDet *det)
Add a GeomDet; not to be called by the builder.
std::vector< CSCChamber * > ChamberContainer
virtual const DetIdContainer & detUnitIds() const
Returm a vector of all GeomDetUnit DetIds.
const CSCChamberSpecs * buildSpecs(int iChamberType, const std::vector< float > &fpar, const std::vector< float > &fupar, const CSCWireGroupPackage &wg)
virtual const DetIdContainer & detIds() const
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
virtual const DetUnitContainer & detUnits() const
Returm a vector of all GeomDetUnit.
virtual ~CSCGeometry()
Destructor.
void queryModelling() const
Dump parameters for overall strip and wire modelling.
void addChamber(CSCChamber *ch)
Add a chamber with given DetId.
DetUnitContainer theDetUnits
const ChamberContainer & chambers() const
Return a vector of all chambers.
ChamberContainer theChambers
std::vector< GeomDet * > DetContainer
DetTypeContainer theDetTypes
const GeomDetType & type() const
virtual const DetContainer & dets() const
Returm a vector of all GeomDet (including all GeomDetUnits)
void addLayer(CSCLayer *l)
Add a DetUnit.
const CSCChamberSpecs * findSpecs(int iChamberType)
void addDetType(GeomDetType *type)
Add a DetType.
virtual const GeomDetUnit * idToDetUnit(DetId) const
Return the pointer to the GeomDetUnit corresponding to a given DetId.
std::vector< GeomDetUnit * > DetUnitContainer
DetId geographicalId() const
The label of this GeomDet.
Container::value_type value_type
std::vector< GeomDetType * > DetTypeContainer
virtual const GeomDet * idToDet(DetId) const
const CSCChamber * chamber(CSCDetId id) const
Return the chamber corresponding to given DetId.
DetIdContainer theDetUnitIds
CSCGeometry()
Default constructor.
const CSCLayer * layer(CSCDetId id) const
Return the layer corresponding to given DetId.
virtual const DetTypeContainer & detTypes() const
Return a vector of all det types.
std::vector< CSCLayer * > LayerContainer
const LayerContainer & layers() const
Return a vector of all layers.
std::vector< DetId > DetIdContainer