#include <DTSuperLayer.h>
Public Member Functions | |
void | add (DTLayer *l) |
Add layer to the SL which owns it. More... | |
const DTChamber * | chamber () const |
const GeomDet * | component (DetId id) const override |
Return the layer with a given id in this SL. More... | |
std::vector< const GeomDet * > | components () const override |
Return the layers in the SL. More... | |
DTSuperLayer (const DTSuperLayerId &id, ReferenceCountingPointer< BoundPlane > &plane, const DTChamber *ch=0) | |
DTSuperLayerId | id () const |
Return the DetId of this SL. More... | |
const DTLayer * | layer (const DTLayerId &id) const |
Return the layer corresponding to the given id. More... | |
const DTLayer * | layer (int ilay) const |
const std::vector< const DTLayer * > & | layers () const |
Return the layers in the SL. More... | |
bool | operator== (const DTSuperLayer &sl) const |
True if id are the same. More... | |
SubDetector | subDetector () const override |
Which subdetector. More... | |
~DTSuperLayer () override | |
Public Member Functions inherited from GeomDet | |
AlignmentPositionError const * | alignmentPositionError () const |
Return pointer to alignment errors. 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::PositionType & | position () const |
The position (origin of the R.F.) More... | |
const Surface::RotationType & | rotation () const |
The rotation defining the local R.F. More... | |
void | setGdetIndex (int i) |
void | setIndex (int i) |
const Plane & | specificSurface () const |
Same as surface(), kept for backward compatibility. More... | |
const Plane & | surface () const |
The nominal surface of the GeomDet. More... | |
virtual const SurfaceDeformation * | surfaceDeformation () 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 const Topology & | topology () const |
virtual const GeomDetType & | type () const |
virtual | ~GeomDet () |
Private Attributes | |
const DTChamber * | theCh |
DTSuperLayerId | theId |
std::vector< const DTLayer * > | theLayers |
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 | |
AlignmentPositionError * | theAlignmentPositionError = 0 |
Model of a superlayer in Muon Drift Tube chambers.
A superlayer is composed by 4 staggered DTLayer s.
Definition at line 25 of file DTSuperLayer.h.
DTSuperLayer::DTSuperLayer | ( | const DTSuperLayerId & | id, |
ReferenceCountingPointer< BoundPlane > & | plane, | ||
const DTChamber * | ch = 0 |
||
) |
Definition at line 21 of file DTSuperLayer.cc.
References GeomDet::setDetId().
|
override |
void DTSuperLayer::add | ( | DTLayer * | l | ) |
Add layer to the SL which owns it.
Definition at line 59 of file DTSuperLayer.cc.
References DTLayer::id(), checklumidiff::l, DTLayerId::layer(), and theLayers.
Referenced by DTGeometryBuilderFromDDD::buildLayer(), DTGeometryBuilderFromCondDB::buildLayer(), counter.Counter::register(), and subDetector().
const DTChamber * DTSuperLayer::chamber | ( | ) | const |
Return the chamber this SL belongs to (0 if any, eg if a SL is built on his own)
Definition at line 64 of file DTSuperLayer.cc.
References theCh.
Referenced by DTLayer::chamber(), geometryXMLparser.CSCAlignable::index(), DTSegmentCand::operator DTChamberRecSegment2D *(), and subDetector().
Return the layer with a given id in this SL.
Reimplemented from GeomDet.
Definition at line 50 of file DTSuperLayer.cc.
References layer().
Referenced by subDetector().
|
overridevirtual |
Return the layers in the SL.
Reimplemented from GeomDet.
Definition at line 45 of file DTSuperLayer.cc.
References theLayers.
Referenced by subDetector().
DTSuperLayerId DTSuperLayer::id | ( | void | ) | const |
Return the DetId of this SL.
Definition at line 36 of file DTSuperLayer.cc.
References theId.
Referenced by DTClusterer::buildClusters(), DTCombinatorialPatternReco::buildSegments(), DTCombinatorialExtendedPatternReco::buildSegments(), DTMeantimerPatternReco::buildSegments(), DTCombinatorialExtendedPatternReco::extendCandidates(), DTSegmentCand::operator DTSLRecSegment2D *(), operator==(), and DTClusterer::produce().
Return the layer corresponding to the given id.
Definition at line 68 of file DTSuperLayer.cc.
References theId.
Referenced by component(), DTTrigGeom::getGeom(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), DTTMax::InfoLayer::InfoLayer(), DTClusterer::initHits(), DTTrigGeom::localPosition(), DTSegmentCand::operator DTSLRecSegment2D *(), subDetector(), and DTTrigGeom::tubePosInCh().
const DTLayer * DTSuperLayer::layer | ( | int | ilay | ) | const |
Return the given layer. Layers are numbered 1-4.
Definition at line 73 of file DTSuperLayer.cc.
References theLayers.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
const std::vector< const DTLayer * > & DTSuperLayer::layers | ( | ) | const |
Return the layers in the SL.
Definition at line 55 of file DTSuperLayer.cc.
References theLayers.
Referenced by subDetector().
bool DTSuperLayer::operator== | ( | const DTSuperLayer & | sl | ) | const |
True if id are the same.
Definition at line 40 of file DTSuperLayer.cc.
References id().
Referenced by subDetector().
|
inlineoverridevirtual |
Which subdetector.
Reimplemented from GeomDet.
Definition at line 42 of file DTSuperLayer.h.
References add(), chamber(), component(), components(), GeomDetEnumerators::DT, checklumidiff::l, layer(), layers(), and operator==().
|
private |
Definition at line 75 of file DTSuperLayer.h.
Referenced by chamber().
|
private |
Definition at line 72 of file DTSuperLayer.h.
|
private |
Definition at line 74 of file DTSuperLayer.h.
Referenced by add(), components(), layer(), layers(), and ~DTSuperLayer().