Go to the documentation of this file.
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++)
55 detlayers.push_back((
DetLayer*)(*it));
const Surface::PositionType & position() const
The position (origin of the R.F.)
virtual ~MuonDTDetLayerGeometryBuilder()
Destructor.
static const int minSectorId
lowest sector id. 0 indicates all sectors (a station)
static const int minStationId
lowest station id
ExtractZ< GeomDet, float > DetZ
MuonDTDetLayerGeometryBuilder()
Constructor.
static const int maxWheelId
highest wheel number
static const int minWheelId
lowest wheel number
static std::vector< DetLayer * > buildLayers(const DTGeometry &geo)
Operations.
static const int maxStationId
highest station id
static const int maxSectorId
highest sector id.
void precomputed_value_sort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr, const Compare &comp)
const GeomDet * idToDet(DetId) const override
Geom::Phi< T > phi() const
const std::string metname