CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
DTLayer Class Reference

#include <DTLayer.h>

Inheritance diagram for DTLayer:
GeomDetUnit 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 GeomDetUnit
virtual const GeomDetcomponent (DetId) const
 Returns a component GeomDet given its DetId, if existing. More...
 
 GeomDetUnit (Plane *sp)
 
 GeomDetUnit (const ReferenceCountingPointer< Plane > &plane)
 
virtual SubDetector subDetector () const
 Which subdetector. More...
 
virtual const SurfaceDeformationsurfaceDeformation () const
 
virtual ~GeomDetUnit ()
 
- Public Member Functions inherited from GeomDet
AlignmentPositionErroralignmentPositionError () const
 Return pointer to alignment errors. More...
 
DetId geographicalId () const
 The label of this GeomDet. More...
 
 GeomDet (Plane *plane)
 
 GeomDet (const ReferenceCountingPointer< Plane > &plane)
 
int index () const
 
LocalError const & localAlignmentError () const
 Return local alligment error. 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 setIndex (int i)
 
const PlanespecificSurface () const
 Same as surface(), kept for backward compatibility. More...
 
const Planesurface () const
 The nominal surface of the GeomDet. More...
 
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
typedef
GeomDetEnumerators::SubDetector 
SubDetector
 
- Protected Member Functions inherited from GeomDet
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.

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

Revision:
1.3
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 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().

26  :
27  GeomDetUnit(*&plane), theId(id) , theTopo(topo), theType(type) , theSL(sl){
28  setDetId(id);
29 }
void setDetId(DetId id)
Definition: GeomDet.h:97
const DTSuperLayer * theSL
Definition: DTLayer.h:71
DTLayerType theType
Definition: DTLayer.h:69
GeomDetUnit(Plane *sp)
Definition: GeomDetUnit.cc:5
DTLayerId theId
Definition: DTLayer.h:67
DTTopology theTopo
Definition: DTLayer.h:68
DTLayer::~DTLayer ( )
virtual

Definition at line 32 of file DTLayer.cc.

32  {
33 }

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(), geometryXMLparser.CSCAlignable::index(), and DTTTrigSyncTOFCorr::offset().

60  {
61  return (theSL) ? theSL->chamber() : 0;
62 }
const DTSuperLayer * theSL
Definition: DTLayer.h:71
const DTChamber * chamber() const
Definition: DTSuperLayer.cc:66
std::vector< const GeomDet * > DTLayer::components ( ) const
virtual

A Layer has no components.

Reimplemented from GeomDetUnit.

Definition at line 64 of file DTLayer.cc.

64  {
65  return std::vector< const GeomDet*>();
66 }
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().

52  {
53  return id()==l.id();
54 }
DTLayerId id() const
Return the DetId of this SL.
Definition: DTLayer.cc:48
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().

56  {
57  return theSL;
58 }
const DTSuperLayer * theSL
Definition: DTLayer.h:71
const Topology & DTLayer::topology ( ) const
virtual

Implements GeomDetUnit.

Definition at line 36 of file DTLayer.cc.

References theTopo.

36  {
37  return theTopo;
38 }
DTTopology theTopo
Definition: DTLayer.h:68
const GeomDetType & DTLayer::type ( ) const
virtual

Implements GeomDetUnit.

Definition at line 40 of file DTLayer.cc.

References theType.

Referenced by cuy.ValElement::__init__().

40  {
41  return theType;
42 }
DTLayerType theType
Definition: DTLayer.h:69

Member Data Documentation

DTLayerId DTLayer::theId
private

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().

DTTopology DTLayer::theTopo
private

Definition at line 68 of file DTLayer.h.

Referenced by specificTopology(), and topology().

DTLayerType DTLayer::theType
private

Definition at line 69 of file DTLayer.h.

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