11 onlywiresME1a_(
false), realWireGeometry_(
true), useCentreTIOffsets_(
false) {
15 CSCGeometry::CSCGeometry(
bool dbgv,
bool gangedstripsME1a,
bool onlywiresME1a,
bool realWireGeometry,
bool useCentreTIOffsets ) :
16 debugV_(dbgv), gangedstripsME1a_( gangedstripsME1a ), onlywiresME1a_( onlywiresME1a ),
17 realWireGeometry_( realWireGeometry ), useCentreTIOffsets_( useCentreTIOffsets ) {
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()) ?
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
std::vector< GeomDetType const * > DetTypeContainer
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)
virtual const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
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
DetTypeContainer theDetTypes
virtual const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
const GeomDetType & type() const
void addLayer(CSCLayer *l)
Add a DetUnit.
const CSCChamberSpecs * findSpecs(int iChamberType)
void addDetType(GeomDetType *type)
Add a DetType.
virtual const DetTypeContainer & detTypes() const override
Return a vector of all det types.
virtual const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
DetId geographicalId() const
The label of this GeomDet.
Container::value_type value_type
virtual const DetUnitContainer & detUnits() const override
Returm a vector of all GeomDetUnit.
const CSCChamber * chamber(CSCDetId id) const
Return the chamber corresponding to given DetId.
DetIdContainer theDetUnitIds
std::vector< const CSCChamber * > ChamberContainer
CSCGeometry()
Default constructor.
const CSCLayer * layer(CSCDetId id) const
Return the layer corresponding to given DetId.
virtual const GeomDetUnit * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
std::vector< const CSCLayer * > LayerContainer
volatile std::atomic< bool > shutdown_flag false
std::vector< GeomDet const * > DetContainer
std::vector< GeomDetUnit const * > DetUnitContainer
const LayerContainer & layers() const
Return a vector of all layers.
std::vector< DetId > DetIdContainer
virtual const GeomDet * idToDet(DetId) const override