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
 
virtual std::vector< const GeomDet * > components () const
 A Layer has no components. More...
 
 DTLayer (DTLayerId id, ReferenceCountingPointer< BoundPlane > &plane, const DTTopology &topo, const DTLayerType &type, const DTSuperLayer *sl=0)
 
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
 
const GeomDetTypetype () const
 
virtual ~DTLayer ()
 
- 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
void setDetId (DetId id)
 
- Protected Attributes inherited from GeomDet
AlignmentPositionErrortheAlignmentPositionError = 0
 

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 26 of file DTLayer.h.

Constructor & Destructor Documentation

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

Definition at line 20 of file DTLayer.cc.

References GeomDet::setDetId().

24  :
25  GeomDetUnit(*&plane), theId(id) , theTopo(topo), theType(type) , theSL(sl){
26  setDetId(id);
27 }
void setDetId(DetId id)
Definition: GeomDet.h:120
const DTSuperLayer * theSL
Definition: DTLayer.h:69
GeomDet GeomDetUnit
Definition: GeomDet.h:168
DTLayerType theType
Definition: DTLayer.h:67
DTLayerId theId
Definition: DTLayer.h:65
DTTopology theTopo
Definition: DTLayer.h:66
DTLayer::~DTLayer ( )
virtual

Definition at line 30 of file DTLayer.cc.

30  {
31 }

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 58 of file DTLayer.cc.

References DTSuperLayer::chamber(), and theSL.

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

58  {
59  return (theSL) ? theSL->chamber() : 0;
60 }
const DTSuperLayer * theSL
Definition: DTLayer.h:69
const DTChamber * chamber() const
Definition: DTSuperLayer.cc:64
std::vector< const GeomDet * > DTLayer::components ( ) const
virtual

A Layer has no components.

Reimplemented from GeomDet.

Definition at line 62 of file DTLayer.cc.

62  {
63  return std::vector< const GeomDet*>();
64 }
DTLayerId DTLayer::id ( void  ) const
bool DTLayer::operator== ( const DTLayer l) const

True if the id are the same.

Definition at line 50 of file DTLayer.cc.

References id().

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

Definition at line 42 of file DTLayer.cc.

References theTopo.

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

42  {
43  return theTopo;
44 }
DTTopology theTopo
Definition: DTLayer.h:66
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 54 of file DTLayer.cc.

References theSL.

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

54  {
55  return theSL;
56 }
const DTSuperLayer * theSL
Definition: DTLayer.h:69
const Topology & DTLayer::topology ( ) const
virtual

Reimplemented from GeomDet.

Definition at line 34 of file DTLayer.cc.

References theTopo.

34  {
35  return theTopo;
36 }
DTTopology theTopo
Definition: DTLayer.h:66
const GeomDetType & DTLayer::type ( ) const
virtual

Reimplemented from GeomDet.

Definition at line 38 of file DTLayer.cc.

References theType.

38  {
39  return theType;
40 }
DTLayerType theType
Definition: DTLayer.h:67

Member Data Documentation

DTLayerId DTLayer::theId
private

Definition at line 65 of file DTLayer.h.

Referenced by id().

const DTSuperLayer* DTLayer::theSL
private

Definition at line 69 of file DTLayer.h.

Referenced by chamber(), and superLayer().

DTTopology DTLayer::theTopo
private

Definition at line 66 of file DTLayer.h.

Referenced by specificTopology(), and topology().

DTLayerType DTLayer::theType
private

Definition at line 67 of file DTLayer.h.

Referenced by twikiExport.Constituent::__str__(), and type().