#include <GluedGeomDet.h>
Public Member Functions | |
virtual std::vector< const GeomDet * > | components () const |
Returns direct components, if any. | |
GluedGeomDet (BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet) | |
const GeomDetUnit * | monoDet () const |
const GeomDetUnit * | stereoDet () const |
virtual SubDetector | subDetector () const |
Which subdetector. | |
virtual | ~GluedGeomDet () |
Private Attributes | |
std::vector< const GeomDet * > | child |
const GeomDetUnit * | theMonoDet |
const GeomDetUnit * | theStereoDet |
Definition at line 8 of file GluedGeomDet.h.
GluedGeomDet::GluedGeomDet | ( | BoundPlane * | sp, |
const GeomDetUnit * | monoDet, | ||
const GeomDetUnit * | stereoDet | ||
) |
Definition at line 9 of file GluedGeomDet.cc.
References GeomDet::geographicalId(), DetId::rawId(), GeomDet::setDetId(), theMonoDet, and theStereoDet.
: GeomDet(sp),theMonoDet(monoDet),theStereoDet(stereoDet){ child.push_back(theMonoDet); child.push_back(theStereoDet); StripSubdetector subdet(theMonoDet->geographicalId().rawId()); setDetId(subdet.glued()); }
GluedGeomDet::~GluedGeomDet | ( | ) | [virtual] |
Definition at line 17 of file GluedGeomDet.cc.
{}
std::vector< const GeomDet * > GluedGeomDet::components | ( | ) | const [virtual] |
Returns direct components, if any.
Implements GeomDet.
Definition at line 20 of file GluedGeomDet.cc.
References child.
{ return child; }
const GeomDetUnit* GluedGeomDet::monoDet | ( | ) | const [inline] |
Definition at line 20 of file GluedGeomDet.h.
References theMonoDet.
Referenced by MeasurementTracker::addGluedDet(), AlignableSiStripDet::AlignableSiStripDet(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), TSiStripMatchedRecHit::clone(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), RoadSearchCloudMakerAlgorithm::CorrectMatchedHit(), SiStripFineDelayTLA::findtrackangle(), TkGeomDetCompatibilityChecker::isCompatible(), SiStripRecHitMatcher::match(), GSRecHitMatcher::match(), GSRecHitMatcher::projectOnly(), TrackInfoProducerAlgorithm::run(), RoadSearchHelixMakerAlgorithm::run(), SiStripMonitorTrack::trackStudy(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), and TSiStripMatchedRecHit::transientHits().
{ return theMonoDet;}
const GeomDetUnit* GluedGeomDet::stereoDet | ( | ) | const [inline] |
Definition at line 21 of file GluedGeomDet.h.
References theStereoDet.
Referenced by MeasurementTracker::addGluedDet(), AlignableSiStripDet::AlignableSiStripDet(), SiStripRecHitsValid::analyze(), SiStripLAProfileBooker::analyze(), SiStripTrackingRecHitsValid::analyze(), TSiStripMatchedRecHit::clone(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), GlobalRecHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), SiStripFineDelayTLA::findtrackangle(), TkGeomDetCompatibilityChecker::isCompatible(), SiStripRecHitMatcher::match(), GSRecHitMatcher::match(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), GSRecHitMatcher::projectOnly(), TrackInfoProducerAlgorithm::run(), SiStripMonitorTrack::trackStudy(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), and TSiStripMatchedRecHit::transientHits().
{ return theStereoDet;}
virtual SubDetector GluedGeomDet::subDetector | ( | ) | const [inline, virtual] |
Which subdetector.
Implements GeomDet.
Definition at line 18 of file GluedGeomDet.h.
References GeomDetUnit::subDetector(), and theMonoDet.
{return theMonoDet->subDetector();}
std::vector<const GeomDet*> GluedGeomDet::child [private] |
Definition at line 26 of file GluedGeomDet.h.
Referenced by components().
const GeomDetUnit* GluedGeomDet::theMonoDet [private] |
Definition at line 24 of file GluedGeomDet.h.
Referenced by GluedGeomDet(), monoDet(), and subDetector().
const GeomDetUnit* GluedGeomDet::theStereoDet [private] |
Definition at line 25 of file GluedGeomDet.h.
Referenced by GluedGeomDet(), and stereoDet().