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