22 const std::string metname =
"Muon|RecoMuon|RecoMuonDetLayers|MuonDTDetLayerGeometryBuilder";
24 vector<DetLayer*> detlayers;
25 vector<MuRodBarrelLayer*>
result;
28 vector<const DetRod*> muDetRods;
30 vector<const GeomDet*> geomDets;
34 geomDets.push_back(geomDet);
40 if (!geomDets.empty()) {
42 muDetRods.push_back(
new MuDetRod(geomDets));
44 <<
" chambers at R=" << muDetRods.back()->position().perp()
45 <<
", phi=" << muDetRods.back()->position().phi();
50 LogDebug(
metname) <<
" New MuRodBarrelLayer with " << muDetRods.size() <<
" rods, at R " 51 <<
result.back()->specificSurface().radius();
54 for (vector<MuRodBarrelLayer*>::const_iterator
it =
result.begin();
it !=
result.end();
it++)
static const int minSectorId
lowest sector id. 0 indicates all sectors (a station)
const std::string metname
Geom::Phi< T > phi() const
static const int minStationId
lowest station id
ExtractZ< GeomDet, float > DetZ
virtual ~MuonDTDetLayerGeometryBuilder()
Destructor.
static std::vector< DetLayer * > buildLayers(const DTGeometry &geo)
Operations.
const GeomDet * idToDet(DetId) const override
static const int maxStationId
highest station id
MuonDTDetLayerGeometryBuilder()
Constructor.
static const int minWheelId
lowest wheel number
void precomputed_value_sort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr, const Compare &comp)
static const int maxWheelId
highest wheel number
const Surface::PositionType & position() const
The position (origin of the R.F.)
static const int maxSectorId
highest sector id.