#include <TrackerHitAssociator.h>
Public Types | |
typedef std::map< unsigned int, std::vector< PSimHit > > | simhit_map |
typedef simhit_map::iterator | simhit_map_iterator |
Public Attributes | |
simhit_map | SimHitMap |
std::vector< PSimHit > | thePixelHits |
std::vector< PSimHit > | theStripHits |
Private Types | |
typedef std::vector< std::string > | vstring |
Private Attributes | |
edm::Handle< CrossingFrame < PSimHit > > | cf_simhit |
std::vector< const CrossingFrame< PSimHit > * > | cf_simhitvec |
bool | doPixel_ |
bool | doStrip_ |
bool | doTrackAssoc_ |
const edm::Event & | myEvent_ |
edm::Handle< edm::DetSetVector < PixelDigiSimLink > > | pixeldigisimlink |
std::vector< PSimHit > | simhitassoc |
std::vector< int > | simhitCFPos |
std::vector< SimHitIdpr > | simtrackid |
edm::Handle< edm::DetSetVector < StripDigiSimLink > > | stripdigisimlink |
bool | StripHits |
vstring | trackerContainers |
MixCollection< PSimHit > | TrackerHits |
Definition at line 54 of file TrackerHitAssociator.h.
typedef std::map<unsigned int, std::vector<PSimHit> > TrackerHitAssociator::simhit_map |
Definition at line 98 of file TrackerHitAssociator.h.
typedef simhit_map::iterator TrackerHitAssociator::simhit_map_iterator |
Definition at line 99 of file TrackerHitAssociator.h.
|
private |
Definition at line 105 of file TrackerHitAssociator.h.
TrackerHitAssociator::TrackerHitAssociator | ( | const edm::Event & | e | ) |
Definition at line 26 of file TrackerHitAssociator.cc.
References MixCollection< T >::begin(), cf_simhit, cf_simhitvec, doPixel_, doStrip_, MixCollection< T >::end(), edm::Event::getByLabel(), i, pixeldigisimlink, edm::Handle< T >::product(), SimHitMap, stripdigisimlink, trackerContainers, and TrackerHits.
TrackerHitAssociator::TrackerHitAssociator | ( | const edm::Event & | e, |
const edm::ParameterSet & | conf | ||
) |
Definition at line 77 of file TrackerHitAssociator.cc.
References MixCollection< T >::begin(), cf_simhit, cf_simhitvec, doPixel_, doStrip_, doTrackAssoc_, MixCollection< T >::end(), edm::Event::getByLabel(), edm::ParameterSet::getParameter(), i, pixeldigisimlink, edm::Handle< T >::product(), SimHitMap, stripdigisimlink, trackerContainers, and TrackerHits.
|
inlinevirtual |
Definition at line 63 of file TrackerHitAssociator.h.
std::vector< SimHitIdpr > TrackerHitAssociator::associateGSMatchedRecHit | ( | const SiTrackerGSMatchedRecHit2D * | gsmrechit | ) |
Definition at line 679 of file TrackerHitAssociator.cc.
References SiTrackerGSMatchedRecHit2D::eeId(), SiTrackerGSMatchedRecHit2D::simtrackId(), simtrackid, and StripHits.
Referenced by associateHit(), and associateHitId().
std::vector< SimHitIdpr > TrackerHitAssociator::associateGSRecHit | ( | const SiTrackerGSRecHit2D * | gsrechit | ) |
Definition at line 641 of file TrackerHitAssociator.cc.
References SiTrackerGSRecHit2D::eeId(), SiTrackerGSRecHit2D::simtrackId(), simtrackid, and StripHits.
Referenced by associateHit(), and associateHitId().
std::vector< PSimHit > TrackerHitAssociator::associateHit | ( | const TrackingRecHit & | thit | ) |
Check if it's the gluedDet
Definition at line 120 of file TrackerHitAssociator.cc.
References associateGSMatchedRecHit(), associateGSRecHit(), associateMatchedRecHit(), associateMultiRecHit(), associatePixelRecHit(), associateProjectedRecHit(), associateSimpleRecHit(), associateSiStripRecHit1D(), begin, gather_cfg::cout, cond::rpcobgas::detid, end, PSimHit::eventId(), first, TrackingRecHit::geographicalId(), MixCollection< T >::getObject(), i, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::rawId(), query::result, edm::second(), simhitCFPos, SimHitMap, simtrackid, StripHits, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, TrackerHits, and PSimHit::trackId().
Referenced by CkfDebugger::analyseCompatibleMeasurements(), TestHits::analyze(), TestSmoothHits::analyze(), SiPixelRecHitsValid::analyze(), SiStripRecHitsValid::analyze(), TestTrackHits::analyze(), SiPixelErrorEstimation::analyze(), TestOutliers::analyze(), SiStripTrackingRecHitsValid::analyze(), SiPixelTrackingRecHitsValid::analyze(), SiPixelLorentzAngle::analyze(), CkfDebugger::associated(), associateMultiRecHit(), CkfDebugger::correctTrajectory(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), spr::matchedSimTrack(), CkfDebugger::nextCorrectHits(), and CkfDebugger::testSeed().
std::vector< SimHitIdpr > TrackerHitAssociator::associateHitId | ( | const TrackingRecHit & | thit | ) |
Definition at line 280 of file TrackerHitAssociator.cc.
Referenced by TestTrackHits::analyze(), TestOutliers::analyze(), associateHitId(), associateMultiRecHitId(), CkfDebugger::assocTrackId(), CkfDebugger::correctMeas(), CkfDebugger::correctTrajectory(), QuickTrackAssociatorByHits::getAllSimTrackIdentifiers(), TrackAssociatorByHits::getDoubleCount(), QuickTrackAssociatorByHits::getDoubleCount(), MuonAssociatorByHits::getMatchedIds(), and TrackAssociatorByHits::getMatchedIds().
void TrackerHitAssociator::associateHitId | ( | const TrackingRecHit & | thit, |
std::vector< SimHitIdpr > & | simhitid | ||
) |
Definition at line 287 of file TrackerHitAssociator.cc.
References associateGSMatchedRecHit(), associateGSRecHit(), associateHitId(), associateMatchedRecHit(), associateMultiRecHitId(), associatePixelRecHit(), associateProjectedRecHit(), associateSimpleRecHit(), associateSiStripRecHit1D(), cond::rpcobgas::detid, TrackingRecHit::geographicalId(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, simhitCFPos, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.
std::vector< SimHitIdpr > TrackerHitAssociator::associateMatchedRecHit | ( | const SiStripMatchedRecHit2D * | matchedrechit | ) |
Definition at line 525 of file TrackerHitAssociator.cc.
References associateSimpleRecHit(), spr::find(), SiStripMatchedRecHit2D::monoHit(), simtrackid, SiStripMatchedRecHit2D::stereoHit(), and StripHits.
Referenced by associateHit(), and associateHitId().
std::vector< PSimHit > TrackerHitAssociator::associateMultiRecHit | ( | const SiTrackerMultiRecHit * | multirechit | ) |
Definition at line 653 of file TrackerHitAssociator.cc.
References associateHit(), i, SiTrackerMultiRecHit::recHits(), findQualityFiles::size, SiTrackerMultiRecHit::weight(), and SiTrackerMultiRecHit::weights().
Referenced by associateHit().
std::vector< SimHitIdpr > TrackerHitAssociator::associateMultiRecHitId | ( | const SiTrackerMultiRecHit * | multirechit | ) |
Definition at line 668 of file TrackerHitAssociator.cc.
References associateHitId(), i, SiTrackerMultiRecHit::recHits(), findQualityFiles::size, SiTrackerMultiRecHit::weight(), and SiTrackerMultiRecHit::weights().
Referenced by associateHitId().
void TrackerHitAssociator::associatePixelRecHit | ( | const SiPixelRecHit * | pixelrechit, |
std::vector< SimHitIdpr > & | simhitid | ||
) |
Definition at line 580 of file TrackerHitAssociator.cc.
References PixelDigi::channelToPixel(), SiPixelRecHit::cluster(), edm::DetSet< T >::data, cond::rpcobgas::detid, spr::find(), TrackingRecHit::geographicalId(), edm::Ref< C, T, F >::isNull(), pixeldigisimlink, DetId::rawId(), and StripHits.
Referenced by associateHit(), and associateHitId().
std::vector< SimHitIdpr > TrackerHitAssociator::associateProjectedRecHit | ( | const ProjectedSiStripRecHit2D * | projectedrechit | ) |
Definition at line 564 of file TrackerHitAssociator.cc.
References associateSimpleRecHit(), ProjectedSiStripRecHit2D::originalHit(), and StripHits.
Referenced by associateHit(), and associateHitId().
void TrackerHitAssociator::associateSimpleRecHit | ( | const SiStripRecHit2D * | simplerechit, |
std::vector< SimHitIdpr > & | simhitid | ||
) |
Definition at line 367 of file TrackerHitAssociator.cc.
References associateSimpleRecHitCluster(), SiStripRecHit2D::cluster(), TrackerSingleRecHit::cluster_regional(), TrackingRecHit::geographicalId(), edm::Ref< C, T, F >::isNonnull(), and simtrackid.
Referenced by associateHit(), associateHitId(), associateMatchedRecHit(), and associateProjectedRecHit().
void TrackerHitAssociator::associateSimpleRecHitCluster | ( | const SiStripCluster * | clust, |
const uint32_t & | detID, | ||
std::vector< SimHitIdpr > & | theSimtrackid, | ||
std::vector< PSimHit > & | simhit | ||
) |
Definition at line 398 of file TrackerHitAssociator.cc.
References MixCollection< T >::getObject(), i, simhitCFPos, and TrackerHits.
Referenced by associateSimpleRecHit(), associateSimpleRecHitCluster(), associateSiStripRecHit1D(), and TrackClusterSplitter::splitCluster().
void TrackerHitAssociator::associateSimpleRecHitCluster | ( | const SiStripCluster * | clust, |
const uint32_t & | detID, | ||
std::vector< PSimHit > & | simhit | ||
) |
Definition at line 416 of file TrackerHitAssociator.cc.
References associateSimpleRecHitCluster(), MixCollection< T >::getObject(), i, simhitCFPos, simtrackid, and TrackerHits.
void TrackerHitAssociator::associateSimpleRecHitCluster | ( | const SiStripCluster * | clust, |
const uint32_t & | detID, | ||
std::vector< SimHitIdpr > & | simtrackid | ||
) |
Definition at line 433 of file TrackerHitAssociator.cc.
References SiStripCluster::amplitudes(), edm::DetSet< T >::data, spr::find(), first, SiStripCluster::firstStrip(), prof2calltree::last, simhitCFPos, stripdigisimlink, and StripHits.
void TrackerHitAssociator::associateSiStripRecHit1D | ( | const SiStripRecHit1D * | simplerechit, |
std::vector< SimHitIdpr > & | simhitid | ||
) |
Definition at line 384 of file TrackerHitAssociator.cc.
References associateSimpleRecHitCluster(), SiStripRecHit1D::cluster(), TrackerSingleRecHit::cluster_regional(), TrackingRecHit::geographicalId(), edm::Ref< C, T, F >::isNonnull(), and simtrackid.
Referenced by associateHit(), and associateHitId().
|
private |
Definition at line 109 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 110 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 123 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 123 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 123 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 104 of file TrackerHitAssociator.h.
|
private |
Definition at line 114 of file TrackerHitAssociator.h.
Referenced by associatePixelRecHit(), and TrackerHitAssociator().
|
private |
Definition at line 120 of file TrackerHitAssociator.h.
|
private |
Definition at line 119 of file TrackerHitAssociator.h.
Referenced by associateHit(), associateHitId(), and associateSimpleRecHitCluster().
simhit_map TrackerHitAssociator::SimHitMap |
Definition at line 100 of file TrackerHitAssociator.h.
Referenced by associateHit(), CkfDebugger::hasDelta(), CkfDebugger::printSimHits(), and TrackerHitAssociator().
|
private |
Definition at line 117 of file TrackerHitAssociator.h.
Referenced by associateGSMatchedRecHit(), associateGSRecHit(), associateHit(), associateMatchedRecHit(), associateSimpleRecHit(), associateSimpleRecHitCluster(), and associateSiStripRecHit1D().
|
private |
Definition at line 113 of file TrackerHitAssociator.h.
Referenced by associateSimpleRecHitCluster(), and TrackerHitAssociator().
|
private |
Definition at line 121 of file TrackerHitAssociator.h.
Referenced by associateGSMatchedRecHit(), associateGSRecHit(), associateHit(), associateMatchedRecHit(), associatePixelRecHit(), associateProjectedRecHit(), and associateSimpleRecHitCluster().
std::vector<PSimHit> TrackerHitAssociator::thePixelHits |
Definition at line 101 of file TrackerHitAssociator.h.
std::vector<PSimHit> TrackerHitAssociator::theStripHits |
Definition at line 97 of file TrackerHitAssociator.h.
|
private |
Definition at line 106 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 111 of file TrackerHitAssociator.h.
Referenced by associateHit(), associateSimpleRecHitCluster(), and TrackerHitAssociator().