CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DTLayer Class Reference

#include <DTLayer.h>

Inheritance diagram for DTLayer:
GeomDet

Public Member Functions

const DTChamberchamber () const
 
std::vector< const GeomDet * > components () const override
 A Layer has no components. More...
 
 DTLayer (const DTLayerId &id, ReferenceCountingPointer< BoundPlane > &plane, const DTTopology &topo, const DTLayerType &type, const DTSuperLayer *sl=nullptr)
 
DTLayerId id () const
 Return the DetId of this SL. More...
 
bool operator== (const DTLayer &l) const
 True if the id are the same. More...
 
const DTTopologyspecificTopology () const
 
const DTSuperLayersuperLayer () const
 
const Topologytopology () const override
 
const GeomDetTypetype () const override
 
 ~DTLayer () override
 
- Public Member Functions inherited from GeomDet
AlignmentPositionError const * alignmentPositionError () const
 Return pointer to alignment errors. More...
 
virtual const GeomDetcomponent (DetId) const
 Returns a component GeomDet given its DetId, if existing. More...
 
int gdetIndex () const
 
DetId geographicalId () const
 The label of this GeomDet. More...
 
 GeomDet (const ReferenceCountingPointer< Plane > &plane)
 
 GeomDet (Plane *plane)
 
int index () const
 
virtual bool isLeaf () const
 is a Unit More...
 
const Surface::PositionTypeposition () const
 The position (origin of the R.F.) More...
 
const Surface::RotationTyperotation () const
 The rotation defining the local R.F. More...
 
void setGdetIndex (int i)
 
void setIndex (int i)
 
const PlanespecificSurface () const
 Same as surface(), kept for backward compatibility. More...
 
virtual SubDetector subDetector () const
 Which subdetector. More...
 
const Planesurface () const
 The nominal surface of the GeomDet. More...
 
virtual const SurfaceDeformationsurfaceDeformation () const
 
GlobalPoint toGlobal (const Local2DPoint &lp) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
GlobalPoint toGlobal (const Local3DPoint &lp) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
GlobalVector toGlobal (const LocalVector &lv) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
LocalPoint toLocal (const GlobalPoint &gp) const
 Conversion to the R.F. of the GeomDet. More...
 
LocalVector toLocal (const GlobalVector &gv) const
 Conversion to the R.F. of the GeomDet. More...
 
virtual ~GeomDet ()
 

Private Attributes

DTLayerId theId
 
const DTSuperLayertheSL
 
DTTopology theTopo
 
DTLayerType theType
 

Additional Inherited Members

- Public Types inherited from GeomDet
using SubDetector = GeomDetEnumerators::SubDetector
 
- Protected Member Functions inherited from GeomDet
virtual bool setAlignmentPositionError (const AlignmentPositionError &ape)
 
void setDetId (DetId id)
 

Detailed Description

Model of a layer (row of cells) in Muon Drift Tube chambers.

The layer is the GeomDetUnit for the DTs. The individual channes are modelled by DTTopology.

Author
: Stefano Lacaprara - INFN Padova stefa.nosp@m.no.l.nosp@m.acapr.nosp@m.ara@.nosp@m.pd.in.nosp@m.fn.i.nosp@m.t

Definition at line 25 of file DTLayer.h.

Constructor & Destructor Documentation

◆ DTLayer()

DTLayer::DTLayer ( const DTLayerId id,
ReferenceCountingPointer< BoundPlane > &  plane,
const DTTopology topo,
const DTLayerType type,
const DTSuperLayer sl = nullptr 
)

Definition at line 20 of file DTLayer.cc.

25  : GeomDetUnit(*&plane), theId(id), theTopo(topo), theType(type), theSL(sl) {
26  setDetId(id);
27 }

References GeomDet::setDetId().

◆ ~DTLayer()

DTLayer::~DTLayer ( )
override

Definition at line 30 of file DTLayer.cc.

30 {}

Member Function Documentation

◆ chamber()

const DTChamber * DTLayer::chamber ( ) const

Return the chamber this Layer belongs to (0 if none, eg if a layer is built on his own)

Definition at line 45 of file DTLayer.cc.

45 { return (theSL) ? theSL->chamber() : nullptr; }

References DTSuperLayer::chamber(), and theSL.

Referenced by DTDigiSyncTOFCorr::digitizerOffset(), geometryXMLparser.CSCAlignable::index(), HoughGrouping::obtainGeometricalBorders(), DTTTrigSyncTOFCorr::offset(), and HoughGrouping::run().

◆ components()

std::vector< const GeomDet * > DTLayer::components ( ) const
overridevirtual

A Layer has no components.

Reimplemented from GeomDet.

Definition at line 47 of file DTLayer.cc.

47 { return std::vector<const GeomDet*>(); }

◆ id()

DTLayerId DTLayer::id ( void  ) const

◆ operator==()

bool DTLayer::operator== ( const DTLayer l) const

True if the id are the same.

Definition at line 41 of file DTLayer.cc.

41 { return id() == l.id(); }

References id(), and cmsLHEtoEOSManager::l.

◆ specificTopology()

const DTTopology & DTLayer::specificTopology ( ) const

Definition at line 37 of file DTLayer.cc.

37 { return theTopo; }

References theTopo.

Referenced by FWRecoGeometryESProducer::addDTGeometry(), DTNoiseCalibration::analyze(), DTEfficiencyTask::analyze(), DTResolutionAnalysisTask::analyze(), HoughGrouping::associateHits(), DTSegmentUpdator::calculateT0corr(), DTRecHitSegmentResidual::compute(), DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), DTParametrizedDriftAlgo::compute(), DTCalibValidationFromMuons::compute(), DTCalibValidation::compute(), DTDigitizer::computeTime(), dtCalibration::DTT0WireInChamberReferenceCorrection::correction(), DTDigiSyncTOFCorr::digitizerOffset(), DTTPAnalyzer::endJob(), DTNoiseCalibration::endJob(), DTDigitizer::externalDelays(), MuonShowerDigiFiller::fill(), DTSegmentUpdator::fit(), DTTrigGeom::getGeom(), DTTMax::InfoLayer::InfoLayer(), DTClusterer::initHits(), DTTrigGeom::localPosition(), HoughGrouping::obtainGeometricalBorders(), DTTTrigSyncFromDB::offset(), DTTTrigSyncTOFCorr::offset(), DTTrigGeomUtils::phiRange(), DTLocalTriggerBaseTest::phiRange(), DTCalibValidationFromMuons::recHitDistFromWire(), DTCalibValidation::recHitDistFromWire(), DTRecHitQuality::recHitDistFromWire(), GlobalRecHitsAnalyzer::recHitDistFromWire(), GlobalRecHitsProducer::recHitDistFromWire(), HoughGrouping::run(), DTResidualCalibration::segmentToWireDistance(), DTRecHitQuality::simHitDistFromFE(), DTRecHitQuality::simHitDistFromWire(), GlobalRecHitsAnalyzer::simHitDistFromWire(), GlobalRecHitsProducer::simHitDistFromWire(), DTTrigGeomUtils::thetaRange(), DTTrigGeom::tubePosInCh(), DTSegmentUpdator::updateHits(), and ValidateGeometry::validateDTLayerGeometry().

◆ superLayer()

const DTSuperLayer * DTLayer::superLayer ( ) const

Return the Superlayer this Layer belongs to (0 if any, eg if a layer is built on his own)

Definition at line 43 of file DTLayer.cc.

43 { return theSL; }

References theSL.

Referenced by DTDigiSyncTOFCorr::digitizerOffset(), DTTimingExtractor::fillTiming(), and DTTTrigSyncFromDB::offset().

◆ topology()

const Topology & DTLayer::topology ( ) const
overridevirtual

Reimplemented from GeomDet.

Definition at line 33 of file DTLayer.cc.

33 { return theTopo; }

References theTopo.

◆ type()

const GeomDetType & DTLayer::type ( ) const
overridevirtual

Reimplemented from GeomDet.

Definition at line 35 of file DTLayer.cc.

35 { return theType; }

References theType.

Member Data Documentation

◆ theId

DTLayerId DTLayer::theId
private

Definition at line 62 of file DTLayer.h.

Referenced by id().

◆ theSL

const DTSuperLayer* DTLayer::theSL
private

Definition at line 66 of file DTLayer.h.

Referenced by chamber(), and superLayer().

◆ theTopo

DTTopology DTLayer::theTopo
private

Definition at line 63 of file DTLayer.h.

Referenced by specificTopology(), and topology().

◆ theType

DTLayerType DTLayer::theType
private

Definition at line 64 of file DTLayer.h.

Referenced by type().

GeomDet::setDetId
void setDetId(DetId id)
Definition: GeomDet.h:99
GeomDetUnit
GeomDet GeomDetUnit
Definition: GeomDet.h:138
DTLayer::theType
DTLayerType theType
Definition: DTLayer.h:64
DTLayer::theTopo
DTTopology theTopo
Definition: DTLayer.h:63
DTLayer::id
DTLayerId id() const
Return the DetId of this SL.
Definition: DTLayer.cc:39
DTLayer::theSL
const DTSuperLayer * theSL
Definition: DTLayer.h:66
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:193
type
type
Definition: HCALResponse.h:21
DTLayer::theId
DTLayerId theId
Definition: DTLayer.h:62
DTSuperLayer::chamber
const DTChamber * chamber() const
Definition: DTSuperLayer.cc:52