Build the DT DetLayers.
- Date:
- 2006/06/02 12:21:39
- Revision:
- 1.3
- Author
- N. Amapane - CERN
Definition at line 18 of file MuonDTDetLayerGeometryBuilder.h.
Operations.
Definition at line 24 of file MuonDTDetLayerGeometryBuilder.cc.
References DTChamberId, DTGeometry::idToDet(), LogDebug, LogTrace, DTChamberId::maxSectorId, DTChamberId::maxStationId, DTChamberId::maxWheelId, metname, DTChamberId::minSectorId, DTChamberId::minStationId, DTChamberId::minWheelId, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GeomDet::position(), precomputed_value_sort(), query::result, relativeConstraints::station, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by MuonDetLayerGeometryESProducer::produce().
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.)
static const int maxStationId
highest station id
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.