CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 (Plane *plane)
 
 GeomDet (const ReferenceCountingPointer< 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 ( const DTLayerId id,
ReferenceCountingPointer< BoundPlane > &  plane,
const DTTopology topo,
const DTLayerType type,
const DTSuperLayer sl = nullptr 
)

Definition at line 20 of file DTLayer.cc.

References GeomDet::setDetId().

25  : GeomDetUnit(*&plane), theId(id), theTopo(topo), theType(type), theSL(sl) {
26  setDetId(id);
27 }
GeomDet GeomDetUnit
Definition: GeomDet.h:138
void setDetId(DetId id)
Definition: GeomDet.h:99
const DTSuperLayer * theSL
Definition: DTLayer.h:66
DTLayerType theType
Definition: DTLayer.h:64
DTLayerId theId
Definition: DTLayer.h:62
DTTopology theTopo
Definition: DTLayer.h:63
DTLayer::~DTLayer ( )
override

Definition at line 30 of file DTLayer.cc.

30 {}

Member Function Documentation

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.

References DTSuperLayer::chamber(), and theSL.

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

45 { return (theSL) ? theSL->chamber() : nullptr; }
const DTSuperLayer * theSL
Definition: DTLayer.h:66
const DTChamber * chamber() const
Definition: DTSuperLayer.cc:52
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*>(); }
DTLayerId DTLayer::id ( void  ) const
bool DTLayer::operator== ( const DTLayer l) const

True if the id are the same.

Definition at line 41 of file DTLayer.cc.

References id().

41 { return id() == l.id(); }
DTLayerId id() const
Return the DetId of this SL.
Definition: DTLayer.cc:39
const DTTopology & DTLayer::specificTopology ( ) const

Definition at line 37 of file DTLayer.cc.

References theTopo.

Referenced by FWRecoGeometryESProducer::addDTGeometry(), DTEfficiencyTask::analyze(), DTResolutionAnalysisTask::analyze(), HoughGrouping::associateHits(), DTt0DBValidation::beginRun(), DTSegmentUpdator::calculateT0corr(), DTRecHitSegmentResidual::compute(), DTLinearDriftAlgo::compute(), DTNoDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTCalibValidationFromMuons::compute(), DTCalibValidation::compute(), DTDigitizer::computeTime(), DTDigiSyncTOFCorr::digitizerOffset(), DTNoiseAnalysisTest::dqmEndLuminosityBlock(), DTEfficiencyTest::dqmEndLuminosityBlock(), DTDigitizer::externalDelays(), DTSegmentUpdator::fit(), DTTrigGeom::getGeom(), DTTMax::InfoLayer::InfoLayer(), DTClusterer::initHits(), DTTrigGeom::localPosition(), HoughGrouping::obtainGeometricalBorders(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), DTTrigGeomUtils::phiRange(), DTLocalTriggerBaseTest::phiRange(), DTCalibValidationFromMuons::recHitDistFromWire(), DTCalibValidation::recHitDistFromWire(), DTRecHitQuality::recHitDistFromWire(), GlobalRecHitsAnalyzer::recHitDistFromWire(), GlobalRecHitsProducer::recHitDistFromWire(), HoughGrouping::run(), DTOccupancyTest::runOccupancyTest(), DTOccupancyTestML::runOccupancyTest(), MuonPathAnalyticAnalyzer::segment_fitter(), DTResidualCalibration::segmentToWireDistance(), DTRecHitQuality::simHitDistFromFE(), DTRecHitQuality::simHitDistFromWire(), GlobalRecHitsAnalyzer::simHitDistFromWire(), GlobalRecHitsProducer::simHitDistFromWire(), DTTrigGeomUtils::thetaRange(), DTTrigGeom::tubePosInCh(), DTSegmentUpdator::updateHits(), and ValidateGeometry::validateDTLayerGeometry().

37 { return theTopo; }
DTTopology theTopo
Definition: DTLayer.h:63
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.

References theSL.

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

43 { return theSL; }
const DTSuperLayer * theSL
Definition: DTLayer.h:66
const Topology & DTLayer::topology ( ) const
overridevirtual

Reimplemented from GeomDet.

Definition at line 33 of file DTLayer.cc.

References theTopo.

33 { return theTopo; }
DTTopology theTopo
Definition: DTLayer.h:63
const GeomDetType & DTLayer::type ( ) const
overridevirtual

Reimplemented from GeomDet.

Definition at line 35 of file DTLayer.cc.

References theType.

35 { return theType; }
DTLayerType theType
Definition: DTLayer.h:64

Member Data Documentation

DTLayerId DTLayer::theId
private

Definition at line 62 of file DTLayer.h.

Referenced by id().

const DTSuperLayer* DTLayer::theSL
private

Definition at line 66 of file DTLayer.h.

Referenced by chamber(), and superLayer().

DTTopology DTLayer::theTopo
private

Definition at line 63 of file DTLayer.h.

Referenced by specificTopology(), and topology().

DTLayerType DTLayer::theType
private

Definition at line 64 of file DTLayer.h.

Referenced by type().