CMS 3D CMS Logo

Public Member Functions | Private Attributes

DTLayer Class Reference

#include <DTLayer.h>

Inheritance diagram for DTLayer:
GeomDetUnit GeomDet

List of all members.

Public Member Functions

const DTChamberchamber () const
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)
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
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.3
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.

References GeomDet::setDetId().

                                         :
  GeomDetUnit(*&plane), theId(id) , theTopo(topo), theType(type) , theSL(sl){
      setDetId(id);
}
DTLayer::~DTLayer ( ) [virtual]

Definition at line 32 of file DTLayer.cc.

                  {
}

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

References DTSuperLayer::chamber(), and theSL.

Referenced by DTTTrigCalibration::analyze(), DTDigiSyncTOFCorr::digitizerOffset(), and DTTTrigSyncTOFCorr::offset().

                                        {
  return (theSL) ? theSL->chamber() : 0;
}
std::vector< const GeomDet * > DTLayer::components ( ) const [virtual]

A Layer has no components.

Reimplemented from GeomDetUnit.

Definition at line 64 of file DTLayer.cc.

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

References id().

                                               {
  return id()==l.id();
}
const DTTopology & DTLayer::specificTopology ( ) const
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 56 of file DTLayer.cc.

References theSL.

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

                                              {
  return theSL;
}
const Topology & DTLayer::topology ( ) const [virtual]

Implements GeomDetUnit.

Definition at line 36 of file DTLayer.cc.

References theTopo.

                                        {
  return theTopo;
}
const GeomDetType & DTLayer::type ( ) const [virtual]

Implements GeomDetUnit.

Definition at line 40 of file DTLayer.cc.

References theType.

                                      {
  return theType;
}

Member Data Documentation

Definition at line 67 of file DTLayer.h.

Referenced by id().

const DTSuperLayer* DTLayer::theSL [private]

Definition at line 71 of file DTLayer.h.

Referenced by chamber(), and superLayer().

Definition at line 68 of file DTLayer.h.

Referenced by specificTopology(), and topology().

Definition at line 69 of file DTLayer.h.

Referenced by type().