#include <DTSuperLayer.h>
Public Member Functions | |
void | add (DTLayer *l) |
Add layer to the SL which owns it. More... | |
const DTChamber * | chamber () const |
virtual const GeomDet * | component (DetId id) const |
Return the layer with a given id in this SL. More... | |
virtual std::vector< const GeomDet * > | components () const |
Return the layers in the SL. More... | |
DTSuperLayer (DTSuperLayerId id, ReferenceCountingPointer< BoundPlane > &plane, const DTChamber *ch=0) | |
DTSuperLayerId | id () const |
Return the DetId of this SL. More... | |
const DTLayer * | layer (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... | |
virtual SubDetector | subDetector () const |
Which subdetector. More... | |
virtual | ~DTSuperLayer () |
Public Member Functions inherited from GeomDet | |
AlignmentPositionError * | alignmentPositionError () 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::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 | 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... | |
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 | |
const DTChamber * | theCh |
DTSuperLayerId | theId |
std::vector< const DTLayer * > | theLayers |
Additional Inherited Members | |
Public Types inherited from GeomDet | |
typedef GeomDetEnumerators::SubDetector | SubDetector |
Protected Member Functions inherited from GeomDet | |
void | setDetId (DetId id) |
Model of a superlayer in Muon Drift Tube chambers.
A superlayer is composed by 4 staggered DTLayer s.
$date : 13/01/2006 11:47:03 CET $
Definition at line 27 of file DTSuperLayer.h.
DTSuperLayer::DTSuperLayer | ( | DTSuperLayerId | id, |
ReferenceCountingPointer< BoundPlane > & | plane, | ||
const DTChamber * | ch = 0 |
||
) |
Definition at line 23 of file DTSuperLayer.cc.
References GeomDet::setDetId().
|
virtual |
void DTSuperLayer::add | ( | DTLayer * | l | ) |
Add layer to the SL which owns it.
Definition at line 61 of file DTSuperLayer.cc.
References DTLayer::id(), prof2calltree::l, DTLayerId::layer(), and theLayers.
Referenced by DTGeometryBuilderFromDDD::buildLayer(), and DTGeometryBuilderFromCondDB::buildLayer().
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 66 of file DTSuperLayer.cc.
References theCh.
Referenced by DTLayer::chamber(), and geometryXMLparser.CSCAlignable::index().
Return the layer with a given id in this SL.
Reimplemented from GeomDet.
Definition at line 52 of file DTSuperLayer.cc.
References DTLayerId, and layer().
|
virtual |
Return the layers in the SL.
Implements GeomDet.
Definition at line 47 of file DTSuperLayer.cc.
References theLayers.
DTSuperLayerId DTSuperLayer::id | ( | void | ) | const |
Return the DetId of this SL.
Definition at line 38 of file DTSuperLayer.cc.
References theId.
Referenced by DTClusterer::buildClusters(), DTCombinatorialPatternReco::buildSegments(), DTMeantimerPatternReco::buildSegments(), DTCombinatorialExtendedPatternReco::buildSegments(), DTCombinatorialExtendedPatternReco::extendCandidates(), operator==(), and DTClusterer::produce().
Return the layer corresponding to the given id.
Definition at line 70 of file DTSuperLayer.cc.
References theId.
Referenced by component(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), DTTMax::InfoLayer::InfoLayer(), DTClusterer::initHits(), DTTrigGeom::localPosition(), and DTTrigGeom::tubePosInCh().
const DTLayer * DTSuperLayer::layer | ( | int | ilay | ) | const |
Return the given layer. Layers are numbered 1-4.
Definition at line 75 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 |
True if id are the same.
Definition at line 42 of file DTSuperLayer.cc.
References id().
|
inlinevirtual |
Which subdetector.
Implements GeomDet.
Definition at line 44 of file DTSuperLayer.h.
References GeomDetEnumerators::DT.
|
private |
Definition at line 77 of file DTSuperLayer.h.
Referenced by chamber().
|
private |
Definition at line 74 of file DTSuperLayer.h.
|
private |
Definition at line 76 of file DTSuperLayer.h.
Referenced by add(), components(), layer(), layers(), and ~DTSuperLayer().