#include <DTChamber.h>
Public Member Functions | |
void | add (DTSuperLayer *sl) |
Add SL to the chamber which takes ownership. More... | |
const GeomDet * | component (DetId id) const override |
Return the sub-component (SL or layer) with a given id in this chamber. More... | |
std::vector< const GeomDet * > | components () const override |
Return the superlayers in the chamber. More... | |
DTChamber (const DTChamberId &id, const ReferenceCountingPointer< BoundPlane > &plane) | |
Constructor. More... | |
DTChamberId | id () const |
Return the DTChamberId of this chamber. More... | |
const DTLayer * | layer (const DTLayerId &id) const |
Return the layer corresponding to the given id. More... | |
bool | operator== (const DTChamber &ch) const |
equal if the id is the same More... | |
SubDetector | subDetector () const override |
Which subdetector. More... | |
const DTSuperLayer * | superLayer (const DTSuperLayerId &id) const |
Return the superlayer corresponding to the given id. More... | |
const DTSuperLayer * | superLayer (int isl) const |
const std::vector< const DTSuperLayer * > & | superLayers () const |
Return the superlayers in the chamber. More... | |
~DTChamber () override | |
Destructor. More... | |
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 | |
DTChamberId | theId |
std::vector< const DTSuperLayer * > | theSLs |
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 Muon Drift Tube chamber.
A chamber is a GeomDet; the associated reconstructed objects are 4D segments built in the chamber local reference frame. The chamber is composed by 2 or three DTSuperLayer, which in turn are composed by four DTLayer each.
Definition at line 24 of file DTChamber.h.
DTChamber::DTChamber | ( | const DTChamberId & | id, |
const ReferenceCountingPointer< BoundPlane > & | plane | ||
) |
|
override |
void DTChamber::add | ( | DTSuperLayer * | sl | ) |
Add SL to the chamber which takes ownership.
Definition at line 41 of file DTChamber.cc.
References theSLs.
Referenced by cms::DTGeometryBuilder::buildSuperLayer(), DTGeometryBuilderFromDDD::buildSuperLayer(), DTGeometryBuilderFromCondDB::buildSuperLayer(), counter.Counter::register(), and subDetector().
Return the sub-component (SL or layer) with a given id in this chamber.
Reimplemented from GeomDet.
Definition at line 50 of file DTChamber.cc.
References DTLayerId::layer(), layer(), and superLayer().
Referenced by subDetector().
|
overridevirtual |
Return the superlayers in the chamber.
Reimplemented from GeomDet.
Definition at line 45 of file DTChamber.cc.
References theSLs.
Referenced by subDetector().
DTChamberId DTChamber::id | ( | void | ) | const |
Return the DTChamberId of this chamber.
Definition at line 33 of file DTChamber.cc.
References theId.
Referenced by DTTrig::createTUs(), DTSegmentCand::operator DTChamberRecSegment2D *(), operator==(), DTCombinatorialPatternReco4D::reconstruct(), DTMeantimerPatternReco4D::reconstruct(), DTRefitAndCombineReco4D::reconstruct(), DTTrigGeom::sector(), DTCombinatorialPatternReco4D::setDTRecHit1DContainer(), DTMeantimerPatternReco4D::setDTRecHit1DContainer(), DTCombinatorialPatternReco4D::setDTRecSegment2DContainer(), DTMeantimerPatternReco4D::setDTRecSegment2DContainer(), DTRefitAndCombineReco4D::setDTRecSegment2DContainer(), DTTrigGeom::statId(), DTTrigGeom::station(), ValidateGeometry::validateDTChamberGeometry(), and DTTrigGeom::wheel().
Return the layer corresponding to the given id.
Definition at line 79 of file DTChamber.cc.
References superLayer().
Referenced by DTEfficiencyTask::analyze(), component(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), and subDetector().
bool DTChamber::operator== | ( | const DTChamber & | ch | ) | const |
equal if the id is the same
Definition at line 37 of file DTChamber.cc.
References id().
Referenced by subDetector().
|
inlineoverridevirtual |
Which subdetector.
Reimplemented from GeomDet.
Definition at line 37 of file DTChamber.h.
References add(), component(), components(), GeomDetEnumerators::DT, layer(), operator==(), superLayer(), and superLayers().
const DTSuperLayer * DTChamber::superLayer | ( | const DTSuperLayerId & | id | ) | const |
Return the superlayer corresponding to the given id.
Definition at line 65 of file DTChamber.cc.
References theId.
Referenced by DTVDriftCalibration::analyze(), DTResolutionAnalysisTask::analyze(), component(), DTTrigGeomUtils::DTTrigGeomUtils(), DTTrigGeom::getGeom(), layer(), DTTrigGeom::localPosition(), DTSegmentCand::operator DTChamberRecSegment2D *(), DTMeantimerPatternReco4D::reconstruct(), DTCombinatorialPatternReco4D::reconstruct(), DTRefitAndCombineReco4D::reconstruct(), subDetector(), and DTTrigGeom::tubePosInCh().
const DTSuperLayer * DTChamber::superLayer | ( | int | isl | ) | const |
Return the given superlayer. Superlayers are numbered 1 (phi), 2 (Z), 3 (phi)
Definition at line 71 of file DTChamber.cc.
References theSLs.
const std::vector< const DTSuperLayer * > & DTChamber::superLayers | ( | ) | const |
Return the superlayers in the chamber.
Definition at line 60 of file DTChamber.cc.
References theSLs.
Referenced by DTEfficiencyTask::analyze(), DTDigiTask::beginLuminosityBlock(), DTnoiseDBValidation::bookHisto(), DTNoiseTask::bookHistos(), MuonSimHitProducer::produce(), and subDetector().
|
private |
Definition at line 66 of file DTChamber.h.
Referenced by id(), and superLayer().
|
private |
Definition at line 69 of file DTChamber.h.
Referenced by add(), components(), superLayer(), superLayers(), and ~DTChamber().