#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=nullptr) | |
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 (const ReferenceCountingPointer< Plane > &plane) | |
GeomDet (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 | |
virtual bool | setAlignmentPositionError (const AlignmentPositionError &ape) |
void | setDetId (DetId id) |
Model of a superlayer in Muon Drift Tube chambers.
A superlayer is composed by 4 staggered DTLayer s.
Definition at line 24 of file DTSuperLayer.h.
DTSuperLayer::DTSuperLayer | ( | const DTSuperLayerId & | id, |
ReferenceCountingPointer< BoundPlane > & | plane, | ||
const DTChamber * | ch = nullptr |
||
) |
|
override |
Definition at line 27 of file DTSuperLayer.cc.
References theLayers.
void DTSuperLayer::add | ( | DTLayer * | l | ) |
Add layer to the SL which owns it.
Definition at line 47 of file DTSuperLayer.cc.
References cmsLHEtoEOSManager::l, and theLayers.
Referenced by DTGeometryBuilderFromDD4Hep::buildLayer(), DTGeometryBuilderFromDDD::buildLayer(), DTGeometryBuilderFromCondDB::buildLayer(), cms::DTGeometryBuilder::buildLayer(), and counter.Counter::register().
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 52 of file DTSuperLayer.cc.
References theCh.
Referenced by DTLayer::chamber(), and geometryXMLparser.CSCAlignable::index().
|
overridevirtual |
DTSuperLayerId DTSuperLayer::id | ( | void | ) | const |
Return the DetId of this SL.
Definition at line 34 of file DTSuperLayer.cc.
References theId.
Referenced by DTClusterer::buildClusters(), DTCombinatorialExtendedPatternReco::buildSegments(), DTCombinatorialPatternReco::buildSegments(), DTMeantimerPatternReco::buildSegments(), DTCombinatorialExtendedPatternReco::extendCandidates(), operator==(), and DTClusterer::produce().
Return the layer corresponding to the given id.
Definition at line 54 of file DTSuperLayer.cc.
References theId.
Referenced by HoughGrouping::associateHits(), component(), DTTrigGeom::getGeom(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), DTTMax::InfoLayer::InfoLayer(), DTClusterer::initHits(), DTTrigGeom::localPosition(), HoughGrouping::obtainGeometricalBorders(), and DTTrigGeom::tubePosInCh().
const DTLayer * DTSuperLayer::layer | ( | int | ilay | ) | const |
Return the given layer. Layers are numbered 1-4.
Definition at line 60 of file DTSuperLayer.cc.
References theLayers.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
const std::vector< const DTLayer * > & DTSuperLayer::layers | ( | ) | const |
bool DTSuperLayer::operator== | ( | const DTSuperLayer & | sl | ) | const |
|
inlineoverridevirtual |
Which subdetector.
Reimplemented from GeomDet.
Definition at line 37 of file DTSuperLayer.h.
References GeomDetEnumerators::DT.
|
private |
Definition at line 69 of file DTSuperLayer.h.
Referenced by chamber().
|
private |
Definition at line 66 of file DTSuperLayer.h.
|
private |
Definition at line 68 of file DTSuperLayer.h.
Referenced by add(), components(), layer(), layers(), and ~DTSuperLayer().