12 gangedstripsME1a_(
true),
13 onlywiresME1a_(
false),
14 realWireGeometry_(
true),
15 useCentreTIOffsets_(
false) {
21 bool dbgv,
bool gangedstripsME1a,
bool onlywiresME1a,
bool realWireGeometry,
bool useCentreTIOffsets)
23 gangedstripsME1a_(gangedstripsME1a),
24 onlywiresME1a_(onlywiresME1a),
25 realWireGeometry_(realWireGeometry),
26 useCentreTIOffsets_(useCentreTIOffsets) {
92 CSCDetMap::const_iterator
i =
theMap.find(
id);
93 return (i !=
theMap.end()) ? i->second :
nullptr;
111 LogTrace(
"CSCGeometry|CSC") <<
"CSCGeometry::queryModelling entered...";
113 edm::LogInfo(
"CSC") <<
"CSCGeometry version 18-Oct-2012 queryModelling...\n";
121 edm::LogInfo(
"CSC") <<
"CSCGeometry: in ME1a use " << gs <<
" strips"
128 wo =
"WIRES & STRIPS";
130 edm::LogInfo(
"CSC") <<
"CSCGeometry: in ME1a use " << wo <<
"\n";
138 edm::LogInfo(
"CSC") <<
"CSCGeometry: wires are modelled using " << wg <<
" wire geometry "
147 edm::LogInfo(
"CSC") <<
"CSCGeometry: strip plane centre-to-intersection ideal " << cti <<
" corrections "
153 CSCSpecsContainer::const_iterator it =
specsContainer.find(iChamberType);
155 aSpecs = (*it).second;
160 const std::vector<float>& fpar,
161 const std::vector<float>& fupar,
CSCSpecsContainer specsContainer
void deallocate()
deallocate managed memory
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 DetContainer & detUnits() const override
Returm a vector of all GeomDet.
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
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
const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
void addLayer(CSCLayer *l)
Add a DetUnit.
std::vector< const GeomDet * > DetContainer
const CSCChamberSpecs * findSpecs(int iChamberType)
Container::value_type value_type
void addDetType(GeomDetType *type)
Add a DetType.
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
const CSCChamberSpecs * specs() const
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
DetId geographicalId() const
The label of this GeomDet.
Log< level::Info, false > LogInfo
const CSCChamber * chamber(CSCDetId id) const
Return the chamber corresponding to given DetId.
DetIdContainer theDetUnitIds
std::vector< DetId > DetIdContainer
std::vector< const CSCChamber * > ChamberContainer
CSCGeometry()
Default constructor.
const CSCLayer * layer(CSCDetId id) const
Return the layer corresponding to given DetId.
std::vector< const GeomDetType * > DetTypeContainer
std::vector< const CSCLayer * > LayerContainer
~CSCGeometry() override
Destructor.
const CSCChamber * chamber() const
const LayerContainer & layers() const
Return a vector of all layers.
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
const GeomDet * idToDet(DetId) const override