|
|
Go to the documentation of this file.
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),
92 CSCDetMap::const_iterator
i =
theMap.find(
id);
93 return (
i !=
theMap.end()) ?
i->second :
nullptr;
102 return dynamic_cast<const CSCChamber*>(
idToDet(
id1));
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,
const CSCChamberSpecs * buildSpecs(int iChamberType, const std::vector< float > &fpar, const std::vector< float > &fupar, const CSCWireGroupPackage &wg)
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
void addChamber(CSCChamber *ch)
Add a chamber with given DetId.
const GeomDet * idToDet(DetId) const override
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
Log< level::Info, false > LogInfo
DetTypeContainer theDetTypes
ChamberContainer theChambers
void addLayer(CSCLayer *l)
Add a DetUnit.
const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
void queryModelling() const
Dump parameters for overall strip and wire modelling.
const CSCChamberSpecs * findSpecs(int iChamberType)
std::vector< const GeomDetType * > DetTypeContainer
std::vector< DetId > DetIdContainer
DetId geographicalId() const
The label of this GeomDet.
void addDetType(GeomDetType *type)
Add a DetType.
std::vector< const GeomDet * > DetContainer
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
std::vector< const CSCChamber * > ChamberContainer
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
Container::value_type value_type
const CSCLayer * layer(CSCDetId id) const
Return the layer corresponding to given DetId.
~CSCGeometry() override
Destructor.
const LayerContainer & layers() const
Return a vector of all layers.
CSCGeometry()
Default constructor.
const ChamberContainer & chambers() const
Return a vector of all chambers.
CSCSpecsContainer specsContainer
void addDet(GeomDet *det)
Add a GeomDet; not to be called by the builder.
DetIdContainer theDetUnitIds
std::vector< const CSCLayer * > LayerContainer
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
void deallocate()
deallocate managed memory
const CSCChamber * chamber(CSCDetId id) const
Return the chamber corresponding to given DetId.