CMS 3D CMS Logo

DTLayer Class Reference

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

#include <Geometry/DTGeometry/interface/DTLayer.h>

Inheritance diagram for DTLayer:

GeomDetUnit GeomDet

List of all members.

Public Member Functions

const DTChamberchamber () const
 Return the chamber this Layer belongs to (0 if none, eg if a layer is built on his own).
virtual std::vector< const
GeomDet * > 
components () const
 A Layer has no components.
 DTLayer (DTLayerId id, ReferenceCountingPointer< BoundPlane > &plane, const DTTopology &topo, const DTLayerType &type, const DTSuperLayer *sl=0)
virtual DetId geographicalId () const
 Return the DetId of this SL.
DTLayerId id () const
 Return the DetId of this SL.
bool operator== (const DTLayer &l) const
 True if the id are the same.
const DTTopologyspecificTopology () const
const DTSuperLayersuperLayer () const
 Return the Superlayer this Layer belongs to (0 if any, eg if a layer is built on his own).
const Topologytopology () const
const GeomDetTypetype () const
virtual ~DTLayer ()

Private Attributes

DTLayerId theId
const DTSuperLayertheSL
DTTopology theTopo
DTLayerType theType


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.

$date : 13/01/2006 16:43:17 CET $

Revision
1.2
Author:
: Stefano Lacaprara - INFN Padova <stefano.lacaprara@pd.infn.it>

Definition at line 28 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 22 of file DTLayer.cc.

00026                                          :
00027   GeomDetUnit(*&plane), theId(id) , theTopo(topo), theType(type) , theSL(sl){
00028 }

DTLayer::~DTLayer (  )  [virtual]

Definition at line 31 of file DTLayer.cc.

00031                   {
00032 }


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

References DTSuperLayer::chamber(), and theSL.

Referenced by VisDTDigiTwig::addText(), VisDTDigiTwig::addWire(), DTTTrigCalibration::analyze(), VisDTDigi::analyze(), DTDigiSyncTOFCorr::digitizerOffset(), DTTTrigSyncTOFCorr::offset(), and VisDTDigiTwig::update().

00063                                         {
00064   return (theSL) ? theSL->chamber() : 0;
00065 }

std::vector< const GeomDet * > DTLayer::components (  )  const [virtual]

A Layer has no components.

Reimplemented from GeomDetUnit.

Definition at line 67 of file DTLayer.cc.

00067                                                      {
00068   return std::vector< const GeomDet*>();
00069 }

DetId DTLayer::geographicalId (  )  const [virtual]

Return the DetId of this SL.

Implements GeomDet.

Definition at line 47 of file DTLayer.cc.

References theId.

Referenced by DTGeometry::add().

00047                                     {
00048   return theId;
00049 }

DTLayerId DTLayer::id ( void   )  const

Return the DetId of this SL.

Definition at line 51 of file DTLayer.cc.

References theId.

Referenced by DTSuperLayer::add(), DTLinearDriftFromDBAlgo::compute(), DTParametrizedDriftAlgo::compute(), DTNoDriftAlgo::compute(), DTLinearDriftAlgo::compute(), and operator==().

00051                             {
00052   return theId;
00053 }

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

True if the id are the same.

Definition at line 55 of file DTLayer.cc.

References id().

00055                                                {
00056   return id()==l.id();
00057 }

const DTTopology & DTLayer::specificTopology (  )  const

Definition at line 43 of file DTLayer.cc.

References theTopo.

Referenced by VisDTDigiTwig::addDescription(), VisDTDigiTwig::addWire(), VisDTRecHitsTwig::addWire(), DTResolutionAnalysisTask::analyze(), VisDTDigi::analyze(), VisDTRecHit::analyze(), DTLinearDriftFromDBAlgo::compute(), DTParametrizedDriftAlgo::compute(), DTNoDriftAlgo::compute(), DTLinearDriftAlgo::compute(), DTCalibValidation::compute(), DTDigitizer::computeTime(), DTDigiSyncTOFCorr::digitizerOffset(), DTDigitizer::externalDelays(), DTSegmentUpdator::fitT0_seg(), DTTrigGeom::getGeom(), DTTMax::InfoLayer::InfoLayer(), DTTrigGeom::localPosition(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), DTLocalTriggerBaseTest::phiRange(), DTLocalTriggerTask::phiRange(), DTRecHitQuality::recHitDistFromWire(), GlobalRecHitsProducer::recHitDistFromWire(), GlobalRecHitsAnalyzer::recHitDistFromWire(), DTCalibValidation::recHitDistFromWire(), DTRecHitQuality::simHitDistFromFE(), DTRecHitQuality::simHitDistFromWire(), GlobalRecHitsProducer::simHitDistFromWire(), GlobalRecHitsAnalyzer::simHitDistFromWire(), DTTrigGeom::tubePosInCh(), VisDTRecHitsTwig::update(), and DTSegmentUpdator::updateHitsN().

00043                                                   {
00044   return theTopo;
00045 }

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

References theSL.

Referenced by DTTTrigSyncFromDB::offset().

00059                                               {
00060   return theSL;
00061 }

const Topology & DTLayer::topology (  )  const [virtual]

Implements GeomDetUnit.

Definition at line 35 of file DTLayer.cc.

References theTopo.

00035                                         {
00036   return theTopo;
00037 }

const GeomDetType & DTLayer::type (  )  const [virtual]

Implements GeomDetUnit.

Definition at line 39 of file DTLayer.cc.

References theType.

00039                                       {
00040   return theType;
00041 }


Member Data Documentation

DTLayerId DTLayer::theId [private]

Definition at line 70 of file DTLayer.h.

Referenced by geographicalId(), and id().

const DTSuperLayer* DTLayer::theSL [private]

Definition at line 74 of file DTLayer.h.

Referenced by chamber(), and superLayer().

DTTopology DTLayer::theTopo [private]

Definition at line 71 of file DTLayer.h.

Referenced by specificTopology(), and topology().

DTLayerType DTLayer::theType [private]

Definition at line 72 of file DTLayer.h.

Referenced by type().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:18:55 2009 for CMSSW by  doxygen 1.5.4