#include <DetHitAccess.h>
Public Types | |
enum | accessMode { standard, rphi, rphi_stereo } |
Public Member Functions | |
DetHitAccess () | |
DetHitAccess (const SiStripRecHit2DCollection *rphiRecHits, const SiStripRecHit2DCollection *stereoRecHits, const SiStripMatchedRecHit2DCollection *matchedRecHits, const SiPixelRecHitCollection *pixelRecHits) | |
std::vector< TrackingRecHit * > | getHitVector (const DetId *detid) |
void | setCollections (const SiStripRecHit2DCollection *rphiRecHits, const SiStripRecHit2DCollection *stereoRecHits, const SiStripMatchedRecHit2DCollection *matchedRecHits, const SiPixelRecHitCollection *pixelRecHits) |
void | setMode (accessMode input) |
void | use_rphiRecHits (bool input) |
void | use_stereoRecHits (bool input) |
~DetHitAccess () | |
Private Attributes | |
accessMode | accessMode_ |
const SiStripMatchedRecHit2DCollection * | matchedHits_ |
const SiPixelRecHitCollection * | pixelHits_ |
const SiStripRecHit2DCollection * | rphiHits_ |
const SiStripRecHit2DCollection * | stereoHits_ |
bool | use_rphiRecHits_ |
bool | use_stereoRecHits_ |
Definition at line 22 of file DetHitAccess.h.
Enumerator | |
---|---|
standard | |
rphi | |
rphi_stereo |
Definition at line 26 of file DetHitAccess.h.
DetHitAccess::DetHitAccess | ( | ) |
Definition at line 15 of file DetHitAccess.cc.
References accessMode_, standard, and use_rphiRecHits_.
DetHitAccess::~DetHitAccess | ( | ) |
Definition at line 23 of file DetHitAccess.cc.
DetHitAccess::DetHitAccess | ( | const SiStripRecHit2DCollection * | rphiRecHits, |
const SiStripRecHit2DCollection * | stereoRecHits, | ||
const SiStripMatchedRecHit2DCollection * | matchedRecHits, | ||
const SiPixelRecHitCollection * | pixelRecHits | ||
) |
Definition at line 26 of file DetHitAccess.cc.
References accessMode_, setCollections(), standard, use_rphiRecHits_, and use_stereoRecHits_.
std::vector< TrackingRecHit * > DetHitAccess::getHitVector | ( | const DetId * | detid | ) |
Definition at line 55 of file DetHitAccess.cc.
References accessMode_, edmNew::DetSet< T >::begin(), detSetOrEmpty(), edmNew::DetSet< T >::end(), StripSubdetector::glued(), matchedHits_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pixelHits_, rphi, rphi_stereo, rphiHits_, TrackingRecHit::some, stereoHits_, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, use_rphiRecHits_, and use_stereoRecHits_.
Referenced by RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerOneOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsOneInnerTwoOuter(), RoadSearchSeedFinderAlgorithm::calculateCircleSeedsFromRingsTwoInnerOneOuter(), and RoadSearchCloudMakerAlgorithm::FillRecHitsIntoCloudGeneral().
void DetHitAccess::setCollections | ( | const SiStripRecHit2DCollection * | rphiRecHits, |
const SiStripRecHit2DCollection * | stereoRecHits, | ||
const SiStripMatchedRecHit2DCollection * | matchedRecHits, | ||
const SiPixelRecHitCollection * | pixelRecHits | ||
) |
Definition at line 42 of file DetHitAccess.cc.
References matchedHits_, pixelHits_, rphiHits_, and stereoHits_.
Referenced by DetHitAccess(), RoadSearchSeedFinderAlgorithm::run(), and RoadSearchCloudMakerAlgorithm::run().
|
inline |
Definition at line 44 of file DetHitAccess.h.
References accessMode_, and LaserDQM_cfg::input.
Referenced by RoadSearchCloudMakerAlgorithm::RoadSearchCloudMakerAlgorithm(), RoadSearchSeedFinderAlgorithm::RoadSearchSeedFinderAlgorithm(), and RoadSearchCloudMakerAlgorithm::run().
|
inline |
Definition at line 45 of file DetHitAccess.h.
References LaserDQM_cfg::input, and use_rphiRecHits_.
Referenced by RoadSearchCloudMakerAlgorithm::RoadSearchCloudMakerAlgorithm(), and RoadSearchSeedFinderAlgorithm::RoadSearchSeedFinderAlgorithm().
|
inline |
Definition at line 46 of file DetHitAccess.h.
References LaserDQM_cfg::input, and use_stereoRecHits_.
Referenced by RoadSearchCloudMakerAlgorithm::RoadSearchCloudMakerAlgorithm(), and RoadSearchSeedFinderAlgorithm::RoadSearchSeedFinderAlgorithm().
|
private |
Definition at line 50 of file DetHitAccess.h.
Referenced by DetHitAccess(), getHitVector(), and setMode().
|
private |
Definition at line 57 of file DetHitAccess.h.
Referenced by getHitVector(), and setCollections().
|
private |
Definition at line 58 of file DetHitAccess.h.
Referenced by getHitVector(), and setCollections().
|
private |
Definition at line 55 of file DetHitAccess.h.
Referenced by getHitVector(), and setCollections().
|
private |
Definition at line 56 of file DetHitAccess.h.
Referenced by getHitVector(), and setCollections().
|
private |
Definition at line 52 of file DetHitAccess.h.
Referenced by DetHitAccess(), getHitVector(), and use_rphiRecHits().
|
private |
Definition at line 53 of file DetHitAccess.h.
Referenced by DetHitAccess(), getHitVector(), and use_stereoRecHits().