#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 55 of file TrackerHitAssociator.h.
typedef std::map<unsigned int, std::vector<PSimHit> > TrackerHitAssociator::simhit_map |
Definition at line 94 of file TrackerHitAssociator.h.
typedef simhit_map::iterator TrackerHitAssociator::simhit_map_iterator |
Definition at line 95 of file TrackerHitAssociator.h.
|
private |
Definition at line 101 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 64 of file TrackerHitAssociator.h.
std::vector< SimHitIdpr > TrackerHitAssociator::associateGSMatchedRecHit | ( | const SiTrackerGSMatchedRecHit2D * | gsmrechit | ) |
Definition at line 672 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 634 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(), TrackAssociatorByHits::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 519 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 646 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 661 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 574 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 558 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(), SiStripRecHit2D::cluster_regional(), and edm::Ref< C, T, F >::isNonnull().
Referenced by associateHit(), associateHitId(), associateMatchedRecHit(), and associateProjectedRecHit().
void TrackerHitAssociator::associateSimpleRecHitCluster | ( | const SiStripCluster * | clust, |
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(), and associateSiStripRecHit1D().
void TrackerHitAssociator::associateSimpleRecHitCluster | ( | const SiStripCluster * | clust, |
std::vector< PSimHit > & | simhit | ||
) |
Definition at line 414 of file TrackerHitAssociator.cc.
References associateSimpleRecHitCluster(), MixCollection< T >::getObject(), i, simhitCFPos, simtrackid, and TrackerHits.
void TrackerHitAssociator::associateSimpleRecHitCluster | ( | const SiStripCluster * | clust, |
std::vector< SimHitIdpr > & | simtrackid | ||
) |
Definition at line 429 of file TrackerHitAssociator.cc.
References SiStripCluster::amplitudes(), edm::DetSet< T >::data, cond::rpcobgas::detid, spr::find(), first, SiStripCluster::firstStrip(), SiStripCluster::geographicalId(), prof2calltree::last, DetId::rawId(), 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(), SiStripRecHit1D::cluster_regional(), and edm::Ref< C, T, F >::isNonnull().
Referenced by associateHit(), and associateHitId().
|
private |
Definition at line 105 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 106 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 119 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 119 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 119 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 100 of file TrackerHitAssociator.h.
|
private |
Definition at line 110 of file TrackerHitAssociator.h.
Referenced by associatePixelRecHit(), and TrackerHitAssociator().
|
private |
Definition at line 116 of file TrackerHitAssociator.h.
|
private |
Definition at line 115 of file TrackerHitAssociator.h.
Referenced by associateHit(), associateHitId(), and associateSimpleRecHitCluster().
simhit_map TrackerHitAssociator::SimHitMap |
Definition at line 96 of file TrackerHitAssociator.h.
Referenced by associateHit(), CkfDebugger::hasDelta(), CkfDebugger::printSimHits(), and TrackerHitAssociator().
|
private |
Definition at line 113 of file TrackerHitAssociator.h.
Referenced by associateGSMatchedRecHit(), associateGSRecHit(), associateHit(), associateMatchedRecHit(), and associateSimpleRecHitCluster().
|
private |
Definition at line 109 of file TrackerHitAssociator.h.
Referenced by associateSimpleRecHitCluster(), and TrackerHitAssociator().
|
private |
Definition at line 117 of file TrackerHitAssociator.h.
Referenced by associateGSMatchedRecHit(), associateGSRecHit(), associateHit(), associateMatchedRecHit(), associatePixelRecHit(), associateProjectedRecHit(), and associateSimpleRecHitCluster().
std::vector<PSimHit> TrackerHitAssociator::thePixelHits |
Definition at line 97 of file TrackerHitAssociator.h.
std::vector<PSimHit> TrackerHitAssociator::theStripHits |
Definition at line 93 of file TrackerHitAssociator.h.
|
private |
Definition at line 102 of file TrackerHitAssociator.h.
Referenced by TrackerHitAssociator().
|
private |
Definition at line 107 of file TrackerHitAssociator.h.
Referenced by associateHit(), associateSimpleRecHitCluster(), and TrackerHitAssociator().